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
- :
- Stop a custom action running on uninstall error 1721?
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
Mar 10, 2008
12:39 AM
Stop a custom action running on uninstall error 1721?
I have a project that has custom action that installs the flash activex licensed install from adobe which is an exe file as a custom action by extracting the file to TEMP and then running silently with a command line (the merge module does not meet our purposes).
My problem is that when uninstalling I get error 1721 there is a problem with this windows installer package.
How can I stop this custom action from running at uninstall? I do not want to rollback this function.
Can anyone help steer me on the right track. Thanks.
My problem is that when uninstalling I get error 1721 there is a problem with this windows installer package.
How can I stop this custom action from running at uninstall? I do not want to rollback this function.
Can anyone help steer me on the right track. Thanks.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 10, 2008
05:25 PM
You need to add a condition to your custom action
NOT REMOVE="ALL" - prevents the ca from running on uninstall.
You could also use a component as a condition.
$Component>2 - only runs the ca when Component is being installed.
Hope that helps.
NOT REMOVE="ALL" - prevents the ca from running on uninstall.
You could also use a component as a condition.
$Component>2 - only runs the ca when Component is being installed.
Hope that helps.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)