With previous versions, I could run a .bat file pointing to the path of the Main.xaml file. However, starting from the new 2025 version, it seems that this is not possible anymore. Although I can publish a .nupkg file, running it for a while still causes program errors.
Note: When I run it in Studio, everything works fine without any issues.
I don’t understand why RPA documentation is so important. So how should I create a project?
I tried running the command:
…\UiRobot.exe execute --file “D:\01. UiRobot\Project\project.json”
However, I still encounter the same error. Meanwhile, another project on the same machine runs fine but with an older version of RPA:
…\AppData\Local\Programs\UiPath\Studio\UiRobot.exe -file “D:\01. UiRobot\MyProject\Main.xaml”
Currently, I am using UiPath Studio 2025.0.157 with an Enterprise license.
Do you know how to run it from a .bat file?
The goal is to run it using Task Scheduler, like the old projects that are currently running.
If I copy the .nupkg file from the community machine to the Enterprise read-only machine, it runs, but the email processing part encounters an error (unable to connect to email).
I think the reason is that it requires a connection to UiPath Assistant, and the enterprise read-only account cannot publish. I tried the publish command in cmd, but it still didn’t work well.
(link: Studio - Publishing Projects from the Command Line)