[wix-users] Per-machine Burn registration when chain includes skipped per-user packages

Rob Mensching rob at firegiant.com
Thu Sep 7 00:46:19 PDT 2017

There hasn't been a proposal to change the current behavior. Lots of interesting cases to consider should someone want to develop a WIP (http://wixtoolset.org/development/wips/0000-wix-improvement-proposal/).

 FireGiant  |  Dedicated support for the WiX toolset  |  http://www.firegiant.com/

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Steve Dower via wix-users
Sent: Monday, September 4, 2017 10:13 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Steve Dower <steve.dower at python.org>
Subject: [wix-users] Per-machine Burn registration when chain includes skipped per-user packages


I'm raising a question I asked a while ago in case things have changed. 
Otherwise I'll be coming up with a workaround in my custom bootstrapper this week while I have time allocated.

For context, my main bundle def is at
and a representative package group is

In my chain, I have both per-machine and per-user packages, and a very early decision in the bootstrapper chooses which set are enabled. 
However, an *earlier* decision in the Burn library (i.e. not in my code) has already decided that registration should always be per-user. This is despite the fact that only per-machine packages will eventually be installed, and the registration should therefore be for the entire machine.

Last time I asked there was no way to force registration to be per-machine during the planning stage. I'm hoping that has changed?

My current thinking for a workaround is to find the per-user registration in a post-install step and move it to the HKLM hive. Then I believe I should be able to manually detect the per-machine registration at launch and take the appropriate path (I don't have any need to support simultaneous per-user and per-machine installs - once it's there for the machine, it's okay to block an equivalent per-user install).

Any thoughts or suggestions would be appreciated.


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

More information about the wix-users mailing list