I released a beta version of a driver that used an InnoSetup installer. For the next revision of the driver I have switched to using a Visual Studio setup project for the installer. It is possible to make the new installer remove the beta version if it is found on the target machine or should I just instruct the user to manually remove the beta version. If it is possible, what is the best way to automate this in the install process?
Remember to Vote
If you see a good question, answer or comment, vote it up. If you see something incorrect or dumb, vote it down (but remember that a down-vote costs you 1 reputation point; an up-vote costs nothing). Voting helps to make sure the best information rises to the top of the pile.|
2
|
|
|
|
|
3
|
The approach I would take is to make a launch condition in your MSI package that prevents the install from proceeding if it finds the previous Inno install. The user would then need to manually uninstall the prior version. |
|||
|
ASCOM Downloads and Documentation
For the latest downloads, updates and documentation, please visit the ASCOM Standards web site.|
2
|
This answer on StackOverflow looks useful. http://stackoverflow.com/questions/2000296/innosetup-how-to-automatically-uninstall-previous-installed-version I would think that some sort of custom action could be run to run the inno uninstaller as specified in "UninstallString". At least it's a start... |
||
|
|
