There is a version of my installer on some of our systems that keeps trying to run at least one of the 'Commit' time custom actions on uninstall. This causes the uninstall to fail as it tries to reference a file that has been removed. Now I can't uninstall this version. Is there any way to run the removal process and suppress the custom action ?
After reviewing the log file, I can see it switch to REMOVE mode, and it removes all the files, but it's still trying to execute the install time custom actions.
Yes, but you'd need to edit the installed MSI somehow. You have two options:
1, Go into Windows\Installer (hidden folder), sort the folder by date/time and edit the MSIs in Orca until you find the faulty MSI. Then you should go to the InstallExecuteSequence table and change the condition on the erroneous custom action to FALSE to prevent it running.
2, build a fixed version of your MSI, incrementing the product version but not changing the product code. Then install this version over the existing version with "msiexec /i newmsi.msi REINSTALL=ALL REINSTALLMODE=vomus". If you've done this correctly it should uninstall happily.