.NET Install Package Removal Of Previous Version

ss7thirty

Well-known member
Joined
Jun 14, 2005
Messages
455
Location
New Jersey, US
Programming Experience
5-10
I have a .NET install package in my solution (msi). I see there is a key to Remove Previous Versions (RemovePreviousVersions). However, it seems if I make code changes then rebuild the package it no longer is able to uninstall the previous version with the package but it tells you to go to the Control Panel. Is there a way to fix this?

Also, the second question I have is about the option to run the application after installing. Is there a key to turn this on that I am missing?
 
First up, read the title of your thread and then read your second question. Are they related? No, they are not, so that question does not belong in this thread. It belongs in a thread of its own with a title that refers to that topic.

As for the first question, you need to change the version number of the installer and that will prompt you to change the ProductCode. The installer then finds an app with the same UpgradeCode and different ProductCode and uninstalls it.
 
Back
Top