[wix-users] Condition UILevel with burn

Roni Fuchs ronif at microsoft.com
Sat Feb 20 05:49:31 PST 2016


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



More information about the wix-users mailing list