[wix-users] Bundle Rollback with Major Upgrade of packages

Sean Hall r.sean.hall at gmail.com
Thu May 27 06:57:22 PDT 2021


It has to do with how Burn detects MSI packages. This is what it looks like
in v4 right now when installing a bundle with a minor-upgraded package:

Detected related package: {6F171EC9-0774-4974-A8D1-493EF53CAB74}, scope:
PerMachine, version: 1.0.0.0, language: 1033 operation: MinorUpdate
Detected package: PackageA, state: Present, cached: No, install
registration state: Ignored, cache registration state: Absent
Planned package: PackageA, state: Present, default requested: Present, ba
requested: Present, execute: MinorUpgrade, rollback: None, default cache
strategy: Keep, ba requested strategy: Keep, cache: Yes, uncache: No,
dependency: Register, expected install registration state: Present,
expected cache registration state: Present

I don't think any of this detect or rollback logic has changed between v3
and v4. Because the ProductCode and UpgradeCode are the same for a minor
update, Burn detects the package as Present. Burn won't rollback the
package if it was already installed.

Something to keep in mind is that if the major-upgraded package is not
rolled back then the bundle should stay installed on the machine so that
package can be uninstalled. This would mean that both the old bundle and
the new bundle would be installed at the same time.

On Thu, May 27, 2021 at 8:14 AM Rob Mensching via wix-users <
wix-users at lists.wixtoolset.org> wrote:

> I don't remember why there is a difference between Major and Minor upgrade
> rollback behavior in Bundles.
>
> -----Original Message-----
> From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of
> Matthias Reuss via wix-users
> Sent: Wednesday, May 26, 2021 11:16 PM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Cc: Matthias Reuss <matthias.mr.reuss at wsa.com>
> Subject: Re: [wix-users] Bundle Rollback with Major Upgrade of packages
>
> Hi Rob,
>
> Thank you for your answer. From my experience, I agree that multi-package
> MSI transactions do not provide a good solution either.
>
> In my opinion, repair of the old bundle cannot be more than a workaround -
> the user has to trigger it once he has detected that the state of the
> products is worse than before and something is really missing.
>
> Thus I still cannot understand why Burn treats major-upgraded packages in
> a different way than minor-upgraded ones when it comes to a bundle rollback.
>
> Best regards
>
> Matthias Reuss
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>



More information about the wix-users mailing list