UiPath Robot: Start/Run .nupkg via comand line

robot
cmd_arguments

#1

I do not want to use Orchestrator. I want to use UiPathRobotI am trying to start/run published package .nupkg file
via command line I am able to run xaml file but receive error when I pass path of NUPKG file (as explained https://www.uipath.com/kb-articles/start-process-from-command-line)
OR
via rest command: (as explained https://www.uipath.com/kb-articles/uipath-robot-api)
I am able to run xaml file but receive error when I pass path of NUPKG file

Error: for example when I run command
"C:\Program Files (x86)\UiPath Platform\UiRobot.exe" /file "C:\ProgramData\UiPath\Packages\Samples.1.0.6634.39428.nupkg"
I get following error:
image

on the same time when I try to run xaml file It run successfully. for example
"C:\Program Files (x86)\UiPath Platform\UiRobot.exe" /file “D:\Samples.1.0.6634.39428.xaml”

Can anyone explain how to run nupkg file via command line or Robot Service API?


#2

Hello @adil.khurshed,

Please , go through these links:

Run process form command line:

Run proccess via rest command:


Regards,
Susana


#3

Thanks @Susana for your reply.
First of all I do not want to use Orchestrator. I wan to use Robot API.
XAML is working for me with Command line as well as Robot API.

Issue is with running NUPKG files, please see the issue detail and screenshot and suggest how to run NUPKG files using Robot Service NOT Orchestrator. Thanks in advance.


#4

Hello @adil.khurshed,

if you do not want to use Orchestrator then you can not use rest command:

image

For running an automation project firstly you need to decompress it

Take a look,

image

Regards,
Susana