jpro51
Posts: 1
Joined: Sat Jan 26, 2013 9:29 pm

Custom Uninstall operation

I have a program that can optionally be run when uninstalling the removes a license key and several other components from the system. The program gives the user to optionally remove the components or not. I only want this to run when an explicit uninstall is being done, and not when the uninstall is done as part of an upgrade. I've been playing with the various options for the custom action but cannot find the right combination. Is it possible to only run my uninstall program when an explicit uninstall is being done and not when upgrading? Thanks for the help.

Jim
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: Custom Uninstall operation

Hi Jim and welcome to Advanced Installer forum.

Thank you for your interest in Advanced Installer.

In order to achieve what you want you can create a "Launch file or open URL" custom action and in the "Execution Stage Condition" click on the "Show upgrade options" link and check only the "Regular uninstall" checkbox.

Let us know if this helped, otherwise give us more details about your scenario.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”