Reputation: 4630
I want to reinstall over an existing installation. is it possilble to configure MSI to automatically uninstall the existing (whatever version) and then install the 'new' version.I would like to be able to uninstall before the install and I can't seem to find out how. Any/all help would be greatly appreciated.
I have done all these steps below and still feel that the product is not getting uninstalled but instead the files are getting overwritten.
Upvotes: 2
Views: 4894
Reputation: 35901
Yes, you want a Major Upgrade with the RemoveExistingProducts
action scheduled before the InstallInitialize
action. That will cause the old package to be removed before the new one starts to install (you'll still go through the new MSI UI).
Upvotes: 2