Adding Your Own License Agreement to the WIX Bootstrapper Project

How can I add my own license file to the WIX Bootstrapper project. I have a WIX Bootstrapper project that has installed the MSI chain, but I want to display my own license file when the installation starts.

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Bundle Name="Biodentify 2014 Setup" Version="1.0.0.0" Manufacturer="Microsoft" UpgradeCode="4056d930-16b2-44eb-a861-16db566ae44c">
    <BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense" />

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

  <MsiPackage  SourceFile=".\A.msi" Compressed="yes" />
  <MsiPackage  SourceFile=".\B.msi" Compressed="yes" />
  <MsiPackage  SourceFile=".\C.msi" Compressed="yes" />
  <MsiPackage SourceFile ="$(var.Setup.TargetPath)" Compressed ="yes" DisplayInternalUI="yes" />

    </Chain>
</Bundle>

+3
source share
1 answer

If you use a regular boot application WixStandardBootstrapperApplication.RtfLicense, all you have to do is set the BootstrapperApplicationRef/bal:WixStandardBootstrapperApplication/@LicenseFilename of the RTF file in the bundle.

Documentation example :

<?xml version="1.0"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" 
     xmlns:bal="http://schemas.microsoft.com/wix/BalExtension">
  <Bundle>
    <BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense">
      <bal:WixStandardBootstrapperApplication
        LicenseFile="path\to\license.rtf"
        LogoFile="path\to\customlogo.png" />
    </BootstrapperApplicationRef>

    <Chain>
      ...
    </Chain>
  </Bundle>
</Wix>

Note that you will need to add a link to WixBalExtensionin your project as well as in the namespace declaration.

+9
source

All Articles