aboutsummaryrefslogtreecommitdiff
path: root/src/ext/UI/test/WixToolsetTest.UI/TestData/WixUI_Advanced/Package.wxs
blob: c22328e69a04a2fbab4e9f99f12d6846a213589b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:ui="http://wixtoolset.org/schemas/v4/wxs/ui">
    <Package Name="MsiPackage" Language="1033" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="047730a5-30fe-4a62-a520-da9381b8226a">
        <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />

        <Feature Id="ProductFeature" Title="MsiPackage">
            <ComponentGroupRef Id="ProductComponents" />
        </Feature>

        <ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
            <Component>
                <File Source="example.txt" />
            </Component>
        </ComponentGroup>

        <ui:WixUI Id="WixUI_Advanced" />
        <Property Id="ApplicationFolderName" Value="MyProgram" />
        <Property Id="WixAppFolder" Value="WixPerMachineFolder" />
    </Package>

    <Fragment>
        <StandardDirectory Id="ProgramFilesFolder">
            <Directory Id="INSTALLFOLDER" Name="MsiPackage">
                <Directory Id="APPLICATIONFOLDER" />
            </Directory>
        </StandardDirectory>
    </Fragment>
</Wix>