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!

Codename K
Posts: 479
Joined: Fri Jan 29, 2010 3:04 pm

About uninstalling previous version?

Hello,

Normally when the installer detects there is a previous version it uninstalls that first. OK. Where does this happens in the custom action? I am updating my installer. If the new installer detects the previous version then after uninstalling, it needs to run a program before starting the new one. So where does I need to add the LaunchFile in the Custom Actions?

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

Re: About uninstalling previous version?

Hello,

During an upgrade installation the old versions of your product are uninstalled during the "Install Execution Stage" -> "Preparing" -> "RemoveExistingProducts" standard action. Therefore, in order to achieve what you want you should add you custom action after "Install Execution Stage" -> "Preparing" actions group.

If you have any questions let us know.

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

Return to “Common Problems”