cancel
Showing results for 
Search instead for 
Did you mean: 
Naveed
Pilgrim

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
Pilgrim

Re: How to run VB Script on uninstall

0 Kudos
Naveed
Pilgrim

Execute on "Install" or "Modify" but not on "UnInstall"

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
Highlighted
sjeslis
Pilgrim

Re: How to run VB Script on uninstall

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

Re: How to run VB Script on uninstall

Thanks everyone! It worked for me :)
0 Kudos