Error trying to install UiPath Studio 21.10.5

Hello trying to install (update from 21.10.3) in a couple of windows server, return error on ins

These are the lines that seems to be more relevant due to the word “Error” apareances.

MSI (s) (6C:9C) [15:45:12:541]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI49C2.tmp, Entrypoint: WixCloseApplications
WixCloseApplications:  Entering WixCloseApplications in C:\Windows\Installer\MSI49C2.tmp, version 3.11.1701.0
MSI (s) (6C!A0) [15:45:12:552]: Transforming table WixCloseApplication.

WixCloseApplications:  Checking App: UiRobot.exe 
WixCloseApplications:  Checking App: UiPath.Assistant.exe 
WixCloseApplications:  Checking App: UiPath.Executor.exe 
WixCloseApplications:  Checking App: UiPath.Service.UserHost.exe 
WixCloseApplications:  Checking App: UiPath.Studio.exe 
WixCloseApplications:  Checking App: UiExplorer.exe 
WixCloseApplications:  Checking App: SetupExtensions.exe 
MSI (s) (6C!A0) [15:45:12:762]: PROPERTY CHANGE: Adding WixCloseApplicationsDeferred property. Its value is 'UiPath.RobotJS.ProtocolHandler.exe€32€5000€1€UiPath.RobotJS.UserHost.exe€32€5000€1€UiRobot.exe€37€5000€1€UiPath.Assistant.exe€37€5000€1€UiPath.Executor.exe€37€5000€1€UiPath.Service.UserHost.exe€37€5000€1€UiPath.Studio.exe€33€5000€1€UiExplorer.exe€33€5000€1€ChromeNativeMessaging.exe€32€5000€1€SetupExtensions.exe€33€5000€1€ScreenScrapeJavaSupport.exe€32€5000€1€UiPath.DiagnosticTool.exe€32€5000€1€UiPath.Vision.Host.exe€32€5000€1€UiPath.Vision.Host32.exe€32€5000€1€FuncServer_x64.exe€32€5000€1€FuncServer_x86.exe€32€5000€1€Regutil.exe€32€5000€1€slinject.exe€32€5000€1€UiPath.Studio.Analyzer.exe€32€5000€1€UiPath.Studio.DataBaseServer.exe€32€5000€1€UiPath.RobotJS.ServiceHost.exe€32€5000€1€UiPath.Studio.Updater.exe€32€5000€1'.
MSI (s) (6C!A0) [15:45:12:763]: Doing action: WixCloseApplicationsDeferred
Action start 15:45:12: WixCloseApplicationsDeferred.
MSI (s) (6C!A0) [15:45:12:764]: Transforming table CustomAction.

MSI (s) (6C!A0) [15:45:12:764]: Resolving source.
MSI (s) (6C!A0) [15:45:12:764]: Resolving source to launched-from source.
MSI (s) (6C!A0) [15:45:12:764]: Setting launched-from source as last-used.
MSI (s) (6C!A0) [15:45:12:764]: PROPERTY CHANGE: Adding SourceDir property. Its value is 'C:\Users\gamering\Downloads\'.
MSI (s) (6C!A0) [15:45:12:764]: PROPERTY CHANGE: Adding SOURCEDIR property. Its value is 'C:\Users\gamering\Downloads\'.
MSI (s) (6C!A0) [15:45:12:764]: PROPERTY CHANGE: Adding SourcedirProduct property. Its value is '{3CDC6011-A9D4-41A7-8DF3-65F7E45509F0}'.
MSI (s) (6C!A0) [15:45:12:764]: SOURCEDIR ==> C:\Users\gamering\Downloads\
MSI (s) (6C!A0) [15:45:12:764]: SOURCEDIR product ==> {3CDC6011-A9D4-41A7-8DF3-65F7E45509F0}
MSI (s) (6C!A0) [15:45:12:767]: SECREPAIR: CryptAcquireContext succeeded
MSI (s) (6C!A0) [15:45:12:767]: Determining source type
MSI (s) (6C!A0) [15:45:12:767]: Note: 1: 2203 2: C:\Users\gamering\Downloads\UiPathStudio.msi 3: -2147287038 
MSI (s) (6C!A0) [15:45:12:767]: Note: 1: 1316 2: C:\Users\gamering\Downloads\UiPathStudio.msi 
MSI (s) (6C!A0) [15:45:12:767]: SECREPAIR: Error determining package source type
MSI (s) (6C!A0) [15:45:12:767]: SECREPAIR: Cleanup the Hash Value
MSI (s) (6C!A0) [15:45:12:767]: SECUREREPAIR: SecureRepair Failed. Error code: 5242A19C180
Action ended 15:45:12: WixCloseApplicationsDeferred. Return value 3.
WixCloseApplications:  Error 0x80070643: Failed MsiDoAction on deferred action
WixCloseApplications:  Error 0x80070643: failed to schedule WixCloseApplicationsDeferred action
CustomAction WixCloseApplications returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 15:45:12: WixCloseApplications. Return value 3.
MSI (s) (6C:0C) [15:45:12:774]: Note: 1: 2265 2:  3: -2147287035 
MSI (s) (6C:0C) [15:45:12:775]: Machine policy value 'DisableRollback' is 0
MSI (s) (6C:0C) [15:45:12:775]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 
MSI (s) (6C:0C) [15:45:12:775]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 
MSI (s) (6C:0C) [15:45:12:776]: No System Restore sequence number for this installation.
MSI (s) (6C:0C) [15:45:12:776]: Unlocking Server
Action ended 15:45:12: INSTALL. Return value 3.

I had a situation like that.
I recommend you unnistall all UiPath software from your machine and try again. Worked for me.