| 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 | <Property Id="QtExecCmdTimeout" Value="600000" /> |
| 17 | <CustomAction Id="InstallVSTemplateCommand" Property="WixQuietExecCmdLine" Value=""[VSENVPRODUCT80]\devenv.exe" /setup" /> |
| 18 | <CustomAction Id="InstallVSTemplate" DllEntry="WixQuietExec" Return="asyncWait" BinaryRef="Wix4UtilCA_X86" /> |
| 19 | |
| 20 | <Feature Id="Feature_WiX" Title="WiX Toolset" Level="1"> |
| 21 | <Component Id="Licensing" Directory="INSTALLFOLDER"> |
| 22 | <File Id="LICENSE.TXT" Source="LICENSE.TXT" /> |
| 23 | </Component> |
| 24 | |
| 25 | <Component Id="ProductRegistration" Directory="INSTALLFOLDER"> |
| 26 | <RegistryKey Root="HKLM" Key="SOFTWARE\Microsoft\Windows Installer XML\$(var.WixMajorMinor)"> |
| 27 | <RegistryValue Name="InstallFolder" Value="[INSTALLFOLDER]" Type="string" /> |
| 28 | </RegistryKey> |
| 29 | </Component> |
| 30 | |
| 31 | <Component Id="ProductFamilyRegistration" Directory="INSTALLFOLDER"> |
| 32 | <RegistryKey Root="HKLM" Key="SOFTWARE\Microsoft\Windows Installer XML\$(var.WixMajor).x"> |
| 33 | <RegistryValue Name="v$(var.WixMajorMinor)" Value="[INSTALLFOLDER]" Type="string" /> |
| 34 | </RegistryKey> |
| 35 | </Component> |
| 36 | |
| 37 | <Component Id="ProductInformation" Directory="BinFolder"> |
| 38 | <RegistryKey Root="HKLM" Key="SOFTWARE\Microsoft\Windows Installer XML\$(var.WixMajorMinor)"> |
| 39 | <RegistryValue Name="InstallRoot" Value="[BinFolder]" Type="string" /> |
| 40 | <RegistryValue Name="ProductVersion" Value="[ProductVersion]" Type="string" /> |
| 41 | </RegistryKey> |
| 42 | |
| 43 | <RemoveFolder Id="CleanupShortcutFolder" Directory="ShortcutFolder" On="uninstall" /> |
| 44 | </Component> |
| 45 | |
| 46 | <Component Directory="BinFolder"> |
| 47 | <File Id="wixtoolset.org.ico" Source="common\wixtoolset.org.ico" /> |
| 48 | <util:InternetShortcut Id="wixtoolset.org" Directory="ShortcutFolder" Name="WiX Home Page" Target="http://wixtoolset.org/" IconFile="file://[#wixtoolset.org.ico]" /> |
| 49 | </Component> |
| 50 | |
| 51 | <ComponentGroupRef Id="ToolsetComponents" /> |
| 52 | <ComponentGroupRef Id="ExtensionComponents" /> |
| 53 | <ComponentGroupRef Id="LuxComponents" /> |
| 54 | <ComponentGroupRef Id="DocComponents" /> |
| 55 | </Feature> |
| 56 | |
| 57 | <FeatureRef Id="Feature_MSBuild" /> |
| 58 | <FeatureRef Id="Feature_Intellisense2010" /> |
| 59 | <FeatureRef Id="Feature_Intellisense2012" /> |
| 60 | <FeatureRef Id="Feature_Intellisense2013" /> |
| 61 | <FeatureRef Id="Feature_Intellisense2015" /> |
| 62 | </Package> |
| 63 | </Wix> |