aboutsummaryrefslogtreecommitdiff
path: root/src/ThmViewerPackage/Package.wxs
blob: d758d4e0cce4241920d549dfb44bf0362048816e (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
35
36
<?xml version="1.0" encoding="UTF-8"?>
<!-- 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">
  <Product Name="WiX Toolset Theme Viewer" Manufacturer="WiX Toolset" Language="1033"
           Version="!(bind.fileVersion.ThmViewerFile)" UpgradeCode="59c4b122-5167-445b-8fc4-09dcd4eced89">
    <Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />

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

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

  <Fragment>
    <ComponentGroup Id="Components" Directory="INSTALLFOLDER:\bin\">
      <Component>
        <File Id="ThmViewerFile" Source="thmviewer.exe" />
        <Shortcut Name="!(bind.property.ProductName)" Directory="ShortcutFolder" Advertise="yes" />
      </Component>
    </ComponentGroup>
  </Fragment>

  <Fragment>
    <Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id="ProgramFilesFolder">
        <Directory Id="INSTALLFOLDER" Name="WiX Toolset v4.0" />
      </Directory>
      <Directory Id="ProgramMenuFolder">
        <Directory Id="ShortcutFolder" Name="WiX Toolset" />
      </Directory>
    </Directory>
  </Fragment>

</Wix>