[wix-users] Condition UILevel with burn

Phill Hogland phill.hogland at rimage.com
Thu Feb 18 10:06:47 PST 2016


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 http://www.firegiant.com/



More information about the wix-users mailing list