<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->


<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
    <!-- RTF License Payload Group -->
    <Fragment>
        <PayloadGroup Id="WixStdbaRtfLicensePayloads">
            <Payload Name="thm.xml" Compressed="yes" SourceFile="!(wix.WixStdbaThemeXml=RtfTheme.xml)" />
            <Payload Name="thm.wxl" Compressed="yes" SourceFile="!(wix.WixStdbaThemeWxl=RtfTheme.wxl)" />
            <Payload Name="logo.png" Compressed="yes" SourceFile="!(wix.WixStdbaLogo=logo.png)" />

            <Payload Name="!(wix.WixStdbaLicenseRtfName=license.rtf)" Compressed="yes" SourceFile="!(wix.WixStdbaLicenseRtf=LoremIpsumLicense.rtf)" />
        </PayloadGroup>

        <BundleCustomDataRef Id="WixStdbaInformation">
            <BundleElement>
                <BundleAttribute Id="LicenseFile" Value="!(wix.WixStdbaLicenseRtfName=license.rtf)" />
            </BundleElement>
        </BundleCustomDataRef>
    </Fragment>

    <!-- RTF Large License Payload Group -->
    <Fragment>
        <PayloadGroup Id="WixStdbaRtfLargeLicensePayloads">
            <Payload Name="thm.xml" Compressed="yes" SourceFile="!(wix.WixStdbaThemeXml=RtfLargeTheme.xml)" />
            <Payload Name="thm.wxl" Compressed="yes" SourceFile="!(wix.WixStdbaThemeWxl=RtfTheme.wxl)" />
            <Payload Name="logo.png" Compressed="yes" SourceFile="!(wix.WixStdbaLogo=logo.png)" />

            <Payload Name="!(wix.WixStdbaLicenseRtfName=license.rtf)" Compressed="yes" SourceFile="!(wix.WixStdbaLicenseRtf=LoremIpsumLicense.rtf)" />
        </PayloadGroup>

        <BundleCustomDataRef Id="WixStdbaInformation">
            <BundleElement>
                <BundleAttribute Id="LicenseFile" Value="!(wix.WixStdbaLicenseRtfName=license.rtf)" />
            </BundleElement>
        </BundleCustomDataRef>
    </Fragment>

    <!-- Hyperlink License Payload Group -->
    <Fragment>
        <PayloadGroup Id="WixStdbaHyperlinkLicensePayloads">
            <Payload Name="thm.xml" Compressed="yes" SourceFile="!(wix.WixStdbaThemeXml=HyperlinkTheme.xml)" />
            <Payload Name="thm.wxl" Compressed="yes" SourceFile="!(wix.WixStdbaThemeWxl=HyperlinkTheme.wxl)" />
            <Payload Name="logo.png" Compressed="yes" SourceFile="!(wix.WixStdbaLogo=logo.png)" />
        </PayloadGroup>

        <BundleCustomDataRef Id="WixStdbaInformation">
            <BundleElement>
                <BundleAttribute Id="LicenseUrl" Value="!(wix.WixStdbaLicenseUrl)" />
            </BundleElement>
        </BundleCustomDataRef>
    </Fragment>

    <!-- Hyperlink Large License Payload Group -->
    <Fragment>
        <PayloadGroup Id="WixStdbaHyperlinkLargeLicensePayloads">
            <Payload Name="thm.xml" Compressed="yes" SourceFile="!(wix.WixStdbaThemeXml=HyperlinkLargeTheme.xml)" />
            <Payload Name="thm.wxl" Compressed="yes" SourceFile="!(wix.WixStdbaThemeWxl=HyperlinkTheme.wxl)" />
            <Payload Name="logo.png" Compressed="yes" SourceFile="!(wix.WixStdbaLogo=logo.png)" />
        </PayloadGroup>

        <BundleCustomDataRef Id="WixStdbaInformation">
            <BundleElement>
                <BundleAttribute Id="LicenseUrl" Value="!(wix.WixStdbaLicenseUrl)" />
            </BundleElement>
        </BundleCustomDataRef>
    </Fragment>

    <!-- HyperlinkSidebar License Payload Group -->
    <Fragment>
        <PayloadGroup Id="WixStdbaHyperlinkSidebarLicensePayloads">
            <Payload Name="thm.xml" Compressed="yes" SourceFile="!(wix.WixStdbaThemeXml=HyperlinkSidebarTheme.xml)" />
            <Payload Name="thm.wxl" Compressed="yes" SourceFile="!(wix.WixStdbaThemeWxl=HyperlinkTheme.wxl)" />
            <Payload Name="logo.png" Compressed="yes" SourceFile="!(wix.WixStdbaLogo=logo.png)" />
            <Payload Name="logoside.png" Compressed="yes" SourceFile="!(wix.WixStdbaLogoSide=logoside.png)" />
        </PayloadGroup>

        <BundleCustomDataRef Id="WixStdbaInformation">
            <BundleElement>
                <BundleAttribute Id="LicenseUrl" Value="!(wix.WixStdbaLicenseUrl)" />
            </BundleElement>
        </BundleCustomDataRef>
    </Fragment>

    <!-- BootstrapperApplicationData tables definition -->
    <Fragment>
        <BundleCustomData Id="WixStdbaInformation">
            <BundleAttributeDefinition Id="LicenseFile" />
            <BundleAttributeDefinition Id="LicenseUrl" />
        </BundleCustomData>
    </Fragment>
</Wix>