View Full Version : How to execute Custom Action only during uninstall?

02-22-2002, 04:17 AM

I wonder how can I execute a Custom Action only during uninstall

I used the condition "Installed" so that it does not execute during installation but then it executes also when I do a repair or modify...

Is there a specific property that is only set during uninstall?

02-25-2002, 04:23 PM

You can use REMOVE="ALL" for the custom actions to be executed during uninstallation. You will need to sequence that action after InstallValidate action in the InstallExecuteSequence table.

Jigar Desai

Ian Baxter
03-25-2002, 07:05 PM
Try using a condition "Not Installed"

Works for me.