
Open rsop.msc and ensure "My Example App" is not still showing up there.On M圜lient, gpupdate /force /sync and restart.On the Domain Controller, ensure all other DCs are in sync with repadmin /syncall /AdeP (in case M圜lient is using a different DC).Remove package from GPO (so GPO is empty).Uninstall app (if already installed) via "Apps & Features" or msiexec /x MyExampleApp.msi /qn.The package is "Assigned" with default settings, except sometimes with an MST applied.
#Install error 1603 windows 10 gpo software
Just a simple GPO, applied to the OU with my Windows VM "M圜lient" in it, security filtering set to only M圜lient, and the only setting is a single package under Computer Configuration > Policies > Software Settings > Software installation. I mostly reused the same GPO, but early on I was recreating it for each installation attempt. (Some of these steps might be overkill, but 🤷♂️) In any case, it's not a good solution since that property exists for a reason (see PR #2908 that adds it, and corresponding issue #2906). Not certain about this though, since I wasn't quite in my debugging flow yet. Deploying that sort of worked - I think it installed the advertised shortcuts, but not the rest of the app. So, I tried using Orca to create an MST that drops the MsiShortcutProperty table (or maybe just deletes the entry in it I don't remember). This is right after it tries to create the shortcut property on the Start Menu shortcut, which is why the solution mentioned in #5476 ( "createStartMenuShortcut": false) works. The error seems to be this line in the log: 1: 2902 2: ixoShortcutPropert圜reate. MSI (c) (04:5C) : DoAdvertiseScript is returning: 1603 MSI (c) (04:5C) : Error in rollback skipped. MSI (c) (04:5C) : Executing op: End(Checksum=0,ProgressTotalHDWord=0,ProgressTotalLDWord=0) MSI (c) (04:5C) : Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\TempPackages 3: 2 MSI (c) (04:5C) : Executing op: RegRemoveKey() MSI (c) (04:5C) : Executing op: ProductInfo(ProductKey=\MyExampleAppIcon.exe,Value=#1,) MSI (c) (04:5C) : Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 MSI (c) (04:5C) : Machine policy value 'DisableRollback' is 0 MSI (c) (04:5C) : User policy value 'DisableRollback' is 0 = Verbose logging started: 17:08:21 Build type: SHIP UNICODE 1.00 Calling process: C:\WINDOWS\system32\svchost.exe = Please click on the "More information" link. Software Installation settings might have its own log file. The error was : %%1603ĭescription: Windows failed to apply the Software Installation settings.

A previous log entry with details should exist. The error was : %%1603ĭescription: Failed to apply changes to software installation settings. The error was : %%1603ĭescription: The removal of the assignment of application My Example App from policy MyTestGpo failed. Source: Application Management Group Policyĭescription: The assignment of application My Example App from policy MyTestGpo failed.

(Names of files and paths have been edited to remove company information.) The failing MSI installation creates two log files after a reboot, which are mostly the same aside from a few lines. I enabled Windows Installer logging (setting to voicewarmupx), which logs to C:\Windows\temp\MSI randomdigits.LOG. They work in every other context I tried (double-click, msiexec /i MyExampleApp.msi /qn, msiexec run as System account with psexec -s, msiexec run from Task Scheduler as System account triggered by startup or triggered in 2min then logging out and waiting), which is unfortunate because that makes testing a pain.
#Install error 1603 windows 10 gpo install
MSIs built by electron-builder fail to install when deployed machine-wide via GPO Computer Configuration. I'm going to add a lot of details in the hope that this will help someone else with their MSI debugging.

This is a duplicate of #5476, but it's closed and its title doesn't match the issue.
