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