We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

mapman
Posts: 1
Joined: Thu Mar 30, 2017 6:39 pm

Run uninstaller first before running installer

I have two files. An uninstaller exe that uninstalls all of the program components and folders beyond what the control panel uninstaller does and the installer msi that I customized for a silent install and the license server location. My question is how do I tell Advanced Installer to run the uninstaller exe first, then wait till it completes and then run the installer for the new version of the program. I looked in all of the documentation that I could find but I can't find how to do this.

I created the project and the folder that my project is using has the uninstaller exe and the installer msi in it.

Please help

Thanks
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Run uninstaller first before running installer

Hello and welcome to our forums,

To accomplish what you need you can create a wrapper setup over your EXE and MSI files. You can achieve that by adding your setups as Feature-Based Prerequisites. The order in which the prerequisites are installed is from top to bottom, as they are displayed in the "Prerequisites" page.

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

Return to “Building Installers”