Hi,
I need to have the InstallCommand for an ExePackage change depending on the 
value of a variable. But I can't figure out how that can be achieved, since the 
<Variable> element does not have a Condition attribute? Basically, I'd like to 
do this:

<Variable Name="SomeVar" Type="string" Value="False" /> <!-- Default value, can 
be overridden on commandline or in UI -->
<Variable Name="ExeParameters" type="string" Value="--default-flag" />
<Variable Name="ExeParameters" type="string" Value="--some-other-flag" 
Condition="SomeVar == 'True'" />
...
<Chain>
  <ExePackage [...] InstallCommand="[ExeParameters]" />
</Chain>

Or something similar that achieves the same thing. Can this be done without 
involving a custom BA?

Best regards,
Carl
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to