Cannot deploy UiPath Studio

Application cannot be automated for deployment as MSI fails to install as SYSTEM user (NT AUTHORITY\SYSTEM)

File used for installation is https://download.uipath.com/UiPathStudio.msi

No issues when installing as a regular admin user, but it makes deployment a pain not being able to install it as system user.

collected MSI logs on where it fails (see below)

Exception: System.AggregateException: One or more errors occurred. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: path1
   at System.IO.Path.Combine(String path1, String path2)
   at UiPath.Studio.Setup.Domain.Configuration.Extensions.SetupExtensionsIntegration.get_UiPathCommonDirectory()
   at UiPath.DriverExtensions.SetupExtensionsLauncher.get_SetupExtensionsPath()
   at UiPath.DriverExtensions.SetupExtensionsLauncher.<GetInstallationStatusAsync>d__13.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at UiPath.DriverExtensions.SetupExtensionsLauncher.<>c__DisplayClass14_0.<<GetInstallationStatus>b__0>d.MoveNext()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at System.Threading.Tasks.Task`1.get_Result()
   at UiPath.DriverExtensions.SetupExtensionsLauncher.GetInstallationStatus(InstallationScope installationScope)
---> (Inner Exception #0) System.ArgumentNullException: Value cannot be null.
Parameter name: path1
   at System.IO.Path.Combine(String path1, String path2)
   at UiPath.Studio.Setup.Domain.Configuration.Extensions.SetupExtensionsIntegration.get_UiPathCommonDirectory()
   at UiPath.DriverExtensions.SetupExtensionsLauncher.get_SetupExtensionsPath()
   at UiPath.DriverExtensions.SetupExtensionsLauncher.<GetInstallationStatusAsync>d__13.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at UiPath.DriverExtensions.SetupExtensionsLauncher.<>c__DisplayClass14_0.<<GetInstallationStatus>b__0>d.MoveNext()<---

System.Exception: Extensions status cannot be read.
   at UiPath.Studio.Setup.Domain.Configuration.Extensions.SetupExtensionsWrapper.GetExtensionsStatus(String installerTempFolder, Boolean isPerUserInstallation, Boolean configureSilent)
   at UiPath.Studio.Setup.InstallationTasks.SetProperties.SetPropertiesTaskBase.SetSetupExtensionsArguments(SetPropertiesTaskBaseModel model, Boolean isSilentInstall)
   at UiPath.Studio.Setup.InstallationTasks.SetProperties.SetPropertiesInstallTask.ExecuteTask()
   at UiPath.Studio.Setup.CustomActions.CustomActions.Immediate.SetPropertiesCA.<>c.<SetExecutionProperties>b__0_0(SetPropertiesCA a)
   at UiPath.Setup.Shared.Wix.BaseCustomAction.Run(Session wixSession, Func`2 execute)
CustomAction SetExecutionProperties returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 9:59:01: SetExecutionProperties. Return value 3.
Action ended 9:59:01: INSTALL. Return value 3.

refer this link, may useful

Hi @Kain_Centeno_dd

Could you maybe share some more details about your automated deployment routine? (to give some more context to the issue)