In v3.8 and later versions of 3.x, WixStdBA looks for a state variable
based on the name of the control.  You can do this by adding the following
to your bundle:

<?if $(var.FLAVOUR) != FLAV1 ?>
    <Variable Name="cbInstallTrainingState Value="disable" />
<?endif?>

On Sat, Feb 14, 2015 at 5:32 AM, Tall Tyke <chris.mo...@eque2.com> wrote:

> Hi,
>
> I have a WiX 3.9 bootsrapper project based on the
> StandardBootstrapperApplication and it has this line on the "Install" page
> :
>
>
>
> The project has a pre-processer variable called "Flavour" accessed as
> $(var.FLAVOUR)
>
> Now I only want that line to appear on the Install page when
> $(var.FLAVOUR)=FLAV1 - other possible values are FLAV2 & FLAV3 and for
> those
> values I don't want the line to appear.
>
> Is this possible ?
>
> Cheers,
>
> Chris.
>
>
>
> --
> View this message in context:
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WiX-Bundle-Hide-Text-on-Options-page-based-on-Pre-processer-variable-tp7599226.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
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=190641631&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