aboutsummaryrefslogtreecommitdiff
path: root/src/tools/WixToolset.Templates/templates/PackageProject/Package.wxs
blob: ac69e54908ffff13931a11784c0e3316fe2d26de (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
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
  <Package Name="$safeprojectname$" Manufacturer="$company$" Version="$version$" UpgradeCode="PUT-GUID-HERE">
    <MajorUpgrade DowngradeError="A newer version of [ProductName] is already installed" />

    <Feature Id="Main">
      <ComponentGroupRef Id="Components" />
    </Feature>
  </Package>

  <Fragment>
    <ComponentGroup Id="Components" Directory="INSTALLFOLDER">
      <Component>
        <!-- TODO: Install something more useful than this source code file itself -->
        <File Source="Package.wxs" />
      </Component>
    </ComponentGroup>
  </Fragment>

  <Fragment>
    <StandardDirectory Id="ProgramFiles6432Folder">
      <Directory Id="INSTALLFOLDER" Name="!(Property.Manufacturer) !(Property.ProductName)" />
    </StandardDirectory>
  </Fragment>
</Wix>