automatic uninstall - Advanced Installer Community
Buzzroid
Posts: 1
Joined: Fri Jul 03, 2015 8:20 am

automatic uninstall

How can I make my installer to uninstall the previous version prior to installing a new version?

My installer displays an warning dialog, saying that my app's previous version should be uninstalled first.
I want for the installer to uninstall the previous verion if needed.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: automatic uninstall

Hello and welcome to our forums,

Please take a look on our "Why do I receive the "Another version of this product is already installed" message?" faq which should be useful for you. This situation is frequently encountered during testing stage of the setup package. For instance you build the project, install it, then made a small change in your project, rebuild it (without increasing the Product Version) and try to install it again. To avoid this error you can also use the "Uninstall a package with the same version (if found)" option from "Builds page -> Configuration tab".

Also, as a good practice, for testing purposes we always recommend to be used virtual machines with clean states so that when something goes wrong you can easily revert to a clean state of the virtual machine.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”