cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Naveed
Level 6

How to run VB Script on uninstall

I need to run a vb script on uninstall event.

What should be the appropriate sequence for running this script. What are other settings/conditions required.

I am using InstallShield 2010 & Basic MSI project.
Labels (1)
0 Kudos
(4) Replies
hidenori
Level 17

0 Kudos
Naveed
Level 6

Thanks hidenori. It worked for uninstall actions. [REMOVE = "ALL"]


I also need a way to specify actions which should only run on "Install" or "Modify" but not on Uninstall. I have tried using REMOVE <> "ALL". But it has no effect. What condition and sequence I should specify so that my custom action is fired only on "Install" or "Modify" but not on "UnInstall".

Thanks
Naveed
0 Kudos
sjeslis
Level 5

"Not Installed" for the install only, not sure about modify
0 Kudos
Naveed
Level 6

Thanks everyone! It worked for me 🙂
0 Kudos