[wix-users] Uninstalling components while invoking uninstall via Bootstrapper

Phill Hogland phill.hogland at rimage.com
Tue Oct 6 13:31:26 PDT 2015


I'm sorry, I don't really follow your question.  When I install a vcredist I mark it permanent and never try to uninstall it.  Once vcredist is deployed someone else's application might need it, so I would not try to uninstall it.  My vcredist is in my Burn bundle chain, so I would also not do anything in a MSI binary table.  Maybe some more details would help someone respond.

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of ed209a at att.net
Sent: Tuesday, October 06, 2015 3:19 PM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] Uninstalling components while invoking uninstall via Bootstrapper

  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 Users Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-users mailing list