cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
nlaw
Level 2

Custom action running in uninstall but shoudl not

Hi,

I have a custom action that reads the registry and populates a control on a dialog window. Everything works great on insall, but the custom action fires during uninstall. As far as I can tell I have everything set to not have it fire during uninstall.

Sugestions?

Nate
Labels (1)
0 Kudos
(4) Replies
TsungH
Level 12

Start with a verbose log during uninstallation.
0 Kudos
Not applicable

Have you conditioned the custom action not to run on uninstall.
NOT REMOVE="ALL"
0 Kudos
electrobins
Level 3

Under common properties of your custom action, you should set "Run During Patch Uninstall" properties to NO. Hope this works.
0 Kudos
Mescalero
Level 7

For the custom action, defining "Not Installed" for the Condition explicitly states that the CA is to execute only during a first-time install. That should resolve your issue...
0 Kudos