[wix-users] Convincing internal MSI to run during Modify mode with custom bootstrapper
Bob Arnson
bob at firegiant.com
Mon Oct 14 11:46:59 PDT 2019
Same principle applies.
-----Original Message-----
From: Vanniekerk, Tyrel (GE Healthcare) <tyrel.vanniekerk at ge.com>
Sent: Monday, 14 October, 2019 14:06
To: Bob Arnson <bob at firegiant.com>; WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: RE: Convincing internal MSI to run during Modify mode with custom bootstrapper
I have seen that blog page, but it seemed to be more about using feature states in component conditions, not something I am doing.
-----Original Message-----
From: Bob Arnson <bob at firegiant.com>
Sent: Monday, October 14, 2019 11:32 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Vanniekerk, Tyrel (GE Healthcare) <tyrel.vanniekerk at ge.com>
Subject: EXT: RE: Convincing internal MSI to run during Modify mode with custom bootstrapper
http://www.joyofsetup.com/2008/04/09/feature-states-in-component-conditions/
-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Vanniekerk, Tyrel (GE Healthcare) via wix-users
Sent: Monday, 14 October, 2019 09:53
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Vanniekerk, Tyrel (GE Healthcare) <tyrel.vanniekerk at ge.com>
Subject: Re: [wix-users] Convincing internal MSI to run during Modify mode with custom bootstrapper
I have done a lot of reading and think I have a better grasp on how WiX/MSI process things. I am still having an issue though, probably with my syntax. Hope you can help.
In my bootstrapper log file it shows that the two features (One conditional, the other not) are planned to be installed (AddLocal). In the MSI log file however it seems the condition on FeatureB was not evaluated as true, so that Request and Action is set to Null. Seeing as I set the planned state for FeatureB to Local, who does (&FeatureB = 3) evaluate to false?
[09A8:4B80][2019-10-14T08:23:45]i203: Planned feature: FeatureB, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove
[09A8:4B80][2019-10-14T08:23:45]i203: Planned feature: FeatureA, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove
MSI (s) (50:40) [08:23:59:166]: Feature: FeatureB; Installed: Absent; Request: Null; Action: Null
MSI (s) (50:40) [08:23:59:166]: Feature: FeatureA; Installed: Absent; Request: Local; Action: Local
<Feature Id="FeatureA" Title="Feature A" Level="1">
<ComponentGroupRef Id="SomeId" />
</Feature>
<Feature Id="FeatureB" Title="Feature B" Level="0">
<Condition Level="1"><![CDATA[(&FeatureB = 3)]]></Condition>
</Feature>
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users
mailing list