PDA

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



bertilh
02-22-2002, 04:17 AM
Hi,

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?

JigarDesai
02-25-2002, 04:23 PM
Hi,

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.