2

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?

flag

2 Answers

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.

link|flag
This is what I ended up doing. The installer looks for the beta dll, checks it's version and then prevents the installation from continuing until the beta has been removed. – Jordan S Feb 15 at 14:48
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...

link|flag

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.