[wix-users] Burn (3.11) main product that automatically uninstalls plugins/extensions
Bob Arnson
bob at firegiant.com
Thu Feb 8 09:10:26 PST 2018
Ship it as an Addon bundle and Burn will do all that for you.
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Jack Johnson via wix-users
Sent: Wednesday, 7 February, 2018 21:13
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Jack Johnson <nick1782 at outlook.com>
Subject: Re: [wix-users] Burn (3.11) main product that automatically uninstalls plugins/extensions
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/
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users
mailing list