diff options
Diffstat (limited to 'src/ThmViewerPackage/Package.wxs')
-rw-r--r-- | src/ThmViewerPackage/Package.wxs | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/ThmViewerPackage/Package.wxs b/src/ThmViewerPackage/Package.wxs new file mode 100644 index 00000000..cfa041ba --- /dev/null +++ b/src/ThmViewerPackage/Package.wxs | |||
@@ -0,0 +1,36 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <!-- 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. --> | ||
3 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
4 | <Product Name="WiX Toolset Theme Viewer" Manufacturer="WiX Toolset" Language="1033" | ||
5 | Version="!(bind.fileVersion.ThmViewerFile)" UpgradeCode="59c4b122-5167-445b-8fc4-09dcd4eced89"> | ||
6 | <Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" /> | ||
7 | |||
8 | <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." /> | ||
9 | <MediaTemplate /> | ||
10 | |||
11 | <Feature Id="Main"> | ||
12 | <ComponentGroupRef Id="Components" /> | ||
13 | </Feature> | ||
14 | </Product> | ||
15 | |||
16 | <Fragment> | ||
17 | <ComponentGroup Id="Components" Directory="INSTALLFOLDER:\bin\"> | ||
18 | <Component> | ||
19 | <File Id="ThmViewerFile" Source="thmviewer.exe" /> | ||
20 | <Shortcut Name="!(bind.property.ProductName)" Directory="ShortcutFolder" Advertise="yes" /> | ||
21 | </Component> | ||
22 | </ComponentGroup> | ||
23 | </Fragment> | ||
24 | |||
25 | <Fragment> | ||
26 | <Directory Id="TARGETDIR" Name="SourceDir"> | ||
27 | <Directory Id="ProgramFilesFolder"> | ||
28 | <Directory Id="INSTALLFOLDER" Name="WiX Toolset v4.0\" /> | ||
29 | </Directory> | ||
30 | <Directory Id="ProgramMenuFolder"> | ||
31 | <Directory Id="ShortcutFolder" Name="WiX Toolset\" /> | ||
32 | </Directory> | ||
33 | </Directory> | ||
34 | </Fragment> | ||
35 | |||
36 | </Wix> | ||