diff options
Diffstat (limited to 'src/setup')
| -rw-r--r-- | src/setup/ThmViewerPackage/ThmViewerPackage.wxs | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/src/setup/ThmViewerPackage/ThmViewerPackage.wxs b/src/setup/ThmViewerPackage/ThmViewerPackage.wxs index df398d0f..66bbe766 100644 --- a/src/setup/ThmViewerPackage/ThmViewerPackage.wxs +++ b/src/setup/ThmViewerPackage/ThmViewerPackage.wxs | |||
| @@ -1,24 +1,14 @@ | |||
| 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 Id="WixToolset.ThemeViewer.Package" Name="WiX Toolset Theme Viewer" Manufacturer="WiX Toolset" Language="1033" Version="!(bind.fileVersion.ThmViewerFile)"> | 3 | <Package Id="WixToolset.ThemeViewer.Package" Name="WiX Toolset Theme Viewer" Manufacturer="WiX Toolset" Language="1033" Version="!(bind.fileVersion.ThmViewerFile)"> |
| 4 | <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." /> | 4 | <Component> |
| 5 | 5 | <File Id="ThmViewerFile" Source="thmviewer.exe" /> | |
| 6 | <Feature Id="Main"> | 6 | <Shortcut Name="!(bind.property.ProductName)" Directory="ShortcutFolder" Advertise="yes" /> |
| 7 | <ComponentGroupRef Id="Components" /> | 7 | <RemoveFolder Directory="ShortcutFolder" On="uninstall" /> |
| 8 | </Feature> | 8 | </Component> |
| 9 | </Package> | 9 | </Package> |
| 10 | 10 | ||
| 11 | <Fragment> | 11 | <Fragment> |
| 12 | <ComponentGroup Id="Components" Directory="INSTALLFOLDER" Subdirectory="bin"> | ||
| 13 | <Component> | ||
| 14 | <File Id="ThmViewerFile" Source="thmviewer.exe" /> | ||
| 15 | <Shortcut Name="!(bind.property.ProductName)" Directory="ShortcutFolder" Advertise="yes" /> | ||
| 16 | <RemoveFolder Directory="ShortcutFolder" On="uninstall" /> | ||
| 17 | </Component> | ||
| 18 | </ComponentGroup> | ||
| 19 | </Fragment> | ||
| 20 | |||
| 21 | <Fragment> | ||
| 22 | <StandardDirectory Id="ProgramFilesFolder"> | 12 | <StandardDirectory Id="ProgramFilesFolder"> |
| 23 | <Directory Id="INSTALLFOLDER" Name="WiX Toolset v$(SetupMajorMinorVersion)" /> | 13 | <Directory Id="INSTALLFOLDER" Name="WiX Toolset v$(SetupMajorMinorVersion)" /> |
| 24 | </StandardDirectory> | 14 | </StandardDirectory> |
