I’m not sure I’m following what you’re asking, error is vague. Are you trying to install the Robot, or are you trying to publish a project using command line?
But, in any case, a robot has to be installed onto the machine you’re trying publish (not from the Studio IDE) a project from, as it calls “uirobot.exe”.
If installing a robot using the MSI file, you’ll need to call from “msiexec.exe” from your system32 folder (use
/l*vx C:\Temp\robotInstallLog.txt to create a log file for the installation). Example as seen below via PowerShell:
.\msiexec.exe /i "C:\Temp\UIPathStudio.msi" ADDLOCAL=DesktopFeature,Robot,RegisterService,StartupLauncher,ChromeExtension APPLICATIONFOLDER="[desired folder path]\UiPath\Studio
" /l*vx C:\Temp\robotInstallLog.txt /Q
Use the following for building your project (in PowerShell):
.\UiRobot.exe -pack "[Project Path]\project.json" -o "[Output Path in Orchestrator or Artifact Repo]"