wixwindows-installeruninstallationinstallaware

Specifying location of uninstall .msi in RemoveExistingProducts


I'm writing an installer using WiX 3.5 for the latest version of our software. The installer for previous versions was written using InstallAware 8. During install I want to remove the old versions but InstallAware does some strange stuff so the normal RemoveExistingProducts method doesn't work. Neither does msiexec /x {PRODUCTCODE}.

When RemoveExistingProducts runs it pops up a dialog asking for the location of the .msi file from the old install. I can find the location of it in the registry and if I enter that location in the dialog the uninstall works fine. However I'd like for the dialog to not show, is there some way I can tell RemoveExistingProducts where to find it?


Solution

  • It seems that some rules of avoiding prompts for source are violated. See if these recommendations help.