1. Install Product A
2. Uninstall Product A
3. Install Product A again (now the deletes on the icon files are still pending, even though the same files have been "installed" again).
4. Install Product B
After installing Product B, the icon files from Product A are deleted during the "post-install cleanup" stage at the end of Product B's installation. Since Product A uses Enhanced UI, this cleanup doesn't happen during steps 2 or 3 above.
Just to be clear, I am talking about MSI log entries like the following (during uninstall):
Code: Select all
MSI (s) (50:00) [08:43:31:798]: Scheduling file 'C:\Windows\Installer\10e979.msi' for deletion during post-install cleanup (not post-reboot).
MSI (s) (50:00) [08:43:31:814]: Scheduling file 'C:\Windows\Installer\{96B8F117-2338-4ED8-B124-AEEF1CEFAF86}\ext_1.exe' for deletion during post-install cleanup (not post-reboot).
MSI (s) (50:00) [08:43:31:814]: Executing op: IconRemove(Icon=ext.exe,)
Code: Select all
MSI (c) (B8:1C) [10:03:53:751]: Product: Product A -- Configuration completed successfully.
MSI (c) (B8:1C) [10:03:53:751]: Windows Installer reconfigured the product. Product Name: Product A. Product Version: 4.0.1.1. Product Language: 1033. Manufacturer: Company, Inc.. Reconfiguration success or error status: 0.
MSI (c) (B8:1C) [10:03:53:751]: Cleaning up uninstalled install packages, if any exist
Code: Select all
MSI (s) (A4:0C) [10:12:51:299]: Product: Product A -- Removal completed successfully.
MSI (s) (A4:0C) [10:12:51:315]: Windows Installer removed the product. Product Name: Product A. Product Version: 4.0.1.1. Product Language: 1033. Manufacturer: Company, Inc.. Removal success or error status: 0.
MSI (s) (A4:0C) [10:12:51:315]: Deferring clean up of packages/files, if any exist
MSI (s) (A4:0C) [10:12:51:315]: MainEngineThread is returning 0
MSI (s) (A4:70) [10:12:51:315]: RESTART MANAGER: Session closed.
MSI (s) (A4:70) [10:12:51:315]: No System Restore sequence number for this installation.
=== Logging stopped: 8/1/2016 10:12:51 ===
MSI (s) (A4:70) [10:12:51:315]: User policy value 'DisableRollback' is 0
MSI (s) (A4:70) [10:12:51:315]: Machine policy value 'DisableRollback' is 0
MSI (s) (A4:70) [10:12:51:315]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (A4:70) [10:12:51:315]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (A4:70) [10:12:51:315]: Note: 1: 2265 2: 3: -2147287035
MSI (s) (A4:70) [10:12:51:315]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (A4:70) [10:12:51:315]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (s) (A4:70) [10:12:51:315]: Post-install cleanup: removing installer file 'C:\Windows\Installer\21a0b6.msi'
MSI (s) (A4:70) [10:12:51:330]: Post-install cleanup: removing installer file 'C:\Windows\Installer\{96B8F117-2338-4ED8-B124-AEEF1CEFAF86}\ext_1.exe'
MSI (s) (A4:70) [10:12:51:330]: Post-install cleanup: removing installer folder 'C:\Windows\Installer\{96B8F117-2338-4ED8-B124-AEEF1CEFAF86}\' (if empty)
I hope this is all clear. Let me know if you need any further information.