cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Tim1943
Level 2

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
Labels (1)
0 Kudos
(1) Reply
RobertDickau
Flexera Alumni

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.
0 Kudos