Studio Installation Via Cmd Fails When Initializing UiPath Extensions

Installation of Studio via command prompt fails with CustomError 4010: An error occurred when initializing UiPath ExtensionsCustom action ERROR 25001: Installation failed with error 4010 (An error occurred when initializing UiPath Extensions).

Fresh install of Studio via command prompt that uses extension parameters and the combination of the /passive and /q parameters can fail with the error:

CustomError 4010: An error occurred when initializing UiPath Extensions

Custom action ERROR 25001: Installation failed with error 4010 (An error occurred when initializing UiPath Extensions)

Null extensions status.

Example of a command that leads to failure:

UiPathStudio.msi PACKAGES_FOLDER=C:\ProgramData\UiPath\Packages ADDLOCAL=CitrixClient,DesktopFeature,RegisterService,Studio,Robot,Packages,StartupLauncher,JavaBridge,EdgeExtension,JavaScriptAddOn,WindowsRdpExtension NUGET_OPTIONS=DisableOnlineFeeds ORCHESTRATOR_URL={yourOrchestratorURL} CLIENT_ID={someClientID} CLIENT_SECRET={someClientSecret} TELEMETRY_ENABLED=0 /passive /q


Root Cause: The command has a combination of /passive and /q parameters.

Based on Studio Command Line - Parameters it is specified clearly that "Using the /passive option of msiexec.exe to run an Unattended installation is not supported."


Resolution: Remove the "/passive" parameter from the command and leave just the "/q".