We ran into an odd issue where if we actively fail the uninstallation process from a custom action (Fail installation if custom action returns an error is ticked) and we uninstall the package from the command line quietly:
Code: Select all
installer.exe /exenoui /qn /x //1. Product: My Product -- Removal failed. - event ID 11725
2. Windows Installer removed the product. Product Name: My Product. Product Version: 1.2.3. Product Language: 1033. Manufacturer: Me. Removal success or error status: 1603. - event ID 1034
3. Ending a Windows Installer transaction: ... - event ID 1042
4. Product: My Product -- Removal completed successfully. - event ID 11724
5. Windows Installer removed the product. Product Name: My Product. Product Version: 1.2.3. Product Language: 1033. Manufacturer: Me. Removal success or error status: 0. - event ID 1034
The first 3 events show up when uninstalling via msiexec.exe /x or from add remove programs, and they make sense, message 2 shows error code 1603 which is what we expect
the last 2 are perplexing, and only show up with the quiet uninstall command, and also, they show up after the ending transaction event, and the product is not uninstalled
Would appreciate any help here!
Edit: After some further testing we discovered the issue is perceived by simply uninstalling from the command line, without the quiet flags
Code: Select all
installer.exe /x //
FOLLOW US