[wix-users] Condition UILevel with burn
Phill Hogland
phill.hogland at rimage.com
Mon Feb 22 04:55:29 PST 2016
I am not aware of how to do that. I guess I would look at the wix source. I expect the mbaprereq to make sure that the minimum framework that my mba needs (NetFx45x) is in place so that my mba will run. Once the mba is running then I can do what is needed for other applications (like NetFx3 for one of my product scenarios). Since I target Win 7 SP1 or later the mbaprereq is rarely ever used, thankfully. If not using a mba and using WixStdBA then look at using a BAFunctions.dll, in the wix src\burn\samples.
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Roni Fuchs
Sent: Saturday, February 20, 2016 7:50 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Condition UILevel with burn
Hi Phill,
I can't do that because this wix code is for the prereq mba and this code might run before my custom MBA will run. (so I can't ugo through my MBA).
Is there any run-time wix only concept? Without going through my C# code (at my mba?)
Thanks,
Roni
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Phill Hogland
Sent: Thursday, February 18, 2016 20:07
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Condition UILevel with burn
Use an event handler (DetectComplete) in the BA to set a Burn Engine Variable, based on evaluating the Burn Command.Display object.
This syntax is for the 'pre-compiler' is a compile phase implemented by the candle tool, so it would not know anything about the users runtime beyhavior..
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Roni Fuchs
Sent: Thursday, February 18, 2016 11:58 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: [wix-users] Condition UILevel with burn
Hi everyone,
How can you condition a variable based on UILevel ?
I'm trying to do something like this: (2 is for silent)
<?if UILevel=2 ?>
<Variable
Name="var1"
Value="A" />
<?else?>
<Variable
Name="var1"
Value="b" />
<?endif?>
But it doesn't seem to work..
Any idea?
Thanks,
Roni (Aron) Fuchs
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2fwww.firegiant.com%2f&data=01%7c01%7cronif%40064d.mgd.microsoft.com%7c9043d07c4c2644bcbfa908d3388e46cf%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=MejJFoQRiUfr85JXQcFMV76QlXitw8yFTUoQJznyTIQ%3d
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2fwww.firegiant.com%2f&data=01%7c01%7cronif%40064d.mgd.microsoft.com%7c9043d07c4c2644bcbfa908d3388e46cf%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=MejJFoQRiUfr85JXQcFMV76QlXitw8yFTUoQJznyTIQ%3d
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users
mailing list