I modified the following in HyperLinkTheme.xml:
<Page Name="Options">
<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"
DisablePrefix="yes">#(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>
<!-- this line right here -->
<Checkbox Name="LocalDbCheckbox" X="11" Y="166" Width="260" Height="17"
TabStop="yes" FontId="3">Install SQL Express LocalDb 2012</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>
That theme file is referenced here in the Bundle.wxs:
<BootstrapperApplicationRef
Id="WixStandardBootstrapperApplication.HyperlinkLicense">
<bal:WixStandardBootstrapperApplication LicenseUrl=""
LogoFile="$(var.ProjectDir)Logo\jX.png"
ThemeFile="$(var.ProjectDir)Resources\HyperlinkTheme.xml" />
</BootstrapperApplicationRef>
The LocalDBCheckbox Burn Variable is referenced here in bundle.wxs to pass it
to the MSI:
<MsiProperty Name="USE_LOCALDB" Value="[LocalDbCheckbox]" />
And here in PackageGroup.wxs to condition the installation of LocalDb:
<Fragment>
<PackageGroup Id="SqlLocalDB32">
<MsiPackage Id="SqlLocalDB32"
InstallCondition="NOT VersionNT64 AND VersionNT >= v6.1 AND
LocalDbCheckbox"
SourceFile="$(var.ProjectDir)Layout\x86\SqlLocalDB.msi"
Vital="yes">
<MsiProperty Name="IACCEPTSQLLOCALDBLICENSETERMS" Value="YES"/>
</MsiPackage>
</PackageGroup>
</Fragment>
(there's a similar block for x64, but it doesn't illuminate the discussion any
more).
--
John Merryweather Cooper
Senior Software Engineer | Enterprise Service Applications | Continuing
Development
Jack Henry & Associates, Inc.® | Lenexa, KS 66214 | Ext: 431050
|[email protected]
-----Original Message-----
From: newuser2014 [mailto:[email protected]]
Sent: Thursday, September 18, 2014 5:42 PM
To: [email protected]
Subject: Re: [WiX-users] Bootstrapper Custom UI, Checkbox to customize install
Yes, I am running wix 3.8. Yep, a couple of checkboxes are all I need. Is
there an example of how this is done? Thanks!
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Bootstrapper-Custom-UI-Checkbox-to-customize-install-tp7596905p7596907.html
Sent from the wix-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Slashdot TV. Video for Nerds. Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are
intended
exclusively for the individual or entity to which it is addressed. The message,
together with any attachment, may contain confidential and/or privileged
information.
Any unauthorized review, use, printing, saving, copying, disclosure or
distribution
is strictly prohibited. If you have received this message in error, please
immediately advise the sender by reply email and delete all copies.
------------------------------------------------------------------------------
Slashdot TV. Video for Nerds. Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users