I'm trying to install the Softphone MSI via script. When I install directly (locally) on the target machine, the MSI works correctly, but when I do it via remote script in Panda Systems Management, the log file diverges at the MuiCache stage and tries to reconfigure an existing install instead of doing a fresh install. See log file snippets below.
Successful log file (starting at line 123
=== Logging started: 10/24/2019 10:27:35 ===
Action start 10:27:35: INSTALL.
Action start 10:27:35: CommonAppDataFolder.C971D83B_B481_44B9_BFF5_384D7A142656.
Action ended 10:27:35: CommonAppDataFolder.C971D83B_B481_44B9_BFF5_384D7A142656. Return value 1.
Action start 10:27:35: ProductSearch.
PREVIOUS INSTALL CHECK: ALLUSERS = 0
PREVIOUS INSTALL CHECK: OLDALLUSERS = 0
PREVIOUS INSTALL CHECK: UpgradeCode = {F2C089DE-BC2A-4F25-B097-B0CF805C60DB}
PREVIOUS INSTALL CHECK: GUID: {F2C089DE-BC2A-4F25-B097-B0CF805C60DB}
PREVIOUS INSTALL CHECK: CLEAN: F2C089DEBC2A4F25B097B0CF805C60DB
PREVIOUS INSTALL CHECK: REVERSE: ED980C2FA2CB52F40B790BFC08C506BD
PREVIOUS INSTALL CHECK: Search HKLM SOFTWAREMicrosoftWindowsCurrentVersionInstallerUpgradeCodesED980C2FA2CB52F40B790BFC08C506BD
PREVIOUS INSTALL CHECK: Not found 'perMachine' install
PREVIOUS INSTALL CHECK: Search HKCU SoftwareMicrosoftInstallerUpgradeCodesED980C2FA2CB52F40B790BFC08C506BD
PREVIOUS INSTALL CHECK: Not found 'perUser' install
Action ended 10:27:36: ProductSearch. Return value 1.
Action start 10:27:36: FindRelatedProducts.
Action ended 10:27:36: FindRelatedProducts. Return value 1.
Action start 10:27:36: CloseApplication.
CLOSE APPLICATION: Initialized.
CLOSE APPLICATION: APPLICATION = Softphone.exe
Action ended 10:27:37: CloseApplication. Return value 1.
Action start 10:27:37: LaunchConditions.
Action ended 10:27:37: LaunchConditions. Return value 0.
Action start 10:27:37: ValidateProductID.
Action ended 10:27:37: ValidateProductID. Return value 1.
Action start 10:27:37: CostInitialize.
Action ended 10:27:37: CostInitialize. Return value 1.
Action start 10:27:37: FileCost.
Action ended 10:27:37: FileCost. Return value 1.
Action start 10:27:37: GetInstallFolder.
SEARCH FOLDER VALUE: Initialized.
SEARCH FOLDER VALUE: Found path C:Program Files (x86).
SEARCH FOLDER VALUE: Initialized
SEARCH FOLDER VALUE: Search in HKCU - SoftwareRingCentralRingCentral PhoneInstall
SEARCH FOLDER VALUE: Not found previous install
SEARCH FOLDER VALUE: Search in HKLM - SOFTWARERingCentralRingCentral PhoneInstall
SEARCH FOLDER VALUE: Change search path
SEARCH FOLDER VALUE: Search in HKLM - SOFTWAREWow6432NodeRingCentralRingCentral PhoneInstall
SEARCH FOLDER VALUE: Can't open any key
SEARCH FOLDER VALUE: Not found previous install
SEARCH FOLDER VALUE: Found = 0
SEARCH FOLDER VALUE: Upgrade = 0
SEARCH FOLDER VALUE: iAllUsers = 0
SEARCH FOLDER VALUE: iPerAdmin = 0
Action ended 10:27:38: GetInstallFolder. Return value 1.
Action start 10:27:38: CheckPined.
UpdateShellLinkAction: Initialized.
UpdateShellLinkAction: Product RingCentral Phone.
UpdateShellLinkAction: Alias RingCentral for Windows.
UpdateShellLinkAction: APPDATA path C:UsersBryan LaptopAppDataRoaming.
UpdateShellLinkAction: createInPath :C:UsersBryan LaptopAppDataRoamingMicrosoftInternet ExplorerQuick LaunchUser PinnedTaskBar
UpdateShellLinkAction: referTo :Softphone.exe
UpdateShellLinkAction: linkName :RingCentral for Windows.lnk
UpdateShellLinkAction: appUserModelID :RingCentral Phone
UpdateShellLinkAction: Name for new link: C:UsersBryan LaptopAppDataRoamingMicrosoftInternet ExplorerQuick LaunchUser PinnedTaskBarRingCentral Phone.lnk
UpdateShellLinkAction: File does not exists.
UpdateShellLinkAction: Backup C:UsersBryan LaptopAppDataRoamingMicrosoftInternet ExplorerQuick LaunchUser PinnedTaskBarRingCentral for Windows.lnk
UpdateShellLinkAction: Temp file is C:UsersBRYANL~1AppDataLocalTemp
ctB019.tmp
UpdateShellLinkAction: Backup file error
UpdateShellLinkAction: Complete error.
Action ended 10:27:39: CheckPined. Return value 1.
Action start 10:27:39: HybridSetDefaultPerMachineFolder.
Action ended 10:27:39: HybridSetDefaultPerMachineFolder. Return value 1.
Action start 10:27:39: HybridSetDefaultPerUserFolder.
Action ended 10:27:39: HybridSetDefaultPerUserFolder. Return value 1.
Action start 10:27:39: ChangeToPerUser.
Action ended 10:27:39: ChangeToPerUser. Return value 1.
Action start 10:27:39: ChangeToPerUser2.
Action ended 10:27:39: ChangeToPerUser2. Return value 1.
Action start 10:27:39: HybridSetPerUserFolder.
Action ended 10:27:39: HybridSetPerUserFolder. Return value 1.
Action start 10:27:39: SearchProtocols.
SAVE PROTOCOLS: Initialized.
SAVE PROTOCOLS: Brand: RingCentral
SAVE PROTOCOLS: Protocol list: callto fax tel rcmobile rcuk rcsp
SAVE PROTOCOLS: Search:
SAVE PROTOCOLS: Checking app RingCentral for protocol callto
SAVE PROTOCOLS: No program registered for protocol callto
SAVE PROTOCOLS: Checking app RingCentral for protocol fax
SAVE PROTOCOLS: No program registered for protocol fax
SAVE PROTOCOLS: Checking app RingCentral for protocol tel
SAVE PROTOCOLS: RingCentral program IS NOT registered for protocol tel
SAVE PROTOCOLS: Checking app RingCentral for protocol rcmobile
SAVE PROTOCOLS: No program registered for protocol rcmobile
SAVE PROTOCOLS: Checking app RingCentral for protocol rcuk
SAVE PROTOCOLS: No program registered for protocol rcuk
SAVE PROTOCOLS: Checking app RingCentral for protocol rcsp
SAVE PROTOCOLS: No program registered for protocol rcsp
Action ended 10:27:40: SearchProtocols. Return value 1.
Action start 10:27:40: CostFinalize.
Action ended 10:27:40: CostFinalize. Return value 1.
Action start 10:27:40: LaunchProperty.
Action ended 10:27:40: LaunchProperty. Return value 1.
Action start 10:27:40: MigrateFeatureStates.
Action ended 10:27:40: MigrateFeatureStates. Return value 0.
Action start 10:27:40: InstallValidate.
Action ended 10:27:42: InstallValidate. Return value 1.
Action start 10:27:42: SetARPINSTALLLOCATION.
Action ended 10:27:42: SetARPINSTALLLOCATION. Return value 1.
Action start 10:27:42: InstallInitialize.
Action ended 10:27:42: InstallInitialize. Return value 1.
Action start 10:27:42: RemoveExistingProducts.
Action ended 10:27:42: RemoveExistingProducts. Return value 1.
Action start 10:27:42: ProcessComponents.
Action ended 10:27:45: ProcessComponents. Return value 1.
Action start 10:27:45: UnpublishFeatures.
Action ended 10:27:45: UnpublishFeatures. Return value 1.
Action start 10:27:45: RemoveRegistryValues.
Action ended 10:27:45: RemoveRegistryValues. Return value 1.
Action start 10:27:45: RemoveShortcuts.
Action ended 10:27:45: RemoveShortcuts. Return value 1.
Action start 10:27:45: RemoveFiles.
Action ended 10:27:45: RemoveFiles. Return value 1.
Action start 10:27:45: RemoveFolders.
Action ended 10:27:45: RemoveFolders. Return value 1.
Action start 10:27:45: CreateFolders.
Action ended 10:27:45: CreateFolders. Return value 1.
Action start 10:27:45: InstallFiles.
Action ended 10:27:46: InstallFiles. Return value 1.
Action start 10:27:46: InstallCalltoUser.
Action ended 10:27:46: InstallCalltoUser. Return value 1.
Action start 10:27:46: InstallOutlook.
Action ended 10:27:46: InstallOutlook. Return value 1.
Action start 10:27:46: CacheClean.
Clean MUI cache: Open registry SoftwareMicrosoftWindowsShellNoRoamMUICache.
Clean MUI cache: Key not found
Clean MUI cache: Open registry SoftwareClassesLocal SettingsSoftwareMicrosoftWindowsShellMuiCache.
Clean MUI cache: Processing (0) LangID
Clean MUI cache: Processing (1) C:WINDOWSExplorer.exe.FriendlyAppName
Clean MUI cache: Processing (2) C:WINDOWSExplorer.exe.ApplicationCompany
Clean MUI cache: Processing (3) C:WINDOWSsystem32shell32.dll.FriendlyAppName
Clean MUI cache: Processing (4) C:WINDOWSsystem32shell32.dll.ApplicationCompany
Clean MUI cache: Processing (5) C:WINDOWSsystem32explorerframe.dll.FriendlyAppName
Clean MUI cache: Processing (6) C:WINDOWSsystem32explorerframe.dll.ApplicationCompany
Clean MUI cache: Processing (7) C:WindowsSystem32fsquirt.exe.FriendlyAppName
Clean MUI cache: Processing (8) C:WindowsSystem32fsquirt.exe.ApplicationCompany
Clean MUI cache: Processing (9) C:WindowsSystem32WFS.exe.FriendlyAppName
Clean MUI cache: Processing (10) C:WindowsSystem32WFS.exe.ApplicationCompany
Clean MUI cache: Processing (11) C:WINDOWSsystem32NOTEPAD.EXE.FriendlyAppName
Clean MUI cache: Processing (12) C:WINDOWSsystem32NOTEPAD.EXE.ApplicationCompany
Clean MUI cache: Processing (13) C:WINDOWSSystem32msiexec.exe.FriendlyAppName
Clean MUI cache: Processing (14) C:WINDOWSSystem32msiexec.exe.ApplicationCompany
Clean MUI cache: Processing (15) C:WindowsSystem32appresolver.dll.FriendlyAppName
Clean MUI cache: Processing (16) C:WindowsSystem32appresolver.dll.ApplicationCompany
Clean MUI cache: Unable to read value name 17
Clean MUI cache: Close registry.
Action ended 10:27:47: CacheClean. Return value 1.
Action start 10:27:47: CreateShortcuts.
Action ended 10:27:47: CreateShortcuts. Return value 1.
Action start 10:27:47: WriteRegistryValues.
Action ended 10:27:47: WriteRegistryValues. Return value 1.
Action start 10:27:47: RegisterUser.
Action ended 10:27:47: RegisterUser. Return value 1.
Action start 10:27:47: RegisterProduct.
Action ended 10:27:47: RegisterProduct. Return value 1.
Action start 10:27:47: PublishFeatures.
Action ended 10:27:47: PublishFeatures. Return value 1.
Action start 10:27:47: PublishProduct.
Action ended 10:27:47: PublishProduct. Return value 1.
Action start 10:27:47: InstallDriverX64.C971D83B_B481_44B9_BFF5_384D7A142656.
Action ended 10:27:47: InstallDriverX64.C971D83B_B481_44B9_BFF5_384D7A142656. Return value 1.
Action start 10:27:47: InstallFinalize.
1: InstallDriverX64.C971D83B_B481_44B9_BFF5_384D7A142656 2: 0
1: InstallOutlook 2: 0
1: InstallCalltoUser 2: 0
Action ended 10:28:21: InstallFinalize. Return value 1.
Action ended 10:28:21: INSTALL. Return value 1.
MSI (s) (70:64) [10:28:21:826]: Product: RingCentral Phone -- Installation completed successfully.
MSI (s) (70:64) [10:28:21:826]: Windows Installer installed the product. Product Name: RingCentral Phone. Product Version: 19.3.4.36528. Product Language: 1033. Manufacturer: RingCentral. Installation success or error status: 0.
=== Logging stopped: 10/24/2019 10:28:21 ===
Unsuccessful log file
=== Logging started: 10/24/2019 10:22:13 ===
Action start 10:22:13: INSTALL.
Action start 10:22:13: CommonAppDataFolder.C971D83B_B481_44B9_BFF5_384D7A142656.
Action ended 10:22:13: CommonAppDataFolder.C971D83B_B481_44B9_BFF5_384D7A142656. Return value 1.
Action start 10:22:13: ProductSearch.
PREVIOUS INSTALL CHECK: ALLUSERS = 0
PREVIOUS INSTALL CHECK: OLDALLUSERS = 0
PREVIOUS INSTALL CHECK: UpgradeCode = {F2C089DE-BC2A-4F25-B097-B0CF805C60DB}
PREVIOUS INSTALL CHECK: GUID: {F2C089DE-BC2A-4F25-B097-B0CF805C60DB}
PREVIOUS INSTALL CHECK: CLEAN: F2C089DEBC2A4F25B097B0CF805C60DB
PREVIOUS INSTALL CHECK: REVERSE: ED980C2FA2CB52F40B790BFC08C506BD
PREVIOUS INSTALL CHECK: Search HKLM SOFTWAREMicrosoftWindowsCurrentVersionInstallerUpgradeCodesED980C2FA2CB52F40B790BFC08C506BD
PREVIOUS INSTALL CHECK: Not found 'perMachine' install
PREVIOUS INSTALL CHECK: Search HKCU SoftwareMicrosoftInstallerUpgradeCodesED980C2FA2CB52F40B790BFC08C506BD
PREVIOUS INSTALL CHECK: Reserve value ALLUSERS to 0 (perUser)
PREVIOUS INSTALL CHECK: Change value ALLUSERS to reserved value (0)
Action ended 10:22:14: ProductSearch. Return value 1.
Action start 10:22:14: FindRelatedProducts.
Action ended 10:22:14: FindRelatedProducts. Return value 0.
Action start 10:22:14: CloseApplication.
CLOSE APPLICATION: Initialized.
CLOSE APPLICATION: APPLICATION = Softphone.exe
Action ended 10:22:15: CloseApplication. Return value 1.
Action start 10:22:15: LaunchConditions.
Action ended 10:22:15: LaunchConditions. Return value 0.
Action start 10:22:15: ValidateProductID.
Action ended 10:22:15: ValidateProductID. Return value 1.
Action start 10:22:15: CostInitialize.
Action ended 10:22:15: CostInitialize. Return value 1.
Action start 10:22:15: FileCost.
Action ended 10:22:15: FileCost. Return value 1.
Action start 10:22:15: GetInstallFolder.
SEARCH FOLDER VALUE: Initialized.
SEARCH FOLDER VALUE: Found path C:Program Files (x86).
SEARCH FOLDER VALUE: Initialized
SEARCH FOLDER VALUE: Search in HKCU - SoftwareRingCentralRingCentral PhoneInstall
SEARCH FOLDER VALUE: Read registry value of INSTALLFOLDER
SEARCH FOLDER VALUE: Set value UNINSTALLFOLDER to C:WINDOWSSysWOW64configsystemprofileAppDataLocalRingCentralSoftPhoneApp
SEARCH FOLDER VALUE: Found = 1
SEARCH FOLDER VALUE: Upgrade = 0
SEARCH FOLDER VALUE: iAllUsers = 0
SEARCH FOLDER VALUE: iPerAdmin = 0
Action ended 10:22:16: GetInstallFolder. Return value 1.
Action start 10:22:16: CheckPined.
UpdateShellLinkAction: Initialized.
UpdateShellLinkAction: Product RingCentral Phone.
UpdateShellLinkAction: Alias RingCentral for Windows.
UpdateShellLinkAction: APPDATA path C:UsersDefaultAppDataRoaming.
UpdateShellLinkAction: createInPath :C:UsersDefaultAppDataRoamingMicrosoftInternet ExplorerQuick LaunchUser PinnedTaskBar
UpdateShellLinkAction: referTo :Softphone.exe
UpdateShellLinkAction: linkName :RingCentral for Windows.lnk
UpdateShellLinkAction: appUserModelID :RingCentral Phone
UpdateShellLinkAction: Name for new link: C:UsersDefaultAppDataRoamingMicrosoftInternet ExplorerQuick LaunchUser PinnedTaskBarRingCentral Phone.lnk
UpdateShellLinkAction: File does not exists.
UpdateShellLinkAction: Backup C:UsersDefaultAppDataRoamingMicrosoftInternet ExplorerQuick LaunchUser PinnedTaskBarRingCentral for Windows.lnk
UpdateShellLinkAction: Temp file is C:WINDOWSTEMP
ctC62A.tmp
UpdateShellLinkAction: Backup file error
UpdateShellLinkAction: Complete error.
Action ended 10:22:17: CheckPined. Return value 1.
Action start 10:22:17: HybridSetDefaultPerMachineFolder.
Action ended 10:22:17: HybridSetDefaultPerMachineFolder. Return value 1.
Action start 10:22:17: HybridSetDefaultPerUserFolder.
Action ended 10:22:17: HybridSetDefaultPerUserFolder. Return value 1.
Action start 10:22:17: HybridSetUninstallFolder.
Action ended 10:22:17: HybridSetUninstallFolder. Return value 1.
Action start 10:22:17: ChangeToPerUser.
Action ended 10:22:17: ChangeToPerUser. Return value 1.
Action start 10:22:17: ChangeToPerUser2.
Action ended 10:22:17: ChangeToPerUser2. Return value 1.
Action start 10:22:17: SearchProtocols.
SAVE PROTOCOLS: Initialized.
SAVE PROTOCOLS: Brand: RingCentral
SAVE PROTOCOLS: Protocol list: callto fax tel rcmobile rcuk rcsp
SAVE PROTOCOLS: Search:
SAVE PROTOCOLS: Checking app RingCentral for protocol callto
SAVE PROTOCOLS: No program registered for protocol callto
SAVE PROTOCOLS: Checking app RingCentral for protocol fax
SAVE PROTOCOLS: No program registered for protocol fax
SAVE PROTOCOLS: Checking app RingCentral for protocol tel
SAVE PROTOCOLS: No program registered for protocol tel
SAVE PROTOCOLS: Checking app RingCentral for protocol rcmobile
SAVE PROTOCOLS: No program registered for protocol rcmobile
SAVE PROTOCOLS: Checking app RingCentral for protocol rcuk
SAVE PROTOCOLS: No program registered for protocol rcuk