[wix-users] RelatedBundle Action for Patch

Rob Mensching rob at firegiant.com
Wed Feb 23 08:57:57 PST 2022


Patch bundles do not replace the original bundle. They are "appended" to it. To replace the original bundle, you upgrade it.

-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Nick Elmer via wix-users
Sent: Wednesday, February 23, 2022 8:07 AM
To: wix-users at lists.wixtoolset.org
Cc: Nick Elmer <nelmer at awarenesstech.com>
Subject: [wix-users] RelatedBundle Action for Patch

Hi All,
I am trying to deliver a patch bundle to update an install of a release build. I'm trying to understand the difference between the RelatedBundle actions. Specifically "Patch" and "Upgrade". I found this thread <http://lists.wixtoolset.org/pipermail/wix-users-wixtoolset.org/2018-June/007073.html> where Jacob discusses the upgrade action, but it doesn't give me the whole picture with respect to patching. Nick's "WiX 3.6 - A Developer's Guide to Windows Installer XML" also documents upgrades, but nothing regarding patch bundles.

As described below, I need the patch bundle to have the behavior he describes where the new bundle UI with bug fixes takes priority over the old bundle after a patch install. However that does not seem to happen when "Patch" is defined. When running the patch bundle I see the MSP's get applied as patches, however the ARP uninstall will run the Gold bundle from the cache and not the Patch bundle after install. Seems like "Upgrade" is for major upgrades, and "Patch" is for applying patches.  What am I missing?

Here is what I have:
Bundle (Gold)
-Custom UI
-RelatedBundleRTM=Detect
-- ProductA.msi
-- ProductB.msi

Bundle (Patch)
-Custom UI
-RelatedBundleRTM=Patch
-RelatedBundlePatchA=Detect
-- ProductA.msp
-- ProductB.msp


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



More information about the wix-users mailing list