| 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 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
| 5 | <Fragment> |
| 6 | <Property Id="VS2015_EXTENSIONS_DIR" Secure="yes"> |
| 7 | <RegistrySearch Id="VS2015DevEnvForExtensionsSearch" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\14.0\Setup\VS" Name="EnvironmentDirectory" Type="raw"> |
| 8 | <DirectorySearch Id="VS2015ExtensionsPathSearch" Path="Extensions" Depth="1" /> |
| 9 | </RegistrySearch> |
| 10 | </Property> |
| 11 | </Fragment> |
| 12 | |
| 13 | <Fragment> |
| 14 | <Property Id="VS2015_PROJECTTEMPLATES_DIR" Secure="yes"> |
| 15 | <RegistrySearch Id="VS2015DevEnvForProjectTemplatesSearch" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\14.0\Setup\VS" Name="EnvironmentDirectory" Type="raw"> |
| 16 | <DirectorySearch Id="VS2015ProjectTemplatesPathSearch" Path="ProjectTemplates" Depth="1" /> |
| 17 | </RegistrySearch> |
| 18 | </Property> |
| 19 | </Fragment> |
| 20 | |
| 21 | <Fragment> |
| 22 | <Property Id="VS2015_SCHEMAS_DIR" Secure="yes"> |
| 23 | <RegistrySearch Id="VS2015ProductPathSearch" Root="HKLM" Key="Software\Microsoft\VisualStudio\SxS\VS7" Name="14.0" Type="raw"> |
| 24 | <DirectorySearch Id="VS2015XmlPathSearch" Path="Xml" Depth="1"> |
| 25 | <DirectorySearch Id="VS2015XmlSchemasPathSearch" Path="Schemas" Depth="1" /> |
| 26 | </DirectorySearch> |
| 27 | </RegistrySearch> |
| 28 | </Property> |
| 29 | </Fragment> |
| 30 | |
| 31 | <Fragment> |
| 32 | <Property Id="VS2015_ITEMTEMPLATES_DIR" Secure="yes"> |
| 33 | <RegistrySearch Id="VS2015DevEnvForItemTemplatesSearch" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\14.0\Setup\VS" Name="EnvironmentDirectory" Type="raw"> |
| 34 | <DirectorySearch Id="VS2015ItemTemplatesPathSearch" Path="ItemTemplates" Depth="1" /> |
| 35 | </RegistrySearch> |
| 36 | </Property> |
| 37 | </Fragment> |
| 38 | |
| 39 | <Fragment> |
| 40 | <Property Id="VS2015_BOOTSTRAPPER_PACKAGE_FOLDER" Secure="yes"> |
| 41 | <RegistrySearch Id="SearchForVS2015BootstrapperPackageFolder" Root="HKLM" Key="Software\Microsoft\GenericBootstrapper\4.0" Name="Path" Type="raw" /> |
| 42 | </Property> |
| 43 | </Fragment> |
| 44 | |
| 45 | <Fragment> |
| 46 | <Property Id="VS2015_ROOT_FOLDER" Secure="yes"> |
| 47 | <RegistrySearch Id="SearchForVS2015RootPath" Root="HKLM" Key="Software\Microsoft\VisualStudio\SxS\VS7" Name="14.0" Type="raw" /> |
| 48 | </Property> |
| 49 | </Fragment> |
| 50 | |
| 51 | <Fragment> |
| 52 | <Property Id="VS2015DEVENV" Secure="yes"> |
| 53 | <RegistrySearch Id="VS2015DevEnvSearch" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\14.0\Setup\VS" Name="EnvironmentPath" Type="raw" /> |
| 54 | </Property> |
| 55 | </Fragment> |
| 56 | |
| 57 | <Fragment> |
| 58 | <CustomAction Id="VS2015Setup" Property="VS2015DEVENV" ExeCommand="/setup" Execute="deferred" Return="ignore" Impersonate="no" /> |
| 59 | <PropertyRef Id="VS2015DEVENV" /> |
| 60 | |
| 61 | <InstallExecuteSequence> |
| 62 | <Custom Action="VS2015Setup" Before="InstallFinalize" Overridable="yes" Condition="VS2015DEVENV" /> |
| 63 | </InstallExecuteSequence> |
| 64 | </Fragment> |
| 65 | |
| 66 | <Fragment> |
| 67 | <CustomAction Id="VS2015InstallVSTemplates" Property="VS2015DEVENV" ExeCommand="/InstallVSTemplates" Execute="deferred" Return="ignore" Impersonate="no" /> |
| 68 | <PropertyRef Id="VS2015DEVENV" /> |
| 69 | |
| 70 | <InstallExecuteSequence> |
| 71 | <Custom Action="VS2015InstallVSTemplates" Before="InstallFinalize" Overridable="yes" Condition="VS2015DEVENV" /> |
| 72 | </InstallExecuteSequence> |
| 73 | </Fragment> |
| 74 | |
| 75 | <!-- Indicates whether the Visual C# project system is installed as a part of --> |
| 76 | <!-- Visual Studio 2015 standard or higher. If this property is set, that --> |
| 77 | <!-- means Visual Studio 2015 standard or higher is installed and the Visual --> |
| 78 | <!-- C# language tools were installed as a part of VS 2015 setup. --> |
| 79 | <Fragment> |
| 80 | <Property Id="VS2015_IDE_VCSHARP_PROJECTSYSTEM_INSTALLED" Secure="yes"> |
| 81 | <RegistrySearch Id="SearchForVCS2015ProjectSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\14.0\Setup\VC#" Name="ProductDir" Type="raw" /> |
| 82 | </Property> |
| 83 | </Fragment> |
| 84 | |
| 85 | <!-- Indicates whether the Visual Basic project system is installed as a part of --> |
| 86 | <!-- Visual Studio 2015 standard or higher. If this property is set, that --> |
| 87 | <!-- means Visual Studio 2015 standard or higher is installed and the Visual --> |
| 88 | <!-- Basic language tools were installed as a part of VS 2015 setup. --> |
| 89 | <Fragment> |
| 90 | <Property Id="VS2015_IDE_VB_PROJECTSYSTEM_INSTALLED" Secure="yes"> |
| 91 | <RegistrySearch Id="SearchForVB2015ProjectSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\14.0\Setup\VB" Name="ProductDir" Type="raw" /> |
| 92 | </Property> |
| 93 | </Fragment> |
| 94 | |
| 95 | <!-- Indicates whether the Visual Web Developer 2015 Express IDE component is installed. --> |
| 96 | <!-- If this property is set, that means Visual Web Developer 2015 Express Edition is --> |
| 97 | <!-- installed on the system. --> |
| 98 | <Fragment> |
| 99 | <Property Id="VWD2015EXPRESS_IDE" Secure="yes"> |
| 100 | <RegistrySearch Id="VWD2015ExpressSearch" Root="HKLM" Key="SOFTWARE\Microsoft\VWDExpress\14.0\Setup\VS" Name="EnvironmentPath" Type="raw" /> |
| 101 | </Property> |
| 102 | </Fragment> |
| 103 | <!-- Custom action definition to run vwdexpress.exe /setup --> |
| 104 | <Fragment> |
| 105 | <CustomAction Id="VWD2015Setup" Property="VWD2015EXPRESS_IDE" ExeCommand="/setup" Execute="deferred" Return="ignore" Impersonate="no" /> |
| 106 | <PropertyRef Id="VWD2015EXPRESS_IDE" /> |
| 107 | <InstallExecuteSequence> |
| 108 | <Custom Action="VWD2015Setup" Before="InstallFinalize" Overridable="yes" Condition="VWD2015EXPRESS_IDE" /> |
| 109 | </InstallExecuteSequence> |
| 110 | </Fragment> |
| 111 | <!-- Custom action definition to run vwdexpress.exe /InstallVSTemplates --> |
| 112 | <Fragment> |
| 113 | <CustomAction Id="VWD2015InstallVSTemplates" Property="VWD2015EXPRESS_IDE" ExeCommand="/InstallVSTemplates" Execute="deferred" Return="ignore" Impersonate="no" /> |
| 114 | <PropertyRef Id="VWD2015EXPRESS_IDE" /> |
| 115 | <InstallExecuteSequence> |
| 116 | <Custom Action="VWD2015InstallVSTemplates" Before="InstallFinalize" Overridable="yes" Condition="VWD2015EXPRESS_IDE" /> |
| 117 | </InstallExecuteSequence> |
| 118 | </Fragment> |
| 119 | |
| 120 | <!-- Indicates whether the Visual Web Developer project system is installed as a part of --> |
| 121 | <!-- Visual Studio 2015 standard or higher. If this property is set, that --> |
| 122 | <!-- means Visual Studio 2015 standard or higher is installed and the Visual --> |
| 123 | <!-- Web Developer language tools were installed as a part of VS 2015 setup. --> |
| 124 | <Fragment> |
| 125 | <Property Id="VS2015_IDE_VWD_PROJECTSYSTEM_INSTALLED" Secure="yes"> |
| 126 | <ComponentSearch Id="SearchForVWD2015ProjectSystemUnderVSSetup" Guid="274EB373-6B78-5EBD-8A6C-6D8094E58ECB" /> |
| 127 | <ComponentSearch Id="SearchForVWD2015ProjectSystemUnderVWDSetup" Guid="71EBDA4A-4A15-426F-95C4-4FC051FD7AA4" Type="directory" /> |
| 128 | </Property> |
| 129 | </Fragment> |
| 130 | |
| 131 | <!-- Indicates whether the Visual C++ project system is installed as a part of --> |
| 132 | <!-- Visual Studio 2015 standard or higher. If this property is set, that --> |
| 133 | <!-- means Visual Studio 2015 standard or higher is installed and the Visual --> |
| 134 | <!-- C++ language tools were installed as a part of VS 2015 setup. --> |
| 135 | <Fragment> |
| 136 | <Property Id="VS2015_IDE_VC_PROJECTSYSTEM_INSTALLED" Secure="yes"> |
| 137 | <RegistrySearch Id="SearchForVC2015ProjectSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\14.0\Setup\VC" Name="ProductDir" Type="raw" /> |
| 138 | </Property> |
| 139 | </Fragment> |
| 140 | |
| 141 | <!-- Indicates whether the Visual Studio 2015 Team Test project system is installed --> |
| 142 | <Fragment> |
| 143 | <Property Id="VS2015_IDE_VSTS_TESTSYSTEM_INSTALLED" Secure="yes"> |
| 144 | <RegistrySearch Id="SearchForVSTS2015TestSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\14.0\Projects\{3AC096D0-A1C2-E12C-1390-A8335801FDAB}" Name="Package" Type="raw" /> |
| 145 | </Property> |
| 146 | </Fragment> |
| 147 | |
| 148 | <!-- Indicates whether the Visual Studio Modeling project system is installed --> |
| 149 | <Fragment> |
| 150 | <Property Id="VS2015_IDE_MODELING_PROJECTSYSTEM_INSTALLED" Secure="yes"> |
| 151 | <RegistrySearch Id="SearchForVSTS2015ModelingSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\14.0\Projects\{f088123c-0e9e-452a-89e6-6ba2f21d5cac}" Name="Package" Type="raw" /> |
| 152 | </Property> |
| 153 | </Fragment> |
| 154 | |
| 155 | <!-- Indicates whether the Visual Studio F# project system is installed --> |
| 156 | <Fragment> |
| 157 | <Property Id="VS2015_IDE_FSHARP_PROJECTSYSTEM_INSTALLED" Secure="yes"> |
| 158 | <RegistrySearch Id="SearchForVSTS2015FSharpSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\14.0\Setup\F#" Name="ProductDir" Type="raw" /> |
| 159 | </Property> |
| 160 | </Fragment> |
| 161 | |
| 162 | <!-- Indicates whether the Visual Studio Express for Windows IDE component is installed. --> |
| 163 | <!-- If this property is set, that means Visual Studio Express for Windows is installed --> |
| 164 | <!-- on the system. --> |
| 165 | <Fragment> |
| 166 | <Property Id="VS2015WINEXPRESS_IDE" Secure="yes"> |
| 167 | <RegistrySearch Id="VS2015WinExpressSearch" Root="HKLM" Key="SOFTWARE\Microsoft\VSWinExpress\14.0\Setup\VS" Name="EnvironmentPath" Type="raw" /> |
| 168 | </Property> |
| 169 | </Fragment> |
| 170 | <!-- Custom action definition to run vswinexpress.exe /setup --> |
| 171 | <Fragment> |
| 172 | <CustomAction Id="VS2015WinExpressSetup" Property="VS2015WINEXPRESS_IDE" ExeCommand="/setup" Execute="deferred" Return="ignore" Impersonate="no" /> |
| 173 | <PropertyRef Id="VS2015WINEXPRESS_IDE" /> |
| 174 | <InstallExecuteSequence> |
| 175 | <Custom Action="VS2015WinExpressSetup" Before="InstallFinalize" Overridable="yes" Condition="VS2015WINEXPRESS_IDE" /> |
| 176 | </InstallExecuteSequence> |
| 177 | </Fragment> |
| 178 | <!-- Custom action definition to run vswinexpress.exe /InstallVSTemplates --> |
| 179 | <Fragment> |
| 180 | <CustomAction Id="VS2015WinExpressInstallVSTemplates" Property="VS2015WINEXPRESS_IDE" ExeCommand="/InstallVSTemplates" Execute="deferred" Return="ignore" Impersonate="no" /> |
| 181 | <PropertyRef Id="VS2015WINEXPRESS_IDE" /> |
| 182 | <InstallExecuteSequence> |
| 183 | <Custom Action="VS2015WinExpressInstallVSTemplates" Before="InstallFinalize" Overridable="yes" Condition="VS2015WINEXPRESS_IDE" /> |
| 184 | </InstallExecuteSequence> |
| 185 | </Fragment> |
| 186 | </Wix> |