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!

alexander.knorr
Posts: 5
Joined: Mon Dec 02, 2013 10:14 am

Uninstall another Product as Part of Installation

is there a preferred way in AI to add an uninstallation task of a foreign product as part of an installation using the foreign product- or upgrade id? The foreign Product is also build in AI as MSI.

kind regards,
Alex
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Uninstall another Product as Part of Installation

Hello Alex and welcome to Advanced Installer forums,

Since the old package is MSI-based, it most likely has an Upgrade Code. This code can be used in the Upgrades page in order to set the new package to upgrade the old one. With this method the old package is uninstalled automatically and silently right before the new installation starts.

You can add the "Upgrade Code" of the old MSI in the "Upgrades" page by using the [ New... ] button and selecting the old MSI file.

Also, you can take a look on our Upgrade an older version of the package article which may be useful to you.

Please let us know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
alexander.knorr
Posts: 5
Joined: Mon Dec 02, 2013 10:14 am

Re: Uninstall another Product as Part of Installation

Hello Dan,

thank you for the detailed explanation. It works as you described. Have not thought that it would be that easy :-)

Kind Regards,
Alex
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Uninstall another Product as Part of Installation

You're welcome Alex. I'm glad you got this working.

If there is anything I can help with, please let me know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”