I have modified the RtfLicense theme to include a checkbox. The name of the
checkbox is the same name as the variable name that I use in the install
condition. When I execute the bundle and check the checkbox the variable is
always false.

bundle.was...

<Variable Name="INSTALLSERVER" />

    <Chain>
      <ExePackage Cache="no"
                  InstallCondition="INSTALLSERVER"
                  Description="SQL Server and Server Bundle"
                  Id="GuruServer"
                  SourceFile="ServerSQLBundle.exe">
      </ExePackage>

RtfTheme.xml

<Page Name="Options">
        <Text X="11" Y="80" Width="-11" Height="30" FontId="2"
DisablePrefix="yes">#(loc.OptionsHeader)</Text>
        <Text X="11" Y="120" Width="-11" Height="30" FontId="3"
DisablePrefix="yes">#(loc.OptionsDescription)</Text>
        *<Checkbox Name="INSTALLSERVER" X="11" Y="166" Width="260"
Height="17" TabStop="yes" FontId="3">Install Guru Server</Checkbox>*
       <Button Name="OptionsOkButton" X="229" Y="-11" Width="75" Height="23"
TabStop="yes" FontId="0">#(loc.OptionsOkButton)</Button>
      <Button Name="InstallButton" X="314" Y="-11" Width="75" Height="23"
TabStop="yes" FontId="0">#(loc.InstallInstallButton)</Button>
      <Button Name="WelcomeCancelButton" X="404" Y="-11" Width="75"
Height="23" TabStop="yes" FontId="0">#(loc.InstallCloseButton)</Button>
    </Page>

Thanks,
Gary




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Install-condition-is-not-being-set-in-options-dialog-tp7598513.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
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=164703151&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