We have an MSI package which includes custom actions executed during install and uninstall to configure certain things on install and roll back on uninstall. However we detected a major flaw in custom action script executed on uninstall.
My aim is to fix the MSI (only custom action, all other settings remain the same) and use it to uninstall existing installation (built from buggy MSI).
What I have tried: fix the script and rebuild the MSI. However when I run installer it attempts to upgrade existing installation instead of offering "Repair/Uninstall" dialog like I get when run source MSI file. Is it possible to achieve this without upgrading first?