aboutsummaryrefslogtreecommitdiff
path: root/src/test/WixToolsetTest.UI/TestData/WixUI_FeatureTree/Package.wxs
blob: dc0e990d344e7443f746ae5b3d4338697a2bc3c7 (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
28
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
    <Product Name="MsiPackage" Language="1033" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="047730a5-30fe-4a62-a520-da9381b8226a">
        <Package InstallerVersion="200" Compressed="no" InstallScope="perMachine" />

        <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
        <MediaTemplate />

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

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

        <UIRef Id="WixUI_FeatureTree" />
    </Product>

    <Fragment>
        <Directory Id="TARGETDIR" Name="SourceDir">
            <Directory Id="ProgramFilesFolder">
                <Directory Id="INSTALLFOLDER" Name="MsiPackage" />
            </Directory>
        </Directory>
    </Fragment>
</Wix>