UiPath Studio Guide

Command Line Parameters

Command Line Arguments Descriptions

It is possible to install or update Studio or Robot using the command line, provided you have the UiPath Studio Windows installer (UiPathStudio.msi). The table below lists all the available parameters you can use, paired with some examples.

For the command line arguments that can be used with Orchestrator, please click here.

Important!

Changes to your existing instance of the UiPath Platform cannot be made from the Command Prompt, in silent mode. However, changes to what is installed when performing an update are fully supported.

Setup command line arguments do not work on the UiPathPlatformInstaller.exe.

Command
Description

/q

Helps you install the specified UiPath features silently, without displaying the user interface.

ADDLOCAL

Enables you to select what features you want to install. It supports the following options:

  • DesktopFeature - indicates that you want to install Robot and Studio features.
  • Studio - Installs Studio. It cannot be used without DesktopFeature.
  • Robot - Installs the Robot in user mode. Add the RegisterService parameter if you want to register the Robot as a service. It cannot be used without DesktopFeature.
  • RegisterService - Registers the Robot as a Windows service. Can only be used with the Robot and the DesktopFeature arguments.
  • Packages - Installs the activities packages. It cannot be used without the DesktopFeature and Robot arguments.
  • StartupLauncher - Runs the Robot at Windows startup. It cannot be used without the DesktopFeatureand Robot arguments.
  • JavaBridge - Install the UiPath Java Bridge for a better integration and automation in regards to Java applications. Please note that installing the Java Bridge may cause the installation to last longer than usual. It cannot be used without the DesktopFeature and Robot arguments.

APPLICATIONFOLDER

Enables you to install Studio and Robot in a custom location.

CODE

Licenses your Studio instance.

CONNECTIONSTRING

Automatically connects the Robot to Orchestrator while also installing it.

Examples

These examples have been written considering that you are already in the directory in which the UiPathStudio.msi installer is located. You can do this with the following command, for example: cd D:\UiPathInstaller.

  • Install Studio, a Robot as a Windows service and the activities packages - UiPathStudio.msi ADDLOCAL=DesktopFeature,Studio,Robot,RegisterService,Packages
  • Install Studio and a Robot in a user mode - UiPathStudio.msi ADDLOCAL=DesktopFeature,Studio,Robot
  • Silently install the entire Desktop suite - UiPathStudio.msi ADDLOCAL=DesktopFeature,Studio,Robot,RegisterService,Packages,StartupLauncher,JavaBridge /Q
  • Silently install Studio, the Robot as a Windows service and the activities packages, all in the D:\UiPath folder - UiPathStudio.msi ADDLOCAL=DesktopFeature,Studio,Robot,RegisterService,Packages APPLICATIONFOLDER=D:\UiPath /Q
  • Silently install the Robot as a Windows service and connect it to Orchestrator -
    UiPathStudio.msi ADDLOCAL=DesktopFeature,Robot,RegisterService CONNECTIONSTRING=https://platform.uipath.com/api/robotsservice/GetConnectionData?tenantId=1 /Q
  • Silently install and license Studio, a Robot registered as a Windows service and the local activity feed - UiPathStudio.msi ADDLOCAL=DesktopFeature,Studio,Robot,RegisterService,Packages CODE=1234567890 /Q