This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- How to run VB Script on uninstall
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 16, 2009
10:49 AM
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.
What should be the appropriate sequence for running this script. What are other settings/conditions required.
I am using InstallShield 2010 & Basic MSI project.
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 16, 2009
01:24 PM
Please check out Conditioning Actions to Run During Removal.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 16, 2009
02:47 PM
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
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
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 16, 2009
07:48 PM
"Not Installed" for the install only, not sure about modify
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 19, 2009
03:41 PM
Thanks everyone! It worked for me 🙂
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)