| 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="VS2010_EXTENSIONS_DIR" Secure="yes"> |
| 7 | <RegistrySearch Id="VS2010DevEnvForExtensionsSearch" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\10.0\Setup\VS" Name="EnvironmentDirectory" Type="raw"> |
| 8 | <DirectorySearch Id="VS2010ExtensionsPathSearch" Path="Extensions" Depth="1" /> |
| 9 | </RegistrySearch> |
| 10 | </Property> |
| 11 | </Fragment> |
| 12 | |
| 13 | <Fragment> |
| 14 | <Property Id="VS2010_PROJECTTEMPLATES_DIR" Secure="yes"> |
| 15 | <RegistrySearch Id="VS2010DevEnvForProjectTemplatesSearch" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\10.0\Setup\VS" Name="EnvironmentDirectory" Type="raw"> |
| 16 | <DirectorySearch Id="VS2010ProjectTemplatesPathSearch" Path="ProjectTemplates" Depth="1" /> |
| 17 | </RegistrySearch> |
| 18 | </Property> |
| 19 | </Fragment> |
| 20 | |
| 21 | <Fragment> |
| 22 | <Property Id="VS2010_SCHEMAS_DIR" Secure="yes"> |
| 23 | <RegistrySearch Id="VS2010ProductPathSearch" Root="HKLM" Key="Software\Microsoft\VisualStudio\SxS\VS7" Name="10.0" Type="raw"> |
| 24 | <DirectorySearch Id="VS2010XmlPathSearch" Path="Xml" Depth="1"> |
| 25 | <DirectorySearch Id="VS2010XmlSchemasPathSearch" Path="Schemas" Depth="1" /> |
| 26 | </DirectorySearch> |
| 27 | </RegistrySearch> |
| 28 | </Property> |
| 29 | </Fragment> |
| 30 | |
| 31 | <Fragment> |
| 32 | <Property Id="VS2010_ITEMTEMPLATES_DIR" Secure="yes"> |
| 33 | <RegistrySearch Id="VS2010DevEnvForItemTemplatesSearch" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\10.0\Setup\VS" Name="EnvironmentDirectory" Type="raw"> |
| 34 | <DirectorySearch Id="VS2010ItemTemplatesPathSearch" Path="ItemTemplates" Depth="1" /> |
| 35 | </RegistrySearch> |
| 36 | </Property> |
| 37 | </Fragment> |
| 38 | |
| 39 | <Fragment> |
| 40 | <Property Id="VS2010_BOOTSTRAPPER_PACKAGE_FOLDER" Secure="yes"> |
| 41 | <RegistrySearch Id="SearchForVs2010BootstrapperPackageFolder" Root="HKLM" Key="Software\Microsoft\GenericBootstrapper\4.0" Name="Path" Type="raw" /> |
| 42 | </Property> |
| 43 | </Fragment> |
| 44 | |
| 45 | <Fragment> |
| 46 | <Property Id="VS2010_ROOT_FOLDER" Secure="yes"> |
| 47 | <RegistrySearch Id="SearchForVS2010RootPath" Root="HKLM" Key="Software\Microsoft\VisualStudio\SxS\VS7" Name="10.0" Type="raw" /> |
| 48 | </Property> |
| 49 | </Fragment> |
| 50 | |
| 51 | <Fragment> |
| 52 | <Property Id="VS2010DEVENV" Secure="yes"> |
| 53 | <RegistrySearch Id="VS2010DevEnvSearch" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\10.0\Setup\VS" Name="EnvironmentPath" Type="raw" /> |
| 54 | </Property> |
| 55 | </Fragment> |
| 56 | |
| 57 | <Fragment> |
| 58 | <CustomAction Id="VS2010Setup" Property="VS2010DEVENV" ExeCommand="/setup" Execute="deferred" Return="ignore" Impersonate="no" /> |
| 59 | <PropertyRef Id="VS2010DEVENV" /> |
| 60 | |
| 61 | <InstallExecuteSequence> |
| 62 | <Custom Action="VS2010Setup" Before="InstallFinalize" Overridable="yes" Condition="VS2010DEVENV" /> |
| 63 | </InstallExecuteSequence> |
| 64 | </Fragment> |
| 65 | |
| 66 | <Fragment> |
| 67 | <CustomAction Id="VS2010InstallVSTemplates" Property="VS2010DEVENV" ExeCommand="/InstallVSTemplates" Execute="deferred" Return="ignore" Impersonate="no" /> |
| 68 | <PropertyRef Id="VS2010DEVENV" /> |
| 69 | |
| 70 | <InstallExecuteSequence> |
| 71 | <Custom Action="VS2010InstallVSTemplates" Before="InstallFinalize" Overridable="yes" Condition="VS2010DEVENV" /> |
| 72 | </InstallExecuteSequence> |
| 73 | </Fragment> |
| 74 | |
| 75 | <!-- Indicates whether the Visual C# 2010 Express IDE component is installed. --> |
| 76 | <!-- If this property is set, that means Visual C# 2010 Express Edition is --> |
| 77 | <!-- installed on the system. --> |
| 78 | <Fragment> |
| 79 | <Property Id="VCSHARP2010EXPRESS_IDE" Secure="yes"> |
| 80 | <ComponentSearch Id="SearchForVcsExpressIde2010Component" Guid="A4945167-D8A4-4B10-9B78-99C2CDC243EC" Type="file"> |
| 81 | <FileSearch Id="VcsExpressIde2010" Name="vcsexpress.exe" /> |
| 82 | </ComponentSearch> |
| 83 | </Property> |
| 84 | </Fragment> |
| 85 | |
| 86 | <!-- Custom action definition to run vcsexpress.exe /setup --> |
| 87 | <Fragment> |
| 88 | <CustomAction Id="VCSHARP2010Setup" Property="VCSHARP2010EXPRESS_IDE" ExeCommand="/setup" Execute="deferred" Return="ignore" Impersonate="no" /> |
| 89 | <PropertyRef Id="VCSHARP2010EXPRESS_IDE" /> |
| 90 | |
| 91 | <InstallExecuteSequence> |
| 92 | <Custom Action="VCSHARP2010Setup" Before="InstallFinalize" Overridable="yes" Condition="VCSHARP2010EXPRESS_IDE" /> |
| 93 | </InstallExecuteSequence> |
| 94 | </Fragment> |
| 95 | |
| 96 | <!-- Custom action definition to run vcsexpress.exe /InstallVSTemplates --> |
| 97 | <Fragment> |
| 98 | <CustomAction Id="VCSHARP2010InstallVSTemplates" Property="VCSHARP2010EXPRESS_IDE" ExeCommand="/InstallVSTemplates" Execute="deferred" Return="ignore" Impersonate="no" /> |
| 99 | <PropertyRef Id="VCSHARP2010EXPRESS_IDE" /> |
| 100 | |
| 101 | <InstallExecuteSequence> |
| 102 | <Custom Action="VCSHARP2010InstallVSTemplates" Before="InstallFinalize" Overridable="yes" Condition="VCSHARP2010EXPRESS_IDE" /> |
| 103 | </InstallExecuteSequence> |
| 104 | </Fragment> |
| 105 | |
| 106 | <!-- Indicates whether the Visual C# project system is installed as a part of --> |
| 107 | <!-- Visual Studio 2010 standard or higher. If this property is set, that --> |
| 108 | <!-- means Visual Studio 2010 standard or higher is installed and the Visual --> |
| 109 | <!-- C# language tools were installed as a part of VS 2010 setup. --> |
| 110 | <Fragment> |
| 111 | <Property Id="VS2010_IDE_VCSHARP_PROJECTSYSTEM_INSTALLED" Secure="yes"> |
| 112 | <RegistrySearch Id="SearchForVCS2010ProjectSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\10.0\Projects\{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}" Name="DefaultProjectExtension" Type="raw" /> |
| 113 | </Property> |
| 114 | </Fragment> |
| 115 | |
| 116 | <!-- Indicates whether the Visual Basic 2010 Express IDE component is installed. --> |
| 117 | <!-- If this property is set, that means Visual Basic 2010 Express Edition is --> |
| 118 | <!-- installed on the system. --> |
| 119 | <Fragment> |
| 120 | <Property Id="VB2010EXPRESS_IDE" Secure="yes"> |
| 121 | <ComponentSearch Id="SearchForVbExpressIde2010Component" Guid="3EDEF607-9E3A-4A64-BFE1-104979CF2899" Type="file"> |
| 122 | <FileSearch Id="VbExpressIde2010" Name="vbexpress.exe" /> |
| 123 | </ComponentSearch> |
| 124 | </Property> |
| 125 | </Fragment> |
| 126 | |
| 127 | <!-- Custom action definition to run vbexpress.exe /setup --> |
| 128 | <Fragment> |
| 129 | <CustomAction Id="VB2010Setup" Property="VB2010EXPRESS_IDE" ExeCommand="/setup" Execute="deferred" Return="ignore" Impersonate="no" /> |
| 130 | <PropertyRef Id="VB2010EXPRESS_IDE" /> |
| 131 | |
| 132 | <InstallExecuteSequence> |
| 133 | <Custom Action="VB2010Setup" Before="InstallFinalize" Overridable="yes" Condition="VB2010EXPRESS_IDE" /> |
| 134 | </InstallExecuteSequence> |
| 135 | </Fragment> |
| 136 | |
| 137 | <!-- Custom action definition to run vbexpress.exe /InstallVSTemplates --> |
| 138 | <Fragment> |
| 139 | <CustomAction Id="VB2010InstallVSTemplates" Property="VB2010EXPRESS_IDE" ExeCommand="/InstallVSTemplates" Execute="deferred" Return="ignore" Impersonate="no" /> |
| 140 | <PropertyRef Id="VB2010EXPRESS_IDE" /> |
| 141 | |
| 142 | <InstallExecuteSequence> |
| 143 | <Custom Action="VB2010InstallVSTemplates" Before="InstallFinalize" Overridable="yes" Condition="VB2010EXPRESS_IDE" /> |
| 144 | </InstallExecuteSequence> |
| 145 | </Fragment> |
| 146 | |
| 147 | <!-- Indicates whether the Visual Basic project system is installed as a part of --> |
| 148 | <!-- Visual Studio 2010 standard or higher. If this property is set, that --> |
| 149 | <!-- means Visual Studio 2010 standard or higher is installed and the Visual --> |
| 150 | <!-- Basic language tools were installed as a part of VS 2010 setup. --> |
| 151 | <Fragment> |
| 152 | <Property Id="VS2010_IDE_VB_PROJECTSYSTEM_INSTALLED" Secure="yes"> |
| 153 | <RegistrySearch Id="SearchForVB2010ProjectSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\10.0\Projects\{F184B08F-C81C-45f6-A57F-5ABD9991F28F}" Name="DefaultProjectExtension" Type="raw" /> |
| 154 | </Property> |
| 155 | </Fragment> |
| 156 | |
| 157 | <!-- Indicates whether the Visual Web Developer 2010 Express IDE component is installed. --> |
| 158 | <!-- If this property is set, that means Visual Web Developer 2010 Express Edition is --> |
| 159 | <!-- installed on the system. --> |
| 160 | <Fragment> |
| 161 | <Property Id="VWD2010EXPRESS_IDE" Secure="yes"> |
| 162 | <ComponentSearch Id="SearchForVwdExpressIde2010Component" Guid="771B6CF7-C8D2-4D85-BACD-ED01600256DC" Type="file"> |
| 163 | <FileSearch Id="VwdExpressIde2010" Name="vwdexpress.exe" /> |
| 164 | </ComponentSearch> |
| 165 | </Property> |
| 166 | </Fragment> |
| 167 | |
| 168 | <!-- Custom action definition to run vwdexpress.exe /setup --> |
| 169 | <Fragment> |
| 170 | <CustomAction Id="VWD2010Setup" Property="VWD2010EXPRESS_IDE" ExeCommand="/setup" Execute="deferred" Return="ignore" Impersonate="no" /> |
| 171 | <PropertyRef Id="VWD2010EXPRESS_IDE" /> |
| 172 | |
| 173 | <InstallExecuteSequence> |
| 174 | <Custom Action="VWD2010Setup" Before="InstallFinalize" Overridable="yes" Condition="VWD2010EXPRESS_IDE" /> |
| 175 | </InstallExecuteSequence> |
| 176 | </Fragment> |
| 177 | |
| 178 | <!-- Custom action definition to run vwdexpress.exe /InstallVSTemplates --> |
| 179 | <Fragment> |
| 180 | <CustomAction Id="VWD2010InstallVSTemplates" Property="VWD2010EXPRESS_IDE" ExeCommand="/InstallVSTemplates" Execute="deferred" Return="ignore" Impersonate="no" /> |
| 181 | <PropertyRef Id="VWD2010EXPRESS_IDE" /> |
| 182 | |
| 183 | <InstallExecuteSequence> |
| 184 | <Custom Action="VWD2010InstallVSTemplates" Before="InstallFinalize" Overridable="yes" Condition="VWD2010EXPRESS_IDE" /> |
| 185 | </InstallExecuteSequence> |
| 186 | </Fragment> |
| 187 | |
| 188 | <!-- Indicates whether the Visual Web Developer project system is installed as a part of --> |
| 189 | <!-- Visual Studio 2010 standard or higher. If this property is set, that --> |
| 190 | <!-- means Visual Studio 2010 standard or higher is installed and the Visual --> |
| 191 | <!-- Web Developer language tools were installed as a part of VS 2010 setup. --> |
| 192 | <Fragment> |
| 193 | <Property Id="VS2010_IDE_VWD_PROJECTSYSTEM_INSTALLED" Secure="yes"> |
| 194 | <RegistrySearch Id="SearchForVWD2010ProjectSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\10.0\Projects\{E24C65DC-7377-472B-9ABA-BC803B73C61A}" Name="DefaultProjectExtension" Type="raw" /> |
| 195 | </Property> |
| 196 | </Fragment> |
| 197 | |
| 198 | <!-- Indicates whether the Visual C++ 2010 Express IDE component is installed. --> |
| 199 | <!-- If this property is set, that means Visual C++ 2010 Express Edition is --> |
| 200 | <!-- installed on the system. --> |
| 201 | <Fragment> |
| 202 | <Property Id="VC2010EXPRESS_IDE" Secure="yes"> |
| 203 | <ComponentSearch Id="SearchForVcExpressIde2010Component" Guid="B455E8D3-90CB-47F6-AB7B-9B31E5DE6266" Type="file"> |
| 204 | <FileSearch Id="VcExpressIde2010" Name="vcexpress.exe" /> |
| 205 | </ComponentSearch> |
| 206 | </Property> |
| 207 | </Fragment> |
| 208 | |
| 209 | <!-- Custom action definition to run vcexpress.exe /setup --> |
| 210 | <Fragment> |
| 211 | <CustomAction Id="VC2010Setup" Property="VC2010EXPRESS_IDE" ExeCommand="/setup" Execute="deferred" Return="ignore" Impersonate="no" /> |
| 212 | <PropertyRef Id="VC2010EXPRESS_IDE" /> |
| 213 | |
| 214 | <InstallExecuteSequence> |
| 215 | <Custom Action="VC2010Setup" Before="InstallFinalize" Overridable="yes" Condition="VC2010EXPRESS_IDE" /> |
| 216 | </InstallExecuteSequence> |
| 217 | </Fragment> |
| 218 | |
| 219 | <!-- Custom action definition to run vcexpress.exe /InstallVSTemplates --> |
| 220 | <Fragment> |
| 221 | <CustomAction Id="VC2010InstallVSTemplates" Property="VC2010EXPRESS_IDE" ExeCommand="/InstallVSTemplates" Execute="deferred" Return="ignore" Impersonate="no" /> |
| 222 | <PropertyRef Id="VC2010EXPRESS_IDE" /> |
| 223 | |
| 224 | <InstallExecuteSequence> |
| 225 | <Custom Action="VC2010InstallVSTemplates" Before="InstallFinalize" Overridable="yes" Condition="VC2010EXPRESS_IDE" /> |
| 226 | </InstallExecuteSequence> |
| 227 | </Fragment> |
| 228 | |
| 229 | <!-- Indicates whether the Visual C++ project system is installed as a part of --> |
| 230 | <!-- Visual Studio 2010 standard or higher. If this property is set, that --> |
| 231 | <!-- means Visual Studio 2010 standard or higher is installed and the Visual --> |
| 232 | <!-- C++ language tools were installed as a part of VS 2010 setup. --> |
| 233 | <Fragment> |
| 234 | <Property Id="VS2010_IDE_VC_PROJECTSYSTEM_INSTALLED" Secure="yes"> |
| 235 | <RegistrySearch Id="SearchForVC2010ProjectSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\10.0\Projects\{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}" Name="DefaultProjectExtension" Type="raw" /> |
| 236 | </Property> |
| 237 | </Fragment> |
| 238 | |
| 239 | <!-- Indicates whether the Visual Studio 2010 Express for Windows Phone IDE component is --> |
| 240 | <!-- installed. If this property is set, that means Visual Studio 2010 Express for --> |
| 241 | <!-- Windows Phone is installed on the system. --> |
| 242 | <Fragment> |
| 243 | <Property Id="VPD2010EXPRESS_IDE" Secure="yes"> |
| 244 | <ComponentSearch Id="SearchForVpdExpressIde2010Component" Guid="80C81DB2-E95B-4C03-A559-C664E8411DDF" Type="file"> |
| 245 | <FileSearch Id="VpdExpressIde2010" Name="vpdexpress.exe" /> |
| 246 | </ComponentSearch> |
| 247 | </Property> |
| 248 | </Fragment> |
| 249 | |
| 250 | <!-- Custom action definition to run vpdexpress.exe /setup --> |
| 251 | <Fragment> |
| 252 | <CustomAction Id="VPD2010Setup" Property="VPD2010EXPRESS_IDE" ExeCommand="/setup" Execute="deferred" Return="ignore" Impersonate="no" /> |
| 253 | <PropertyRef Id="VPD2010EXPRESS_IDE" /> |
| 254 | |
| 255 | <InstallExecuteSequence> |
| 256 | <Custom Action="VPD2010Setup" Before="InstallFinalize" Overridable="yes" Condition="VPD2010EXPRESS_IDE" /> |
| 257 | </InstallExecuteSequence> |
| 258 | </Fragment> |
| 259 | |
| 260 | <!-- Custom action definition to run vpdexpress.exe /InstallVSTemplates --> |
| 261 | <Fragment> |
| 262 | <CustomAction Id="VPD2010InstallVSTemplates" Property="VPD2010EXPRESS_IDE" ExeCommand="/InstallVSTemplates" Execute="deferred" Return="ignore" Impersonate="no" /> |
| 263 | <PropertyRef Id="VPD2010EXPRESS_IDE" /> |
| 264 | |
| 265 | <InstallExecuteSequence> |
| 266 | <Custom Action="VPD2010InstallVSTemplates" Before="InstallFinalize" Overridable="yes" Condition="VPD2010EXPRESS_IDE" /> |
| 267 | </InstallExecuteSequence> |
| 268 | </Fragment> |
| 269 | |
| 270 | <!-- Indicates whether the Visual Studio 2010 Team Test project system is installed --> |
| 271 | <Fragment> |
| 272 | <Property Id="VS2010_IDE_VSTS_TESTSYSTEM_INSTALLED" Secure="yes"> |
| 273 | <RegistrySearch Id="SearchForVSTS2010TestSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\10.0\Projects\{3AC096D0-A1C2-E12C-1390-A8335801FDAB}" Name="Package" Type="raw" /> |
| 274 | </Property> |
| 275 | </Fragment> |
| 276 | |
| 277 | <!-- Indicates whether the Visual Studio 2010 Database project system is installed --> |
| 278 | <Fragment> |
| 279 | <Property Id="VS2010_IDE_DB_PROJECTSYSTEM_INSTALLED" Secure="yes"> |
| 280 | <RegistrySearch Id="SearchForVSTS2010DBSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\10.0\Projects\{C8D11400-126E-41CD-887F-60BD40844F9E}" Name="Package" Type="raw" /> |
| 281 | </Property> |
| 282 | </Fragment> |
| 283 | |
| 284 | <!-- Indicates whether the Visual Studio 2010 Deployment project system (setup project) is installed --> |
| 285 | <Fragment> |
| 286 | <Property Id="VS2010_IDE_VSD_PROJECTSYSTEM_INSTALLED" Secure="yes"> |
| 287 | <RegistrySearch Id="SearchForVSTS2010VSDSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\10.0\Projects\{54435603-DBB4-11D2-8724-00A0C9A8B90C}" Name="Package" Type="raw" /> |
| 288 | </Property> |
| 289 | </Fragment> |
| 290 | |
| 291 | <!-- Indicates whether the WiX project system is installed for VS2010 --> |
| 292 | <Fragment> |
| 293 | <Property Id="VS2010_IDE_WIX_PROJECTSYSTEM_INSTALLED" Secure="yes"> |
| 294 | <!-- Component search for the .pkgdef file for VS2010 --> |
| 295 | <ComponentSearch Id="SearchForVS2010WixSystemUnderVSSetup" Guid="3C5BA30B-0713-5E28-8EEA-171E7A5E4864" Type="file" /> |
| 296 | </Property> |
| 297 | </Fragment> |
| 298 | |
| 299 | <!-- Indicates whether the Visual Studio Modeling project system is installed --> |
| 300 | <Fragment> |
| 301 | <Property Id="VS2010_IDE_MODELING_PROJECTSYSTEM_INSTALLED" Secure="yes"> |
| 302 | <RegistrySearch Id="SearchForVSTS2010ModelingSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\10.0\Projects\{f088123c-0e9e-452a-89e6-6ba2f21d5cac}" Name="Package" Type="raw" /> |
| 303 | </Property> |
| 304 | </Fragment> |
| 305 | |
| 306 | <!-- Indicates whether the Visual Studio F# project system is installed --> |
| 307 | <Fragment> |
| 308 | <Property Id="VS2010_IDE_FSHARP_PROJECTSYSTEM_INSTALLED" Secure="yes"> |
| 309 | <RegistrySearch Id="SearchForVSTS2010FSharpSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\10.0\Projects\{f2a71f9b-5d33-465a-a702-920d77279786}" Name="Package" Type="raw" /> |
| 310 | </Property> |
| 311 | </Fragment> |
| 312 | </Wix> |