| 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 | <!-- Visual Studio 2008 --> |
| 6 | <Fragment> |
| 7 | <Property Id="VS90DEVENV" Secure="yes"> |
| 8 | <RegistrySearch Id="VS90DevEnvSearch" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\9.0\Setup\VS" Name="EnvironmentPath" Type="raw" /> |
| 9 | </Property> |
| 10 | </Fragment> |
| 11 | |
| 12 | <Fragment> |
| 13 | <Property Id="VS90_ITEMTEMPLATES_DIR" Secure="yes"> |
| 14 | <RegistrySearch Id="VS90DevEnvForItemTemplatesSearch" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\9.0\Setup\VS" Name="EnvironmentPath" Type="raw"> |
| 15 | <DirectorySearch Id="VS90ItemTemplatesPathSearch" Path="ItemTemplates" Depth="1" /> |
| 16 | </RegistrySearch> |
| 17 | </Property> |
| 18 | </Fragment> |
| 19 | |
| 20 | <Fragment> |
| 21 | <Property Id="VS90_PROJECTTEMPLATES_DIR" Secure="yes"> |
| 22 | <RegistrySearch Id="VS90DevEnvForProjectTemplatesSearch" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\9.0\Setup\VS" Name="EnvironmentPath" Type="raw"> |
| 23 | <DirectorySearch Id="VS90ProjectTemplatesPathSearch" Path="ProjectTemplates" Depth="1" /> |
| 24 | </RegistrySearch> |
| 25 | </Property> |
| 26 | </Fragment> |
| 27 | |
| 28 | <Fragment> |
| 29 | <Property Id="VS90_SCHEMAS_DIR" Secure="yes"> |
| 30 | <RegistrySearch Id="VS90ProductPathSearch" Root="HKLM" Key="Software\Microsoft\VisualStudio\SxS\VS7" Name="9.0" Type="raw"> |
| 31 | <DirectorySearch Id="VS90XmlPathSearch" Path="Xml" Depth="1"> |
| 32 | <DirectorySearch Id="VS90XmlSchemasPathSearch" Path="Schemas" Depth="1" /> |
| 33 | </DirectorySearch> |
| 34 | </RegistrySearch> |
| 35 | </Property> |
| 36 | </Fragment> |
| 37 | |
| 38 | <Fragment> |
| 39 | <CustomAction Id="VS90Setup" Property="VS90DEVENV" ExeCommand="/setup" Execute="deferred" Return="ignore" Impersonate="no" /> |
| 40 | <PropertyRef Id="VS90DEVENV" /> |
| 41 | |
| 42 | <InstallExecuteSequence> |
| 43 | <Custom Action="VS90Setup" Before="InstallFinalize" Overridable="yes" Condition="VS90DEVENV" /> |
| 44 | </InstallExecuteSequence> |
| 45 | </Fragment> |
| 46 | |
| 47 | <Fragment> |
| 48 | <CustomAction Id="VS90InstallVSTemplates" Property="VS90DEVENV" ExeCommand="/InstallVSTemplates" Execute="deferred" Return="ignore" Impersonate="no" /> |
| 49 | <PropertyRef Id="VS90DEVENV" /> |
| 50 | |
| 51 | <InstallExecuteSequence> |
| 52 | <Custom Action="VS90InstallVSTemplates" Before="InstallFinalize" Overridable="yes" Condition="VS90DEVENV" /> |
| 53 | </InstallExecuteSequence> |
| 54 | </Fragment> |
| 55 | |
| 56 | <!-- Location of the Visual Studio 2008 root installation directory. --> |
| 57 | <Fragment> |
| 58 | <Property Id="VS90_ROOT_FOLDER" Secure="yes"> |
| 59 | <RegistrySearch Id="SearchForVS90RootPath" Root="HKLM" Key="Software\Microsoft\VisualStudio\SxS\VS7" Name="9.0" Type="raw" /> |
| 60 | </Property> |
| 61 | </Fragment> |
| 62 | |
| 63 | <!-- Indicates whether the Visual C# 2008 Express IDE component is installed. --> |
| 64 | <!-- If this property is set, that means Visual C# 2008 Express Edition is --> |
| 65 | <!-- installed on the system. --> |
| 66 | <Fragment> |
| 67 | <Property Id="VCSHARP90EXPRESS_IDE" Secure="yes"> |
| 68 | <ComponentSearch Id="SearchForVcsExpressIde90Component" Guid="EF0BC34E-6AAE-47C0-8FEC-7E00C2638209" Type="file"> |
| 69 | <FileSearch Id="VcsExpressIde90" Name="vcsexpress.exe" /> |
| 70 | </ComponentSearch> |
| 71 | </Property> |
| 72 | </Fragment> |
| 73 | |
| 74 | <!-- Custom action definition to run vcsexpress.exe /setup --> |
| 75 | <Fragment> |
| 76 | <CustomAction Id="VCSHARP90Setup" Property="VCSHARP90EXPRESS_IDE" ExeCommand="/setup" Execute="deferred" Return="ignore" Impersonate="no" /> |
| 77 | <PropertyRef Id="VCSHARP90EXPRESS_IDE" /> |
| 78 | |
| 79 | <InstallExecuteSequence> |
| 80 | <Custom Action="VCSHARP90Setup" Before="InstallFinalize" Overridable="yes" Condition="VCSHARP90EXPRESS_IDE" /> |
| 81 | </InstallExecuteSequence> |
| 82 | </Fragment> |
| 83 | |
| 84 | <!-- Custom action definition to run vcsexpress.exe /InstallVSTemplates --> |
| 85 | <Fragment> |
| 86 | <CustomAction Id="VCSHARP90InstallVSTemplates" Property="VCSHARP90EXPRESS_IDE" ExeCommand="/InstallVSTemplates" Execute="deferred" Return="ignore" Impersonate="no" /> |
| 87 | <PropertyRef Id="VCSHARP90EXPRESS_IDE" /> |
| 88 | |
| 89 | <InstallExecuteSequence> |
| 90 | <Custom Action="VCSHARP90InstallVSTemplates" Before="InstallFinalize" Overridable="yes" Condition="VCSHARP90EXPRESS_IDE" /> |
| 91 | </InstallExecuteSequence> |
| 92 | </Fragment> |
| 93 | |
| 94 | <!-- Indicates whether the Visual C# project system is installed as a part of --> |
| 95 | <!-- Visual Studio 2008 standard or higher. If this property is set, that --> |
| 96 | <!-- means Visual Studio 2008 standard or higher is installed and the Visual --> |
| 97 | <!-- C# language tools were installed as a part of VS 2008 setup. --> |
| 98 | <Fragment> |
| 99 | <Property Id="VS90_IDE_VCSHARP_PROJECTSYSTEM_INSTALLED" Secure="yes"> |
| 100 | <RegistrySearch Id="SearchForVCS90ProjectSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\9.0\Projects\{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}" Name="DefaultProjectExtension" Type="raw" /> |
| 101 | </Property> |
| 102 | </Fragment> |
| 103 | |
| 104 | <!-- Indicates whether the Visual Basic 2008 Express IDE component is installed. --> |
| 105 | <!-- If this property is set, that means Visual Basic 2008 Express Edition is --> |
| 106 | <!-- installed on the system. --> |
| 107 | <Fragment> |
| 108 | <Property Id="VB90EXPRESS_IDE" Secure="yes"> |
| 109 | <ComponentSearch Id="SearchForVbExpressIde90Component" Guid="010A50C6-8604-4BA2-8CA1-4EC3A5B861B2" Type="file"> |
| 110 | <FileSearch Id="VbExpressIde90" Name="vbexpress.exe" /> |
| 111 | </ComponentSearch> |
| 112 | </Property> |
| 113 | </Fragment> |
| 114 | |
| 115 | <!-- Custom action definition to run vbexpress.exe /setup --> |
| 116 | <Fragment> |
| 117 | <CustomAction Id="VB90Setup" Property="VB90EXPRESS_IDE" ExeCommand="/setup" Execute="deferred" Return="ignore" Impersonate="no" /> |
| 118 | <PropertyRef Id="VB90EXPRESS_IDE" /> |
| 119 | |
| 120 | <InstallExecuteSequence> |
| 121 | <Custom Action="VB90Setup" Before="InstallFinalize" Overridable="yes" Condition="VB90EXPRESS_IDE" /> |
| 122 | </InstallExecuteSequence> |
| 123 | </Fragment> |
| 124 | |
| 125 | <!-- Custom action definition to run vbexpress.exe /InstallVSTemplates --> |
| 126 | <Fragment> |
| 127 | <CustomAction Id="VB90InstallVSTemplates" Property="VB90EXPRESS_IDE" ExeCommand="/InstallVSTemplates" Execute="deferred" Return="ignore" Impersonate="no" /> |
| 128 | <PropertyRef Id="VB90EXPRESS_IDE" /> |
| 129 | |
| 130 | <InstallExecuteSequence> |
| 131 | <Custom Action="VB90InstallVSTemplates" Before="InstallFinalize" Overridable="yes" Condition="VB90EXPRESS_IDE" /> |
| 132 | </InstallExecuteSequence> |
| 133 | </Fragment> |
| 134 | |
| 135 | <!-- Indicates whether the Visual Basic project system is installed as a part of --> |
| 136 | <!-- Visual Studio 2008 standard or higher. If this property is set, that --> |
| 137 | <!-- means Visual Studio 2008 standard or higher is installed and the Visual --> |
| 138 | <!-- Basic language tools were installed as a part of VS 2008 setup. --> |
| 139 | <Fragment> |
| 140 | <Property Id="VS90_IDE_VB_PROJECTSYSTEM_INSTALLED" Secure="yes"> |
| 141 | <RegistrySearch Id="SearchForVB90ProjectSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\9.0\Projects\{F184B08F-C81C-45f6-A57F-5ABD9991F28F}" Name="DefaultProjectExtension" Type="raw" /> |
| 142 | </Property> |
| 143 | </Fragment> |
| 144 | |
| 145 | <!-- Indicates whether the Visual Web Developer 2008 Express IDE component is installed. --> |
| 146 | <!-- If this property is set, that means Visual Web Developer 2008 Express Edition is --> |
| 147 | <!-- installed on the system. --> |
| 148 | <Fragment> |
| 149 | <Property Id="VWD90EXPRESS_IDE" Secure="yes"> |
| 150 | <ComponentSearch Id="SearchForVwdExpressIde90Component" Guid="C7F516CB-CB5C-41B7-9CB4-33927C4DD206" Type="file"> |
| 151 | <FileSearch Id="VwdExpressIde90" Name="vwdexpress.exe" /> |
| 152 | </ComponentSearch> |
| 153 | </Property> |
| 154 | </Fragment> |
| 155 | |
| 156 | <!-- Custom action definition to run vwdexpress.exe /setup --> |
| 157 | <Fragment> |
| 158 | <CustomAction Id="VWD90Setup" Property="VWD90EXPRESS_IDE" ExeCommand="/setup" Execute="deferred" Return="ignore" Impersonate="no" /> |
| 159 | <PropertyRef Id="VWD90EXPRESS_IDE" /> |
| 160 | |
| 161 | <InstallExecuteSequence> |
| 162 | <Custom Action="VWD90Setup" Before="InstallFinalize" Overridable="yes" Condition="VWD90EXPRESS_IDE" /> |
| 163 | </InstallExecuteSequence> |
| 164 | </Fragment> |
| 165 | |
| 166 | <!-- Custom action definition to run vwdexpress.exe /InstallVSTemplates --> |
| 167 | <Fragment> |
| 168 | <CustomAction Id="VWD90InstallVSTemplates" Property="VWD90EXPRESS_IDE" ExeCommand="/InstallVSTemplates" Execute="deferred" Return="ignore" Impersonate="no" /> |
| 169 | <PropertyRef Id="VWD90EXPRESS_IDE" /> |
| 170 | |
| 171 | <InstallExecuteSequence> |
| 172 | <Custom Action="VWD90InstallVSTemplates" Before="InstallFinalize" Overridable="yes" Condition="VWD90EXPRESS_IDE" /> |
| 173 | </InstallExecuteSequence> |
| 174 | </Fragment> |
| 175 | |
| 176 | <!-- Indicates whether the Visual Web Developer project system is installed as a part of --> |
| 177 | <!-- Visual Studio 2008 standard or higher. If this property is set, that --> |
| 178 | <!-- means Visual Studio 2008 standard or higher is installed and the Visual --> |
| 179 | <!-- Web Developer language tools were installed as a part of VS 2008 setup. --> |
| 180 | <Fragment> |
| 181 | <Property Id="VS90_IDE_VWD_PROJECTSYSTEM_INSTALLED" Secure="yes"> |
| 182 | <RegistrySearch Id="SearchForVWD90ProjectSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\9.0\Projects\{E24C65DC-7377-472B-9ABA-BC803B73C61A}" Name="DefaultProjectExtension" Type="raw" /> |
| 183 | </Property> |
| 184 | </Fragment> |
| 185 | |
| 186 | <!-- Indicates whether the Visual C++ 2008 Express IDE component is installed. --> |
| 187 | <!-- If this property is set, that means Visual C++ 2008 Express Edition is --> |
| 188 | <!-- installed on the system. --> |
| 189 | <Fragment> |
| 190 | <Property Id="VC90EXPRESS_IDE" Secure="yes"> |
| 191 | <ComponentSearch Id="SearchForVcExpressIde90Component" Guid="147EB31D-8042-4E8F-A3EC-D32C04ED652A" Type="file"> |
| 192 | <FileSearch Id="VcExpressIde90" Name="vcexpress.exe" /> |
| 193 | </ComponentSearch> |
| 194 | </Property> |
| 195 | </Fragment> |
| 196 | |
| 197 | <!-- Custom action definition to run vcexpress.exe /setup --> |
| 198 | <Fragment> |
| 199 | <CustomAction Id="VC90Setup" Property="VC90EXPRESS_IDE" ExeCommand="/setup" Execute="deferred" Return="ignore" Impersonate="no" /> |
| 200 | <PropertyRef Id="VC90EXPRESS_IDE" /> |
| 201 | |
| 202 | <InstallExecuteSequence> |
| 203 | <Custom Action="VC90Setup" Before="InstallFinalize" Overridable="yes" Condition="VC90EXPRESS_IDE" /> |
| 204 | </InstallExecuteSequence> |
| 205 | </Fragment> |
| 206 | |
| 207 | <!-- Custom action definition to run vcexpress.exe /InstallVSTemplates --> |
| 208 | <Fragment> |
| 209 | <CustomAction Id="VC90InstallVSTemplates" Property="VC90EXPRESS_IDE" ExeCommand="/InstallVSTemplates" Execute="deferred" Return="ignore" Impersonate="no" /> |
| 210 | <PropertyRef Id="VC90EXPRESS_IDE" /> |
| 211 | |
| 212 | <InstallExecuteSequence> |
| 213 | <Custom Action="VC90InstallVSTemplates" Before="InstallFinalize" Overridable="yes" Condition="VC90EXPRESS_IDE" /> |
| 214 | </InstallExecuteSequence> |
| 215 | </Fragment> |
| 216 | |
| 217 | <!-- Indicates whether the Visual C++ project system is installed as a part of --> |
| 218 | <!-- Visual Studio 2008 standard or higher. If this property is set, that --> |
| 219 | <!-- means Visual Studio 2008 standard or higher is installed and the Visual --> |
| 220 | <!-- C++ language tools were installed as a part of VS 2008 setup. --> |
| 221 | <Fragment> |
| 222 | <Property Id="VS90_IDE_VC_PROJECTSYSTEM_INSTALLED" Secure="yes"> |
| 223 | <RegistrySearch Id="SearchForVC90ProjectSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\9.0\Projects\{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}" Name="DefaultProjectExtension" Type="raw" /> |
| 224 | </Property> |
| 225 | </Fragment> |
| 226 | |
| 227 | <!-- Indicates whether the Visual Studio Team Test project system is installed --> |
| 228 | <Fragment> |
| 229 | <Property Id="VS90_IDE_VSTS_TESTSYSTEM_INSTALLED" Secure="yes"> |
| 230 | <RegistrySearch Id="SearchForVSTS90TestSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\9.0\Projects\{3AC096D0-A1C2-E12C-1390-A8335801FDAB}" Name="Package" Type="raw" /> |
| 231 | </Property> |
| 232 | </Fragment> |
| 233 | |
| 234 | <!-- Location of the Visual Studio 2008 bootstrapper package install location --> |
| 235 | <Fragment> |
| 236 | <Property Id="VS90_BOOTSTRAPPER_PACKAGE_FOLDER" Secure="yes"> |
| 237 | <RegistrySearch Id="SearchForVs90BootstrapperPackageFolder" Root="HKLM" Key="Software\Microsoft\GenericBootstrapper\3.5" Name="Path" Type="raw" /> |
| 238 | </Property> |
| 239 | </Fragment> |
| 240 | |
| 241 | <!-- Indicates whether the Visual Studio 2008 SP1 version of devenv.exe is --> |
| 242 | <!-- installed on the system. --> |
| 243 | <Fragment> |
| 244 | <Property Id="VS90_SP1" Secure="yes"> |
| 245 | <RegistrySearch Id="VS90DevEnvDirectorySearch" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\9.0\Setup\VS" Name="EnvironmentDirectory" Type="raw"> |
| 246 | <DirectorySearch Id="VS90DevEnvFilePathSearch"> |
| 247 | <FileSearch Id="VS90DevEnvFileVersionSearch" Name="devenv.exe" MinVersion="9.0.30729.0" /> |
| 248 | </DirectorySearch> |
| 249 | </RegistrySearch> |
| 250 | </Property> |
| 251 | </Fragment> |
| 252 | |
| 253 | <!-- Indicates whether the Visual Studio 2008 SP1 version of vbexpress.exe is --> |
| 254 | <!-- installed on the system. --> |
| 255 | <Fragment> |
| 256 | <Property Id="VB90EXPRESS_SP1" Secure="yes"> |
| 257 | <ComponentSearch Id="SearchForVbExpressIde90Component" Guid="010A50C6-8604-4BA2-8CA1-4EC3A5B861B2" Type="file"> |
| 258 | <FileSearch Id="VB90ExpressFileVersionSearch" Name="vbexpress.exe" MinVersion="9.0.30729.0" /> |
| 259 | </ComponentSearch> |
| 260 | </Property> |
| 261 | </Fragment> |
| 262 | |
| 263 | <!-- Indicates whether the Visual Studio 2008 SP1 version of vcexpress.exe is --> |
| 264 | <!-- installed on the system. --> |
| 265 | <Fragment> |
| 266 | <Property Id="VC90EXPRESS_SP1" Secure="yes"> |
| 267 | <ComponentSearch Id="SearchForVcExpressIde90Component" Guid="147EB31D-8042-4E8F-A3EC-D32C04ED652A" Type="file"> |
| 268 | <FileSearch Id="VC90ExpressFileVersionSearch" Name="vcexpress.exe" MinVersion="9.0.30729.0" /> |
| 269 | </ComponentSearch> |
| 270 | </Property> |
| 271 | </Fragment> |
| 272 | |
| 273 | <!-- Indicates whether the Visual Studio 2008 SP1 version of vcsexpress.exe is --> |
| 274 | <!-- installed on the system. --> |
| 275 | <Fragment> |
| 276 | <Property Id="VCS90EXPRESS_SP1" Secure="yes"> |
| 277 | <ComponentSearch Id="SearchForVcsExpressIde90Component" Guid="EF0BC34E-6AAE-47C0-8FEC-7E00C2638209" Type="file"> |
| 278 | <FileSearch Id="VCS90ExpressFileVersionSearch" Name="vcsexpress.exe" MinVersion="9.0.30729.0" /> |
| 279 | </ComponentSearch> |
| 280 | </Property> |
| 281 | </Fragment> |
| 282 | |
| 283 | <!-- Indicates whether the Visual Studio 2008 SP1 version of vcsexpress.exe is --> |
| 284 | <!-- installed on the system. --> |
| 285 | <Fragment> |
| 286 | <Property Id="VWD90EXPRESS_SP1" Secure="yes"> |
| 287 | <ComponentSearch Id="SearchForVwdExpressIde90Component" Guid="C7F516CB-CB5C-41B7-9CB4-33927C4DD206" Type="file"> |
| 288 | <FileSearch Id="VWD90ExpressFileVersionSearch" Name="vwdexpress.exe" MinVersion="9.0.30729.0" /> |
| 289 | </ComponentSearch> |
| 290 | </Property> |
| 291 | </Fragment> |
| 292 | |
| 293 | <!-- Indicates whether or not the Document Explorer 2008 runtime components are installed. --> |
| 294 | <Fragment> |
| 295 | <Property Id="DEXPLORE_2008_INSTALLED" Secure="yes"> |
| 296 | <RegistrySearch Id="Dexplore2008RegKey" Root="HKLM" Key="Software\Microsoft\DExplore\v9.0.21022\1033" Name="Install" Type="raw" /> |
| 297 | </Property> |
| 298 | </Fragment> |
| 299 | </Wix> |