aboutsummaryrefslogtreecommitdiff
path: root/src/test/WixToolsetTest.CoreIntegration/TestData/Variables/Package.wxs
blob: 57c24f5773322557b2505cacca79ec699338967e (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
29
30
31
32
33
34
<?xml version="1.0" encoding="utf-8"?>

<?define Foo = "Foo" ?>
<?define Foo = "Foo" ?>

<?define Bar = "Bar" ?>
<?define Bar = "Baz" ?>

<?ifdef $(sys.WIXVERSION) ?>
<?if $(sys.WIXMAJORVERSION) >= 4 AND $(sys.WIXMAJORVERSION) < 5 ?>
  <?warning WiX v4 is in effect! ?>
<?endif?>
<?endif?>

<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
  <Product Id="*" 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="!(loc.DowngradeError)" />
    <MediaTemplate />

    <Feature Id="ProductFeature" Title="!(loc.FeatureTitle)">
      <ComponentGroupRef Id="ProductComponents" />
    </Feature>
  </Product>

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