Re: [WiX-users] WiX 3.8 extended bootstrapper [P]

2014-08-06 Thread Steven Ogilvie
Classification: Public
show the themefile as well

I presume you want to show a checkbox for java and checkbox for tomcat?

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

Hi,
my goal is to create a simple bootstrapper with two checkboxes, allowing the 
users to choose whether they want to install two additional software packages.
I'm trying to use Neil Sleightholm's extended bootstrapper functionality.
I've read that it's supported by the wix 3.8 release.
My code is the following:
?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=...
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=Java/
  ExePackage Id=Tomcat Vital=no Compressed=yes PerMachine=yes
SourceFile=apache-tomcat-8.0.9.exe InstallCondition=Tomcat/
  RollbackBoundary/
  MsiPackage Vital=yes Id=xxx SourceFile=xxx.msi
DisplayInternalUI=yes Compressed=yes/
/Chain
/Bundle
/Wix
The theme I'm trying to use is one of Neil's (not modified at all at this 
moment). I copied it into the project directory.
The project compiles without any errors nor warnings.
The problem is that when the bootsrapper get's executed, nothing appears.
What am I doing wrong? Is my approach going to work after fixing the issue?
If not, is there any possibility to add this functionality to the bootstrapper 
without getting involved into coding the bootstrapper dlls?
Thank you in advance for any answers.
Mateusz



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WiX-3-8-extended-bootstrapper-tp7596250.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=153845071iu=/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 
8:56:13 AM.

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=153845071iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WiX 3.8 extended bootstrapper [P]

2014-08-06 Thread vorsichtdiekurve
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=100a
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=yesCheckbox Option 1/Checkbox
Checkbox Name=Checkbox2 X=185 Y=211 Width=-11 Height=17
TabStop=yes FontId=3 HideWhenDisabled=yesCheckbox 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=3Textbox/Text
Editbox Name=ExtraText X=11 Y=243 Width=-91 Height=21
TabStop=yes FontId=3Useful Text/Editbox

Checkbox Name=Checkbox3 X=11 Y=-51 Width=-11 Height=17
TabStop=yes FontId=3 HideWhenDisabled=yesCheckbox 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

Re: [WiX-users] WiX 3.8 extended bootstrapper [P]

2014-08-06 Thread Steven Ogilvie
 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=yesCheckbox 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=100a
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