Also, I would suggest that before you try to extend the UI, get you
bootstrapper working so that you can select either package from the command
line.  Something like this (winging it without testing):

<?xml version="1.0" encoding="UTF-8"?> 
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";
          xmlns:bal="http://schemas.microsoft.com/wix/BalExtension";>
        <Bundle Name="Bootstrapper1" Version="1.0.0.0" Manufacturer="..."
UpgradeCode="...">

   
   <Variable Name='Option1' Value='1' Type='numeric' bal:Overridable='yes'/>
   <Variable Name='Option2' Value='1' Type='numeric' bal:Overridable='yes'/>

    <BootstrapperApplicationRef
Id="WixStandardBootstrapperApplication.HyperlinkLicense">
      <Payload SourceFile="Bundle4Theme.xml"/>
      <bal:WixStandardBootstrapperApplication ThemeFile="Bundle4Theme.xml"
LicenseUrl=""/>
    </BootstrapperApplicationRef>
                <Chain>
      <ExePackage Id="Java" Vital="no" Compressed="yes" PerMachine="yes"
SourceFile="jre-7u67-windows-x64.exe"

 InstallCondition="Option1=1"

/>
      <ExePackage Id="Tomcat" Vital="no" Compressed="yes" PerMachine="yes"
SourceFile="apache-tomcat-8.0.9.exe" 


InstallCondition="Option2=1"

/>
      <RollbackBoundary/>
      <MsiPackage Vital="yes" Id="xxx" SourceFile="xxx.msi"
DisplayInternalUI="yes" Compressed="yes"/>
                </Chain>
        </Bundle>
</Wix>

So now on you command line, since in this example both options default to
one, if you do not want to install Tomcat  use bundle.exe Option2=0

Now add your Theme to display two checkboxes Option1_PB and Option2_PB and
in you babuntions.dll read those two controls and set the numeric Engine
variable "Option1" or "Option2" to either 1 or 0.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WiX-3-8-extended-bootstrapper-tp7596250p7596255.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

Reply via email to