You can install and update Studio and the Robot, or change an existing installation by running the UiPathStudio.msi
installer from the command line.
See the following sections for descriptions of the available parameters and a few usage examples.
Notes:
- Administrator rights are required to execute these commands.
- Changing an existing installation by running the installer from the command line in silent mode is not supported. However, you can run the installer in silent mode to update from an older version.
- Using the
/passive
option of msiexec.exe to run an unattended installation is not supported.
Command Line Arguments Descriptions
The following table lists all available command line parameters.
All parameters can be used for clean installations, but only the following are supported when updating from an older version or changing an existing installation:
- Enabling / disabling features using
ADDLOCAL
. Please note that the Robot cannot be disabled. SERVICE_URL
- available when switching the Robot from service mode to user mode by not including theRegisterService
argument.NUGET_OPTIONS
,ENFORCE_SIGNED_EXECUTION
,DISABLE_SECURE_XAML
, andTELEMETRY_ENABLED
- not available for changing existing installations.
Command | Description |
---|---|
| Helps you install the specified UiPath features silently, without displaying the user interface. |
| Generates an installer log file at the specified path. Starting with v2018.4.2, this file can also include licensing information if you license Studio or Robot at install time. You can send the file further to our support team if, for any reason, you encounter difficulties during the installation process. |
| Enables you to select what features to install. If It supports the following options:
|
| Enables you to install Studio and Robot only for the current user. To install per user, add The following options are not available in per-user installations: RegisterService, CitrixExtension, VMwareExtension, SapPlugin, PACKAGES_FOLDER, CODE. |
| Hostname or IP address for your SAP Solution Manager instance. Required for clean installs if the For example |
| Enables you to install Studio and Robot in a custom location. |
| This parameter is recommended if you are working in an offline environment. If set to Please note that the URL feeds are not deleted from the configuration files, just ignored. It can be used for both installations and upgrades. |
| Enables you to change the download location of your workflows and their dependencies for Studio and/or Robot. This folder can be user specific or accessible by all users from a machine. This parameter can be used either if the Robot is installed as a service or in user mode. For the Service Mode Robot, packages are concurrently installed on all users. Please note that, for multiple User Mode Robots installed on a machine, the packages folder cannot be the same (such as If you do not provide this parameter the default folder is For installations on Windows Server machines (that enable concurrent execution - HD Robots), you must provide paths that are specific to each user. Using the same shared folder for all users in HD environments is not supported. It is possible to use environment variables such as In batch scripts - use In PowerShell console or scripts - no escaping is needed. If your user is an Active Directory domain account, it is recommended that you specify the domain name in the folder structure too, such as For information on how to change the download folder for packages after installation, see Managing Activities Packages in the Studio Guide. |
| Enables you to add custom NuGet activities feeds for Studio and/or Robot. This command only adds or updates the existing list of feeds. It must be populated with key-value pairs of type string. Valid locations include online feeds, folder paths, and shared network drives. Make sure that the provided feeds are reachable by all users from a given machine. Separate feeds with semicolons (;). Example: |
| Optional. Enables you to enforce your Robots to execute only signed packages. It can be used at clean installs or updates of your instances. If this parameter is not specified at deploy-time, package signing is not enabled. It supports the following options: For information on how to enforce signed execution after installation, see Signing Packages in the Studio Guide. |
| Licenses your Studio instance. |
| Automatically connects the Robot to Orchestrator on-premises using the connection string while also installing it. Please note that the following are required: |
| Automatically installs the Chrome Extension via policy. It supports the following options: |
| Allows you to disable security of It supports the following options: Note: This parameter can only be used during a clean install or an update. |
| Allows you to define the URL of the Orchestrator instance users will connect to using Interactive Sign-In. When running the installer to update from an older version or change your existing installation, this parameter is supported if you are switching the Robot from service mode to user mode (the |
| In a clean installation, you can specify the main Orchestrator URL, used for retrieving auto-update information (e.g. |
| Allows you to disable the usage data collection and can be done at install time for Studio and Robot. Note: This parameter can only be used during a clean install or an update. Telemetry is enabled by default for Studio and Robot. To disable it, use the following value for the parameter whenever you perform a clean installation or an update: Note: This disables telemetry for both Studio and Robot. If you want to enable telemetry, do not include the parameter, or include it with the following value: For more information about usage data collection and how to change telemetry settings, see the Opting Out of Telemetry document. |
| Allows you to enable the Picture in Picture functionality of the machine during the UiPath command-line installation. To enable it, use the following parameter: Example:
|
| Enables you to select the display language of the installer. If not specified, the language settings in Windows determine the installer language. To specify the language, enter the parameter Chinese (Simplified): |
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 and Robot as a Windows service -
UiPathStudio.msi ADDLOCAL=DesktopFeature,Studio,Robot,RegisterService
- Install Studio and Robot in user mode only for the current user -
UiPathStudio.msi MSIINSTALLPERUSER=1 ADDLOCAL=DesktopFeature,Studio,Robot
- Silently install the entire Desktop suite -
UiPathStudio.msi ADDLOCAL=DesktopFeature,Studio,Robot,RegisterService,StartupLauncher,JavaBridge /Q
- Silently install the entire Desktop suite and the Chrome Extension via policy -
UiPathStudio.msi ADDLOCAL=DesktopFeature,Studio,Robot,RegisterService,ChromeExtension CHROME_INSTALL_TYPE=STORE /Q
- Silently install Studio and Robot as a Windows service, all in the
D:\UiPath
folder -UiPathStudio.msi ADDLOCAL=DesktopFeature,Studio,Robot,RegisterService 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://demo.uipath.com/api/robotsservice/GetConnectionData?tenantId=1 /Q
- Silently install Studio, the Robot as a Windows service, and add two custom activity feeds -
UiPathStudio.msi ADDLOCAL=DesktopFeature,Studio,Robot,RegisterService CUSTOM_NUGET_FEEDS="Feed Name1, https://my.custom.nuget.feed; FeedName2, D:\RPA\Activities\Packages\" /Q
- Silently install and license Studio and install Robot as a Windows service -
UiPathStudio.msi ADDLOCAL=DesktopFeature,Studio,Robot,RegisterService CODE=1234567890 /Q
- Install Robot as a Windows service, and disable the official online feeds -
UiPathStudio.msi ADDLOCAL=DesktopFeature,Robot,RegisterService NUGET_OPTIONS=DisableOnlineFeeds
Updated 20 days ago