[wix-users] Get Upgrade Code of BootStrapper Exe from Registry

Hoover, Jacob Jacob.Hoover at greenheck.com
Thu Apr 21 08:37:57 PDT 2022

When you author the bundle, you can specify the upgrade code.  But the upgrade code doesn't allow you to magically remove the bundle.

You haven't defined why you need to uninstall it from the command line, and why bundle.exe /uninstall isn't sufficient.

From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Venkatesh H via wix-users
Sent: Thursday, April 21, 2022 1:46 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Venkatesh H <venh.123 at gmail.com>
Subject: [wix-users] Get Upgrade Code of BootStrapper Exe from Registry

For MSI, since the Product Code keeps changing on every upgrade, we are
relying on Upgrade Code and using WMI calls, getting the Product Code using
the Upgrade Code and then uninstalling the MSI. We referred to the
following articles.



We are using PowerShell script to run the commands.

However, the above approach doesn't seem to be working for Bootstrapper
EXEs. How can I get the UpgradeCode for Bootstrapper so that I can
uninstall it using the command line? Please help. Please advise if there is
some other way.

WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/<http://www.firegiant.com>
NOTE: This email was received from an external source. Please use caution when opening links or attachments in the message.

More information about the wix-users mailing list