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