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.
source
share