This project has moved. For the latest updates, please go here.
Guide
Here is what you have to do in order to create a bootstrapper with the Classic WiX Burn Theme in English.

You need both Visual Studio 2012/2013 and the WiX toolset installed. Start Visual Studio and create a new project from the Windows Installer XML folder of the type Bootstrapper.

Your bootstrapper code will be this:
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
	<Bundle Name="Bootstrapper2" Version="1.0.0.0" Manufacturer="" UpgradeCode="793a0fbf-3df7-44ba-b441-20ee04a1f9de">
		<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense" />

		<Chain>
			<!-- TODO: Define the list of chained packages. -->
			<!-- <MsiPackage SourceFile="path\to\your.msi" /> -->
		</Chain>
	</Bundle>
</Wix>


Change this:
<!-- <MsiPackage SourceFile="path\to\your.msi" /> -->

to include a .msi file of yours.

Now download 1033.zip and extract the two files. You also need an image file (.png file). Now add the files to your project like this:
project.PNG

Now replace the:
    <BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense" />

with this:
    <BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.HyperlinkLicense" >
      <bal:WixStandardBootstrapperApplication
        LogoFile="res/banner.png"
        ThemeFile="res/ClassicTheme.xml"
        LocalizationFile="res/ClassicTheme.wxl" 
        LicenseUrl="http://opensource.org/licenses/ms-rl" /> 
    </BootstrapperApplicationRef>

and add the bal namespace like this:
    <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:bal="http://schemas.microsoft.com/wix/BalExtension">

The LicenseUrl must point to a license file or be empty (LicenseUrl=""). If LicenseUrl is empty the license UI is not shown:

NoLicenseUrl.PNG


Done
That is it. Build the project and try out your bootstrapper.


Last edited Jan 24, 2014 at 5:05 PM by mrtn, version 12