Classification: Public
A few things...

You were missing a few things...
1. use Wix 3.8
2. add the HyperlinkTheme.wxl

I had all the files in the same folder as the bundle.wxs (i.e. the logo.png, 
logoside.png, license.rtf, bundle4theme.xml, hyperlinktheme.wxl

You would install tomcat/java based on the value of the checkbox:
i.e.
InstallCondition="Checkbox1 = 1"

Here is the bundle.wxs minus the exe/msi packages

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";
     xmlns:bal="http://schemas.microsoft.com/wix/BalExtension";
     xmlns:util="http://schemas.microsoft.com/wix/UtilExtension";>
  <?include $(var.SolutionDir)Variables.wxi ?>
  <Bundle Name="Sample Burn Installation" Version="1.0.0.0" 
UpgradeCode="2C81F0BB-1891-4E83-B71A-5160BA33D985"
    Manufacturer="ACME"
    AboutUrl="http://wixtoolset.org";>

    <BootstrapperApplicationRef 
Id="WixStandardBootstrapperApplication.HyperlinkLicense">
      <Payload SourceFile="LogoSide.png" />
      <Payload SourceFile="Logo.png" />
      <bal:WixStandardBootstrapperApplication
        SuppressOptionsUI="no"
        ThemeFile="Bundle4Theme.xml"
        LocalizationFile="HyperlinkTheme.wxl"
        LicenseFile="license.rtf" LicenseUrl=""
        SuppressRepair="yes"
        SuppressDowngradeFailure="yes"></bal:WixStandardBootstrapperApplication>
    </BootstrapperApplicationRef>
    
    <Variable Name="InstallFolder" Type="string" 
Value="[ProgramFilesFolder]ACME" />
    <Variable Name="InstallFolder2" Type="string" 
Value="[WindowsVolume]Database" />

    <Variable Name="Checkbox1" Type="numeric" Value="1" />
    <Variable Name="Checkbox2" Type="numeric" Value="1" />

Here is Bundle4Theme.xml:

<?xml version="1.0" encoding="utf-8"?>
<Theme xmlns="http://wixtoolset.org/schemas/thmutil/2010";>
  <Window Width="600" Height="450" HexStyle="100a0000" 
FontId="0">#(loc.Caption)</Window>
  <Font Id="0" Height="-12" Weight="500" Foreground="000000" 
Background="FFFFFF">Segoe UI</Font>
  <Font Id="1" Height="-24" Weight="500" Foreground="000000">Segoe UI</Font>
  <Font Id="2" Height="-22" Weight="500" Foreground="666666">Segoe UI</Font>
  <Font Id="3" Height="-12" Weight="500" Foreground="000000" 
Background="FFFFFF">Segoe UI</Font>
  <Font Id="4" Height="-12" Weight="500" Foreground="ff0000" 
Background="FFFFFF" Underline="yes">Segoe UI</Font>

  <Page Name="Help">
    <Text X="80" Y="11" Width="-11" Height="32" FontId="1" 
DisablePrefix="yes">#(loc.Title)</Text>
    <Image X="11" Y="11" Width="64" Height="64" ImageFile="Logo.png"/>
    <Text X="11" Y="80" Width="-11" Height="32" FontId="2" 
DisablePrefix="yes">#(loc.HelpHeader)</Text>
    <Text X="11" Y="121" Width="-11" Height="-35" FontId="3" 
DisablePrefix="yes">#(loc.HelpText)</Text>
    <Button Name="HelpCancelButton" X="-11" Y="-11" Width="75" Height="23" 
TabStop="yes" FontId="0">#(loc.HelpCloseButton)</Button>
  </Page>
  <Page Name="Install">
    <Text X="185" Y="11" Width="-11" Height="32" FontId="1" 
DisablePrefix="yes">#(loc.Title)</Text>
    <Image X="11" Y="11" Width="165" Height="400" ImageFile="LogoSide.png"/>
    <Text X="185" Y="50" Width="-11" Height="32" FontId="2" 
DisablePrefix="yes">#(loc.InstallHeader)</Text>
    <Text X="185" Y="91" Width="-11" Height="64" FontId="3" 
DisablePrefix="yes">#(loc.InstallMessage)</Text><!-- HexStyle="0x800000" -->

    <Checkbox Name="Checkbox1" X="185" Y="191" Width="-11" Height="17" 
TabStop="yes" FontId="3" HideWhenDisabled="yes">Java</Checkbox>
    <Checkbox Name="Checkbox2" X="185" Y="211" Width="-11" Height="17" 
TabStop="yes" FontId="3" HideWhenDisabled="yes">TomCat</Checkbox>

    <Hypertext Name="EulaHyperlink" X="185" Y="-111" Width="-11" Height="17" 
TabStop="yes" FontId="3" 
HideWhenDisabled="yes">#(loc.InstallLicenseLinkText)</Hypertext>
    <Text X="185" Y="-81" Width="-11" Height="17" FontId="3" 
DisablePrefix="yes">#(loc.InstallVersion)</Text>
    <Checkbox Name="EulaAcceptCheckbox" X="185" Y="-51" Width="-11" Height="17" 
TabStop="yes" FontId="3" 
HideWhenDisabled="yes">#(loc.InstallAcceptCheckbox)</Checkbox>
    <Button Name="OptionsButton" X="-171" Y="-11" Width="75" Height="23" 
TabStop="yes" FontId="0" 
HideWhenDisabled="yes">#(loc.InstallOptionsButton)</Button>
    <Button Name="InstallButton" X="-91" Y="-11" Width="75" Height="23" 
TabStop="yes" FontId="0">#(loc.InstallInstallButton)</Button>
    <Button Name="WelcomeCancelButton" X="-11" Y="-11" Width="75" Height="23" 
TabStop="yes" FontId="0">#(loc.InstallCloseButton)</Button>
  </Page>
  <Page Name="Options">
    <Text X="80" Y="11" Width="-11" Height="32" FontId="1" 
DisablePrefix="yes">#(loc.Title)</Text>
    <Image X="11" Y="11" Width="64" Height="64" ImageFile="Logo.png"/>
    <Text X="11" Y="80" Width="-11" Height="30" FontId="2" 
DisablePrefix="yes">#(loc.OptionsHeader)</Text>
    <Text X="11" Y="121" Width="-11" Height="17" 
FontId="3">#(loc.OptionsLocationLabel)</Text>
    <Editbox Name="FolderEditbox" X="11" Y="143" Width="-91" Height="21" 
TabStop="yes" FontId="3" FileSystemAutoComplete="yes" />
    <Button Name="BrowseButton" X="-11" Y="142" Width="75" Height="23" 
TabStop="yes" FontId="3">#(loc.OptionsBrowseButton)</Button>
    <Text X="11" Y="171" Width="-11" Height="17" 
FontId="3">#(loc.OptionsLocationLabel2)</Text>
    <Editbox Name="FolderEditbox2" X="11" Y="193" Width="-91" Height="21" 
TabStop="yes" FontId="3" FileSystemAutoComplete="yes" />
    <Button Name="BrowseButton2" X="-11" Y="192" Width="75" Height="23" 
TabStop="yes" FontId="3">#(loc.OptionsBrowseButton2)</Button>

    <Text X="11" Y="221" Width="-11" Height="17" FontId="3">Textbox</Text>
    <Editbox Name="ExtraText" X="11" Y="243" Width="-91" Height="21" 
TabStop="yes" FontId="3"></Editbox>

    <Checkbox Name="Checkbox3" X="11" Y="-51" Width="-11" Height="17" 
TabStop="yes" FontId="3" HideWhenDisabled="yes">Checkbox Option 3</Checkbox>

    <Button Name="OptionsOkButton" X="-91" Y="-11" Width="75" Height="23" 
TabStop="yes" FontId="0">#(loc.OptionsOkButton)</Button>
    <Button Name="OptionsCancelButton" X="-11" Y="-11" Width="75" Height="23" 
TabStop="yes" FontId="0">#(loc.OptionsCancelButton)</Button>
  </Page>
  <Page Name="Progress">
    <Text X="80" Y="11" Width="-11" Height="32" FontId="1" 
DisablePrefix="yes">#(loc.Title)</Text>
    <Image X="11" Y="11" Width="64" Height="64" ImageFile="Logo.png"/>
    <Text X="11" Y="80" Width="-11" Height="30" FontId="2" 
DisablePrefix="yes">#(loc.ProgressHeader)</Text>
    <Text X="11" Y="141" Width="70" Height="17" FontId="3" 
DisablePrefix="yes">#(loc.ProgressLabel)</Text>
    <Text Name="OverallProgressPackageText" X="85" Y="141" Width="-11" 
Height="17" FontId="3" 
DisablePrefix="yes">#(loc.OverallProgressPackageText)</Text>
    <Progressbar Name="OverallCalculatedProgressbar" X="11" Y="163" Width="-11" 
Height="15" />
    <Button Name="ProgressCancelButton" X="-11" Y="-11" Width="75" Height="23" 
TabStop="yes" FontId="0">#(loc.ProgressCancelButton)</Button>
  </Page>
  <Page Name="Modify">
    <Text X="185" Y="11" Width="-11" Height="32" FontId="1" 
DisablePrefix="yes">#(loc.Title)</Text>
    <Image X="11" Y="11" Width="165" Height="400" ImageFile="LogoSide.png"/>
    <Text X="185" Y="50" Width="-11" Height="30" FontId="2" 
DisablePrefix="yes">#(loc.ModifyHeader)</Text>
    <Button Name="RepairButton" X="-171" Y="-11" Width="75" Height="23" 
TabStop="yes" FontId="0" 
HideWhenDisabled="yes">#(loc.ModifyRepairButton)</Button>
    <Button Name="UninstallButton" X="-91" Y="-11" Width="75" Height="23" 
TabStop="yes" FontId="0">#(loc.ModifyUninstallButton)</Button>
    <Button Name="ModifyCancelButton" X="-11" Y="-11" Width="75" Height="23" 
TabStop="yes" FontId="0">#(loc.ModifyCloseButton)</Button>
  </Page>
  <Page Name="Success">
    <Text X="185" Y="11" Width="-11" Height="32" FontId="1" 
DisablePrefix="yes">#(loc.Title)</Text>
    <Image X="11" Y="11" Width="165" Height="400" ImageFile="LogoSide.png"/>
    <Text X="185" Y="50" Width="-11" Height="30" FontId="2" 
DisablePrefix="yes">#(loc.SuccessHeader)</Text>
    <Button Name="LaunchButton" X="-91" Y="-11" Width="75" Height="23" 
TabStop="yes" FontId="0" 
HideWhenDisabled="yes">#(loc.SuccessLaunchButton)</Button>
    <Text Name="SuccessRestartText" X="185" Y="-51" Width="400" Height="34" 
FontId="3" HideWhenDisabled="yes" 
DisablePrefix="yes">#(loc.SuccessRestartText)</Text>
    <Button Name="SuccessRestartButton" X="-91" Y="-11" Width="75" Height="23" 
TabStop="yes" FontId="0" 
HideWhenDisabled="yes">#(loc.SuccessRestartButton)</Button>
    <Button Name="SuccessCancelButton" X="-11" Y="-11" Width="75" Height="23" 
TabStop="yes" FontId="0">#(loc.SuccessCloseButton)</Button>
  </Page>
  <Page Name="Failure">
    <Text X="185" Y="11" Width="-11" Height="32" FontId="1" 
DisablePrefix="yes">#(loc.Title)</Text>
    <Image X="11" Y="11" Width="165" Height="400" ImageFile="LogoSide.png"/>
    <Text X="185" Y="50" Width="-11" Height="30" FontId="2" 
DisablePrefix="yes">#(loc.FailureHeader)</Text>
    <Hypertext Name="FailureLogFileLink" X="185" Y="121" Width="-11" 
Height="68" FontId="3" TabStop="yes" 
HideWhenDisabled="yes">#(loc.FailureHyperlinkLogText)</Hypertext>
    <Hypertext Name="FailureMessageText" X="185" Y="-115" Width="-11" 
Height="51" FontId="3" TabStop="yes" HideWhenDisabled="yes" />
    <Text Name="FailureRestartText" X="185" Y="-57" Width="-11" Height="51" 
FontId="3" HideWhenDisabled="yes" 
DisablePrefix="yes">#(loc.FailureRestartText)</Text>
    <Button Name="FailureRestartButton" X="-91" Y="-11" Width="75" Height="23" 
TabStop="yes" FontId="0" 
HideWhenDisabled="yes">#(loc.FailureRestartButton)</Button>
    <Button Name="FailureCloseButton" X="-11" Y="-11" Width="75" Height="23" 
TabStop="yes" FontId="0">#(loc.FailureCloseButton)</Button>
  </Page>
</Theme>

-----Original Message-----
From: vorsichtdiekurve [mailto:mp.mateusz.polan...@gmail.com]
Sent: August-06-14 9:19 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] WiX 3.8 extended bootstrapper [P]

Yes, my intent is to show two different checkboxes for Java and Tomcat.
The theme file is as following:
<?xml version="1.0" encoding="utf-8"?>
<Theme xmlns="http://wixtoolset.org/schemas/thmutil/2010";>
  <Window Width="600" Height="450" HexStyle="100a0000"
FontId="0">#(loc.Caption)</Window>
  Segoe UI
  Segoe UI
  Segoe UI
  Segoe UI
  Segoe UI

  <Page Name="Help">
    <Text X="80" Y="11" Width="-11" Height="32" FontId="1"
DisablePrefix="yes">#(loc.Title)</Text>
    <Image X="11" Y="11" Width="64" Height="64" ImageFile="Logo.png"/>
    <Text X="11" Y="80" Width="-11" Height="32" FontId="2"
DisablePrefix="yes">#(loc.HelpHeader)</Text>
    <Text X="11" Y="121" Width="-11" Height="-35" FontId="3"
DisablePrefix="yes">#(loc.HelpText)</Text>
    <Button Name="HelpCancelButton" X="-11" Y="-11" Width="75" Height="23"
TabStop="yes" FontId="0">#(loc.HelpCloseButton)</Button>
  </Page>
  <Page Name="Install">
    <Text X="185" Y="11" Width="-11" Height="32" FontId="1"
DisablePrefix="yes">#(loc.Title)</Text>
    <Image X="11" Y="11" Width="165" Height="400" ImageFile="LogoSide.png"/>
    <Text X="185" Y="50" Width="-11" Height="32" FontId="2"
DisablePrefix="yes">#(loc.InstallHeader)</Text>
    <Text X="185" Y="91" Width="-11" Height="64" FontId="3"
DisablePrefix="yes">#(loc.InstallMessage)</Text>

    <Checkbox Name="Checkbox1" X="185" Y="191" Width="-11" Height="17"
TabStop="yes" FontId="3" HideWhenDisabled="yes">Checkbox Option 1</Checkbox>
    <Checkbox Name="Checkbox2" X="185" Y="211" Width="-11" Height="17"
TabStop="yes" FontId="3" HideWhenDisabled="yes">Checkbox Option 2</Checkbox>

    <Hypertext Name="EulaHyperlink" X="185" Y="-111" Width="-11" Height="17"
TabStop="yes" FontId="3"
HideWhenDisabled="yes">#(loc.InstallLicenseLinkText)</Hypertext>
    <Text X="185" Y="-81" Width="-11" Height="17" FontId="3"
DisablePrefix="yes">#(loc.InstallVersion)</Text>
    <Checkbox Name="EulaAcceptCheckbox" X="185" Y="-51" Width="-11"
Height="17" TabStop="yes" FontId="3"
HideWhenDisabled="yes">#(loc.InstallAcceptCheckbox)</Checkbox>
    <Button Name="OptionsButton" X="-171" Y="-11" Width="75" Height="23"
TabStop="yes" FontId="0"
HideWhenDisabled="yes">#(loc.InstallOptionsButton)</Button>
    <Button Name="InstallButton" X="-91" Y="-11" Width="75" Height="23"
TabStop="yes" FontId="0">#(loc.InstallInstallButton)</Button>
    <Button Name="WelcomeCancelButton" X="-11" Y="-11" Width="75"
Height="23" TabStop="yes" FontId="0">#(loc.InstallCloseButton)</Button>
  </Page>
  <Page Name="Options">
    <Text X="80" Y="11" Width="-11" Height="32" FontId="1"
DisablePrefix="yes">#(loc.Title)</Text>
    <Image X="11" Y="11" Width="64" Height="64" ImageFile="Logo.png"/>
    <Text X="11" Y="80" Width="-11" Height="30" FontId="2"
DisablePrefix="yes">#(loc.OptionsHeader)</Text>
    <Text X="11" Y="121" Width="-11" Height="17"
FontId="3">#(loc.OptionsLocationLabel)</Text>
    <Editbox Name="FolderEditbox" X="11" Y="143" Width="-91" Height="21"
TabStop="yes" FontId="3" FileSystemAutoComplete="yes" />
    <Button Name="BrowseButton" X="-11" Y="142" Width="75" Height="23"
TabStop="yes" FontId="3">#(loc.OptionsBrowseButton)</Button>
    <Text X="11" Y="171" Width="-11" Height="17"
FontId="3">#(loc.OptionsLocationLabel2)</Text>
    <Editbox Name="FolderEditbox2" X="11" Y="193" Width="-91" Height="21"
TabStop="yes" FontId="3" FileSystemAutoComplete="yes" />
    <Button Name="BrowseButton2" X="-11" Y="192" Width="75" Height="23"
TabStop="yes" FontId="3">#(loc.OptionsBrowseButton2)</Button>

    <Text X="11" Y="221" Width="-11" Height="17" FontId="3">Textbox</Text>
    <Editbox Name="ExtraText" X="11" Y="243" Width="-91" Height="21"
TabStop="yes" FontId="3">Useful Text</Editbox>

    <Checkbox Name="Checkbox3" X="11" Y="-51" Width="-11" Height="17"
TabStop="yes" FontId="3" HideWhenDisabled="yes">Checkbox Option 3</Checkbox>

    <Button Name="OptionsOkButton" X="-91" Y="-11" Width="75" Height="23"
TabStop="yes" FontId="0">#(loc.OptionsOkButton)</Button>
    <Button Name="OptionsCancelButton" X="-11" Y="-11" Width="75"
Height="23" TabStop="yes" FontId="0">#(loc.OptionsCancelButton)</Button>
  </Page>
  <Page Name="Progress">
    <Text X="80" Y="11" Width="-11" Height="32" FontId="1"
DisablePrefix="yes">#(loc.Title)</Text>
    <Image X="11" Y="11" Width="64" Height="64" ImageFile="Logo.png"/>
    <Text X="11" Y="80" Width="-11" Height="30" FontId="2"
DisablePrefix="yes">#(loc.ProgressHeader)</Text>
    <Text X="11" Y="141" Width="70" Height="17" FontId="3"
DisablePrefix="yes">#(loc.ProgressLabel)</Text>
    <Text Name="OverallProgressPackageText" X="85" Y="141" Width="-11"
Height="17" FontId="3"
DisablePrefix="yes">#(loc.OverallProgressPackageText)</Text>
    <Progressbar Name="OverallCalculatedProgressbar" X="11" Y="163"
Width="-11" Height="15" />
    <Button Name="ProgressCancelButton" X="-11" Y="-11" Width="75"
Height="23" TabStop="yes" FontId="0">#(loc.ProgressCancelButton)</Button>
  </Page>
  <Page Name="Modify">
    <Text X="185" Y="11" Width="-11" Height="32" FontId="1"
DisablePrefix="yes">#(loc.Title)</Text>
    <Image X="11" Y="11" Width="165" Height="400" ImageFile="LogoSide.png"/>
    <Text X="185" Y="50" Width="-11" Height="30" FontId="2"
DisablePrefix="yes">#(loc.ModifyHeader)</Text>
    <Button Name="RepairButton" X="-171" Y="-11" Width="75" Height="23"
TabStop="yes" FontId="0"
HideWhenDisabled="yes">#(loc.ModifyRepairButton)</Button>
    <Button Name="UninstallButton" X="-91" Y="-11" Width="75" Height="23"
TabStop="yes" FontId="0">#(loc.ModifyUninstallButton)</Button>
    <Button Name="ModifyCancelButton" X="-11" Y="-11" Width="75" Height="23"
TabStop="yes" FontId="0">#(loc.ModifyCloseButton)</Button>
  </Page>
  <Page Name="Success">
    <Text X="185" Y="11" Width="-11" Height="32" FontId="1"
DisablePrefix="yes">#(loc.Title)</Text>
    <Image X="11" Y="11" Width="165" Height="400" ImageFile="LogoSide.png"/>
    <Text X="185" Y="50" Width="-11" Height="30" FontId="2"
DisablePrefix="yes">#(loc.SuccessHeader)</Text>
    <Button Name="LaunchButton" X="-91" Y="-11" Width="75" Height="23"
TabStop="yes" FontId="0"
HideWhenDisabled="yes">#(loc.SuccessLaunchButton)</Button>
    <Text Name="SuccessRestartText" X="185" Y="-51" Width="400" Height="34"
FontId="3" HideWhenDisabled="yes"
DisablePrefix="yes">#(loc.SuccessRestartText)</Text>
    <Button Name="SuccessRestartButton" X="-91" Y="-11" Width="75"
Height="23" TabStop="yes" FontId="0"
HideWhenDisabled="yes">#(loc.SuccessRestartButton)</Button>
    <Button Name="SuccessCancelButton" X="-11" Y="-11" Width="75"
Height="23" TabStop="yes" FontId="0">#(loc.SuccessCloseButton)</Button>
  </Page>
  <Page Name="Failure">
    <Text X="185" Y="11" Width="-11" Height="32" FontId="1"
DisablePrefix="yes">#(loc.Title)</Text>
    <Image X="11" Y="11" Width="165" Height="400" ImageFile="LogoSide.png"/>
    <Text X="185" Y="50" Width="-11" Height="30" FontId="2"
DisablePrefix="yes">#(loc.FailureHeader)</Text>
    <Hypertext Name="FailureLogFileLink" X="185" Y="121" Width="-11"
Height="68" FontId="3" TabStop="yes"
HideWhenDisabled="yes">#(loc.FailureHyperlinkLogText)</Hypertext>
    <Hypertext Name="FailureMessageText" X="185" Y="-115" Width="-11"
Height="51" FontId="3" TabStop="yes" HideWhenDisabled="yes" />
    <Text Name="FailureRestartText" X="185" Y="-57" Width="-11" Height="51"
FontId="3" HideWhenDisabled="yes"
DisablePrefix="yes">#(loc.FailureRestartText)</Text>
    <Button Name="FailureRestartButton" X="-91" Y="-11" Width="75"
Height="23" TabStop="yes" FontId="0"
HideWhenDisabled="yes">#(loc.FailureRestartButton)</Button>
    <Button Name="FailureCloseButton" X="-11" Y="-11" Width="75" Height="23"
TabStop="yes" FontId="0">#(loc.FailureCloseButton)</Button>
  </Page>
</Theme>
As I wrote, it isn't modified by me at this time, I just wanted to check 
whether anything appears.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Re-WiX-3-8-extended-bootstrapper-P-tp7596251p7596253.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

 
This message has been marked as Public by Steven Ogilvie on August-06-14 
12:04:39 PM.

The above classification labels were added to the message by TITUS Message 
Classification. 
For more information visit www.titus.com.

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&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