diff options
Diffstat (limited to '')
-rw-r--r-- | src/setup/wix-cli/Package.wxs | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/src/setup/wix-cli/Package.wxs b/src/setup/wix-cli/Package.wxs new file mode 100644 index 00000000..9c193130 --- /dev/null +++ b/src/setup/wix-cli/Package.wxs | |||
@@ -0,0 +1,81 @@ | |||
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 Command-Line Tools" Manufacturer="WiX Toolset" Version="!(bind.fileVersion.WixExe)" UpgradeCode="2e85dc76-769f-46d2-82a7-46cb3a0c9d50"> | ||
4 | <MediaTemplate EmbedCab="yes" /> | ||
5 | |||
6 | <ComponentGroupRef Id="BinaryFiles" /> | ||
7 | <ComponentGroupRef Id="ExtensionFiles" /> | ||
8 | |||
9 | <Property Id="ARPURLINFOABOUT" Value="https://wixtoolset.org/" /> | ||
10 | <Property Id="ARPHELPLINK" Value="https://wixtoolset.org/docs/gethelp/" /> | ||
11 | <SetProperty Id="ARPINSTALLLOCATION" Value="[INSTALLFOLDER]" After="CostFinalize" /> | ||
12 | </Package> | ||
13 | |||
14 | <Fragment> | ||
15 | <ComponentGroup Id="BinaryFiles" Directory="BinFolder"> | ||
16 | <Component> | ||
17 | <File Id="WixExe" Source="!(bindpath.Files)\wix.exe" /> | ||
18 | <File Source="!(bindpath.Files)\wix.exe.config" /> | ||
19 | |||
20 | <Environment Name="PATH" Value="[BinFolder]" Action="set" Part ="last" System="yes" /> | ||
21 | <Environment Name="WIX$(SetupMajorVersion)" Value="[BinFolder]" Action="set" System="yes" /> | ||
22 | </Component> | ||
23 | |||
24 | <Files Include="!(bindpath.Files)\**"> | ||
25 | <Exclude Files="!(bindpath.Files)\wix.exe*" /> | ||
26 | <Exclude Files="!(bindpath.Files)\**\*.xml" /> | ||
27 | <Exclude Files="!(bindpath.Files)\**\*.targets" /> | ||
28 | </Files> | ||
29 | |||
30 | <Files Include="!(bindpath.Heat_x64)\**" Subdirectory="x64" /> | ||
31 | <Files Include="!(bindpath.Heat_x86)\**" Subdirectory="x86" /> | ||
32 | </ComponentGroup> | ||
33 | </Fragment> | ||
34 | |||
35 | <Fragment> | ||
36 | <ComponentGroup Id="ExtensionFiles" Directory="ExtensionFolder"> | ||
37 | <File Subdirectory="WixToolset.BootstrapperApplications.wixext\$(SetupMajorMinorPatchVersion)\wixext$(SetupMajorVersion)" | ||
38 | Source="WixToolset.BootstrapperApplications.wixext.dll" /> | ||
39 | <File Subdirectory="WixToolset.ComPlus.wixext\$(SetupMajorMinorPatchVersion)\wixext$(SetupMajorVersion)" | ||
40 | Source="WixToolset.ComPlus.wixext.dll" /> | ||
41 | <File Subdirectory="WixToolset.Dependency.wixext\$(SetupMajorMinorPatchVersion)\wixext$(SetupMajorVersion)" | ||
42 | Source="WixToolset.Dependency.wixext.dll" /> | ||
43 | <File Subdirectory="WixToolset.DirectX.wixext\$(SetupMajorMinorPatchVersion)\wixext$(SetupMajorVersion)" | ||
44 | Source="WixToolset.DirectX.wixext.dll" /> | ||
45 | <File Subdirectory="WixToolset.Firewall.wixext\$(SetupMajorMinorPatchVersion)\wixext$(SetupMajorVersion)" | ||
46 | Source="WixToolset.Firewall.wixext.dll" /> | ||
47 | <File Subdirectory="WixToolset.Http.wixext\$(SetupMajorMinorPatchVersion)\wixext$(SetupMajorVersion)" | ||
48 | Source="WixToolset.Http.wixext.dll" /> | ||
49 | <File Subdirectory="WixToolset.Iis.wixext\$(SetupMajorMinorPatchVersion)\wixext$(SetupMajorVersion)" | ||
50 | Source="WixToolset.Iis.wixext.dll" /> | ||
51 | <File Subdirectory="WixToolset.Msmq.wixext\$(SetupMajorMinorPatchVersion)\wixext$(SetupMajorVersion)" | ||
52 | Source="WixToolset.Msmq.wixext.dll" /> | ||
53 | <File Subdirectory="WixToolset.NetFx.wixext\$(SetupMajorMinorPatchVersion)\wixext$(SetupMajorVersion)" | ||
54 | Source="WixToolset.NetFx.wixext.dll" /> | ||
55 | <File Subdirectory="WixToolset.PowerShell.wixext\$(SetupMajorMinorPatchVersion)\wixext$(SetupMajorVersion)" | ||
56 | Source="WixToolset.PowerShell.wixext.dll" /> | ||
57 | <File Subdirectory="WixToolset.Sql.wixext\$(SetupMajorMinorPatchVersion)\wixext$(SetupMajorVersion)" | ||
58 | Source="WixToolset.Sql.wixext.dll" /> | ||
59 | <File Subdirectory="WixToolset.UI.wixext\$(SetupMajorMinorPatchVersion)\wixext$(SetupMajorVersion)" | ||
60 | Source="WixToolset.UI.wixext.dll" /> | ||
61 | <File Subdirectory="WixToolset.Util.wixext\$(SetupMajorMinorPatchVersion)\wixext$(SetupMajorVersion)" | ||
62 | Source="WixToolset.Util.wixext.dll" /> | ||
63 | <File Subdirectory="WixToolset.VisualStudio.wixext\$(SetupMajorMinorPatchVersion)\wixext$(SetupMajorVersion)" | ||
64 | Source="WixToolset.VisualStudio.wixext.dll" /> | ||
65 | </ComponentGroup> | ||
66 | </Fragment> | ||
67 | |||
68 | <Fragment> | ||
69 | <StandardDirectory Id="ProgramFiles64Folder"> | ||
70 | <Directory Id="INSTALLFOLDER" Name="WiX Toolset v$(SetupMajorMinorVersion)"> | ||
71 | <Directory Id="BinFolder" Name="bin" /> | ||
72 | </Directory> | ||
73 | </StandardDirectory> | ||
74 | </Fragment> | ||
75 | |||
76 | <Fragment> | ||
77 | <StandardDirectory Id="CommonFiles64Folder"> | ||
78 | <Directory Id="ExtensionFolder" Name="WixToolset\extensions" /> | ||
79 | </StandardDirectory> | ||
80 | </Fragment> | ||
81 | </Wix> | ||