cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
cyprus106
Level 3

How to execute custom action only in install (not uninstall)

I'm sure this is fairly easy, but I've kind of had a hard time with it. I've got a custom action that executes a different installer on installation. Unfortunately, I've noticed that it also executes the installer on UNinstallation!

I've looked through the options but I cant' seem to find out how to stop this. If anybody could help me I would be incredibly grateful.

Also, how do I set a custom action to go off only during UNinstall? Any help is greatly appreciated guys!
Labels (1)
0 Kudos
(1) Reply
dan_galender
Level 10

Use Action Conditions.

To run an action during installation only, use the condition Not Installed.

To run an action during a complete uninstallation only, use the condition REMOVE="ALL" (which is available after the InstallValidate action).
0 Kudos