thbell
Posts: 1
Joined: Fri Aug 10, 2012 4:14 pm

Running a Custom Action On User Uninstall But Not On Update

I have a particular requirement, that my installer package run a custom action that directs users to a url when they uninstall our product. The url is a survey that inquires about their experience with our product. I know how to add a custom action on uninstall. The problem is that I only want this custom action to run when the user uninstalls the product not when we update.

Is there a way to only run a custom action on a user uninstall?
CiprianComsa
Posts: 110
Joined: Thu Aug 19, 2010 10:11 am
Contact: Website

Re: Running a Custom Action On User Uninstall But Not On Upd

Hi and welcome to Advanced Installer forums,

You can use a "Launch File or Open URL" predefined custom action. Go to Custom Action Page and add "Launch File or Open URL" as a custom action with sequence. Change the Command field with your URL from Custom Action Properties and make sure you have only the "Uninstall" option in "Execution Stage Condition" section.

Regards,
Ciprian
__________________________________________________________________________________________________________________________________________________
Ciprian Comsa
Advanced Installer Team
http://www.advancedinstaller.com/
Ciprian Comsa - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”