| 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 | |
| 3 | |
| 4 | |
| 5 | <?include WixVer.wxi ?> |
| 6 | |
| 7 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util"> |
| 8 | <Package Name="!(loc.ShortProduct) v$(var.WixMajorMinor) Core" Language="1033" Manufacturer="!(loc.Company)" Version="$(var.WixMsiProductVersion)" UpgradeCode="3618724B-2523-44F9-A908-866AA619504D" InstallerVersion="200"> |
| 9 | |
| 10 | <SoftwareTag Regid="!(loc.Regid)" InstallDirectory="INSTALLFOLDER" /> |
| 11 | |
| 12 | <MajorUpgrade DowngradeErrorMessage="A later version of [ProductName] is already installed." /> |
| 13 | |
| 14 | <MediaTemplate CabinetTemplate="core{0}.cab" /> |
| 15 | |
| 16 | <Feature Id="Feature_WiX" Title="WiX Toolset" Level="1"> |
| 17 | <Component Id="Licensing" Directory="INSTALLFOLDER"> |
| 18 | <File Id="LICENSE.TXT" Source="LICENSE.TXT" /> |
| 19 | </Component> |
| 20 | |
| 21 | <Component Id="ProductRegistration" Directory="INSTALLFOLDER"> |
| 22 | <RegistryKey Root="HKLM" Key="SOFTWARE\Microsoft\Windows Installer XML\$(var.WixMajorMinor)"> |
| 23 | <RegistryValue Name="InstallFolder" Value="[INSTALLFOLDER]" Type="string" /> |
| 24 | </RegistryKey> |
| 25 | </Component> |
| 26 | |
| 27 | <Component Id="ProductFamilyRegistration" Directory="INSTALLFOLDER"> |
| 28 | <RegistryKey Root="HKLM" Key="SOFTWARE\Microsoft\Windows Installer XML\$(var.WixMajor).x"> |
| 29 | <RegistryValue Name="v$(var.WixMajorMinor)" Value="[INSTALLFOLDER]" Type="string" /> |
| 30 | </RegistryKey> |
| 31 | </Component> |
| 32 | |
| 33 | <Component Id="ProductInformation" Directory="BinFolder"> |
| 34 | <RegistryKey Root="HKLM" Key="SOFTWARE\Microsoft\Windows Installer XML\$(var.WixMajorMinor)"> |
| 35 | <RegistryValue Name="InstallRoot" Value="[BinFolder]" Type="string" /> |
| 36 | <RegistryValue Name="ProductVersion" Value="[ProductVersion]" Type="string" /> |
| 37 | </RegistryKey> |
| 38 | |
| 39 | <RemoveFolder Id="CleanupShortcutFolder" Directory="ShortcutFolder" On="uninstall" /> |
| 40 | </Component> |
| 41 | |
| 42 | <Component Directory="BinFolder"> |
| 43 | <File Id="wixtoolset.org.ico" Source="common\wixtoolset.org.ico"> |
| 44 | <?include ComRegistration.wxi ?> |
| 45 | </File> |
| 46 | <util:InternetShortcut Id="wixtoolset.org" Directory="ShortcutFolder" Name="WiX Home Page" Target="http://wixtoolset.org/" IconFile="file://[#wixtoolset.org.ico]" /> |
| 47 | </Component> |
| 48 | |
| 49 | <ComponentGroupRef Id="ToolsetComponents" /> |
| 50 | <ComponentGroupRef Id="ExtensionComponents" /> |
| 51 | <ComponentGroupRef Id="LuxComponents" /> |
| 52 | <ComponentGroupRef Id="DocComponents" /> |
| 53 | </Feature> |
| 54 | |
| 55 | <FeatureRef Id="Feature_MSBuild" /> |
| 56 | <FeatureRef Id="Feature_Intellisense2010" /> |
| 57 | <FeatureRef Id="Feature_Intellisense2012" /> |
| 58 | <FeatureRef Id="Feature_Intellisense2013" /> |
| 59 | <FeatureRef Id="Feature_Intellisense2015" /> |
| 60 | </Package> |
| 61 | </Wix> |