[wix-devs] Uninstalling components while invoking uninstall via Bootstrapper
Blair Murri
osito at live.com
Tue Oct 6 12:38:24 PDT 2015
This list is for developing the WiX toolset. Usage questions should go to the wix-users list, where there are many who can help you.
Blair
From: ed209a at att.net
Sent: Tuesday, October 6, 2015 12:31 PM
To: wix-devs at lists.wixtoolset.org
Subject: [wix-devs] Uninstalling components while invoking uninstall via Bootstrapper
Hello, I have a question regarding uninstalling components during an application uninstall. My bootstrapper is tied to a setup.msi. When the uninstall button is pressed under the bootstrapper GUI, the bootstrapper uninstalls the application. How do I uninstall the plug ins when I invoke an uninstall of the application?Here is one of the plugins (It is a VC2008 redist plug in). I am trying to invoke it. I am running the command prompt box to see if it actually calls the msi exec to uninstall the plug in. I am using the Product ID GUID path from the registry to find the plug in. So far, it doesn't work. Any suggestions? <Binary Id="CMDEXE" SourceFile ="C:\WINDOWS\SYSTEM32\cmd.exe" /> <CustomAction Id="ChangeDirectory" Directory="INSTALLLOCATION" Value="c:\windows\system32\"/> <CustomAction Id="echo_test" BinaryKey="CMDEXE" ExeCommand= "/c c:\windows\system32\msiexec /X{9BE518E6-ECC6-35A9-88E4-87755C07200F}" Execute="immediate" Return="check"/> <InstallExecuteSequence> <Custom Action="ChangeDirectory" After ="InstallFinalize"/> REMOVE~="ALL" </Custom> </InstallExecuteSequence>
Thanks
____________________________________________________________________
WiX Toolset Developer Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-devs
mailing list