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

ed209a at att.net ed209a at att.net
Tue Oct 6 13:19:05 PDT 2015


  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,


More information about the wix-users mailing list