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
- :
- Can't automatically uninstall my application
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
Jun 18, 2008
10:34 PM
Can't automatically uninstall my application
Hi All,
I'm trying to uninstall a previous version of my application as a Custom action.
I use a VBscript stored in the custom action:
dim shell
set shell=createobject("wscript.shell")
shell.run " C:\WINDOWS\system32\msiexec.exe /x {43A14B97-7678-4809-8A19-843B2EBF9C3E} /quiet"
set shell=nothing
When I perform the install, it looks like the msiexec.exe gets invoked, because the system32 windows appears, but the application does not get uninstalled.
Is there some way of doing this short of manually using the control panel Add or Remove programs?
I appreciate your help!
Tim
I'm trying to uninstall a previous version of my application as a Custom action.
I use a VBscript stored in the custom action:
dim shell
set shell=createobject("wscript.shell")
shell.run " C:\WINDOWS\system32\msiexec.exe /x {43A14B97-7678-4809-8A19-843B2EBF9C3E} /quiet"
set shell=nothing
When I perform the install, it looks like the msiexec.exe gets invoked, because the system32 windows appears, but the application does not get uninstalled.
Is there some way of doing this short of manually using the control panel Add or Remove programs?
I appreciate your help!
Tim
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 18, 2008
11:00 PM
You might look into creating a "major upgrade", which uninstalls any earlier version when the newer version is installed. The online help has more information, and the Upgrades view can help.