[wix-users] Burn (3.11) main product that automatically uninstalls plugins/extensions

Jack Johnson nick1782 at outlook.com
Wed Feb 7 18:13:12 PST 2018


Then, how would I actually trigger for burn to uninstall my plugin in the ExePackage when uninstalling the main program?  (Or, something other than ExePackage?)


The plugin .msi is a separately licensed and purchased product, so installing it together with the main app would result in the wrong kind of attention from the bosses.

________________________________
From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of Nir Bar via wix-users <wix-users at lists.wixtoolset.org>
Sent: Wednesday, February 7, 2018 10:12:28 AM
To: WiX Toolset Users Mailing List
Cc: Nir Bar
Subject: Re: [wix-users] Burn (3.11) main product that automatically uninstalls plugins/extensions

One option you have is to search for the plugin in registry's uninstall key. So the search would be something like:

util:RegistrySearch Root='HKLM' Key='Software\ACME\AWESOMEAPP\$(var.ProductVersionInternal)' Value='UNINSTALLPLUGIN1' Win64='no' Variable='UninstallPlugin1ProductCode'
util:RegistrySearch Root='HKLM' Key='Software\Microsoft\Windows\CurrentVersion\Uninstall\[UninstallPlugin1ProductCode]' Value='UninstallString' Win64='no' Variable='UninstallPlugin1Command' After='UninstallPlugin1ProductCode'

But I think the better way from bundle perspective would be to include the plugin MSI in the bundle for both install and uninstall.




--
Nir Bar, Independent WiX Expert. Creator of-
JetBA: WiX WPF Bootstrapper User Interface Framework

JetBA++: WiX Native Bootstrapper User Interface Framework




____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-users mailing list