This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: How to execute custom action only in install (not uninstall)
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 11, 2009
10:31 AM
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!
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!
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 11, 2009
11:25 AM
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).
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).