PDA

View Full Version : Custom Action on Uninstall



jacerhea
11-13-2008, 03:00 PM
Hello. I am new to InstallShield, and have what seems like a very easy question but have been unable to find an answer.

We are creating an InstallShield package, and have many Custom Actions. One of these Custom Actions is used for the uninstallation. We have set the "Install UI Sequence" property to run after a previous event which works fine when we rerun the package and choose the uninstall option.

However, this does not work when the program is removed from the add/remove programs. What sequence or actions need to be set to have this custom action run when the program is uninstalled from the add/remove programs list?

Thank you in advance.

RobertDickau
11-13-2008, 03:05 PM
Please see the topic "Detecting First-Time Installations"; you can use REMOVE="ALL" as an action's condition in the Execute sequence to detect uninstallation.

jacerhea
11-13-2008, 05:07 PM
Thanks, that did the trick.