main
wxs 30 lines 1.32 KB
Raw
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">
3 <Package Name="WiX Toolset Theme Viewer" Manufacturer="WiX Toolset" Language="1033" Version="!(bind.fileVersion.ThmViewerFile)" UpgradeCode="59c4b122-5167-445b-8fc4-09dcd4eced89">
4 <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
5
6 <Feature Id="Main">
7 <ComponentGroupRef Id="Components" />
8 </Feature>
9 </Package>
10
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">
23 <Directory Id="INSTALLFOLDER" Name="WiX Toolset v$(SetupMajorMinorVersion)" />
24 </StandardDirectory>
25 <StandardDirectory Id="ProgramMenuFolder">
26 <Directory Id="ShortcutFolder" Name="WiX Toolset" />
27 </StandardDirectory>
28 </Fragment>
29
30 </Wix>