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

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.
Labels (1)
0 Kudos
(1) Reply
douglasm
Level 3

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.
0 Kudos