[wix-users] Burn prevent automatic upgrade and specific versionupgrade

Artur Ampilogov a-artur at yandex.ru
Wed Jan 10 23:47:39 PST 2018

The first problem is solved,
Rob answered to the similar question in SO: https://stackoverflow.com/questions/16287690/removing-the-old-bundle-from-arp-when-upgrading-skus

The key is the `State` property.
        protected override void OnPlanRelatedBundle(PlanRelatedBundleEventArgs args)
            args.State = RequestState.None;

All works as expected.

From: Artur Ampilogov via wix-users
Sent: Thursday, January 11, 2018 12:26 AM
To: WiX Toolset Users Mailing List
Cc: Artur Ampilogov
Subject: [wix-users] Burn prevent automatic upgrade and specific versionupgrade


I have a managed variant of burn (WPF).

There are two problems:
1) Having two burn versions with the same UpgradeCode.
    Burn v.1.1.0 – installed.
    Installing burn v.1.2.0 will do major upgrade for v.1.1.0 automatically, i.e. will remove v.1.1.0.

   In some cases I need to install v.1.2.0 aside, without upgrading v.1.1.0. So that there will be two versions being installed and visible in ARP.

Expected some flag at OnPlanRelatedBundle(PlanRelatedBundleEventArgs e), like e.Cancel = true, but did not find any related property or disable mechanism.

2) The bundle has 1 executable and 1 msi package.
Having multiple installations v.1.1.0, v.1.2.0, v.1.3.0 on the same machine, users should be able to choose what specific app version to update. 
For example, running v.1.4.0 and choosing upgrade only for the installed v.1.2.0, leaving installed 1.1.0 and 1.3.0 untouched. Currently, burn upgrades all versions.

Is there a way to achieve this?

Kind regards,

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

More information about the wix-users mailing list