How to run attended Bot without Orchestrator?

Hi, i made an example of what you can do. How to publish the package. And how to run it on the robot machine.

Example:
Method 1: from the robot tray

  1. create a project in uipath studio
  2. publish the project to a directory of choice
  3. copy the .nupkg package to the robot machine in the default package directory
    ( in my case thats in C:\ProgramData\UiPath\Packages\ ). please check your path
  4. after this you should see the project in your robot (tray). You might have to update the package.
  5. when hovering over the package there will be a play button. press it to start the processs
  • Notes: when updating the process (step1 to 3) you might have to update the package. You dont have to worry about version numbers though. The robot will take care of that for you.

Method 2: command line .nupkg package
run the package from the command line. You could also create a .bat file for it which you can start from your desktop
in my case im running 2018.4.2. You have to find the directory where the Uirobot.exe is located

command prompt
cd C:\Users\jvanmarion\AppData\Local\UiPath\app-18.4.2
UiRobot.exe -file "C:\ProgramData\UiPath\Packages\SQLConnect.1.0.6949.41289.nupkg"

  • downside. Everytime you update your process in studio and publish it, and copy it to the robot machine, make sure you run the correct version of the package in your bat file or command

method 3: commandline xaml file
i wouldn;t use this one, because a user can look into the xaml file, but it works.

  1. save the project in uipath studio.
  2. copy the xaml file to a location of choice
  3. copy the xaml file to the robot machine. You don’t have to actually paste the xaml file in the package directory. You can choose the location yourself.
  4. run the project from commandline (the same way as the nupkg package).

command prompt
cd C:\Users\jvanmarion\AppData\Local\UiPath\app-18.4.2
UiRobot.exe -file "D:\SQLconnect\Main.xml"

Recap:
i would go for the nupkg package, because in that way you know exactly which version is running on the robot

4 Likes