aboutsummaryrefslogtreecommitdiff
path: root/src/wixlib/VS11.wxs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wixlib/VS11.wxs')
-rw-r--r--src/wixlib/VS11.wxs206
1 files changed, 206 insertions, 0 deletions
diff --git a/src/wixlib/VS11.wxs b/src/wixlib/VS11.wxs
new file mode 100644
index 00000000..dd52e80a
--- /dev/null
+++ b/src/wixlib/VS11.wxs
@@ -0,0 +1,206 @@
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="VS11_EXTENSIONS_DIR" Secure="yes">
8 <RegistrySearch Id="VS11DevEnvForExtensionsSearch" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\11.0\Setup\VS" Name="EnvironmentDirectory" Type="raw">
9 <DirectorySearch Id="VS11ExtensionsPathSearch" Path="Extensions" Depth="1" />
10 </RegistrySearch>
11 </Property>
12 </Fragment>
13
14 <Fragment>
15 <Property Id="VS11_PROJECTTEMPLATES_DIR" Secure="yes">
16 <RegistrySearch Id="VS11DevEnvForProjectTemplatesSearch" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\11.0\Setup\VS" Name="EnvironmentDirectory" Type="raw">
17 <DirectorySearch Id="VS11ProjectTemplatesPathSearch" Path="ProjectTemplates" Depth="1" />
18 </RegistrySearch>
19 </Property>
20 </Fragment>
21
22 <Fragment>
23 <Property Id="VS11_SCHEMAS_DIR" Secure="yes">
24 <RegistrySearch Id="VS11ProductPathSearch" Root="HKLM" Key="Software\Microsoft\VisualStudio\SxS\VS7" Name="11.0" Type="raw">
25 <DirectorySearch Id="VS11XmlPathSearch" Path="Xml" Depth="1">
26 <DirectorySearch Id="VS11XmlSchemasPathSearch" Path="Schemas" Depth="1" />
27 </DirectorySearch>
28 </RegistrySearch>
29 </Property>
30 </Fragment>
31
32 <Fragment>
33 <Property Id="VS11_ITEMTEMPLATES_DIR" Secure="yes">
34 <RegistrySearch Id="VS11DevEnvForItemTemplatesSearch" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\11.0\Setup\VS" Name="EnvironmentDirectory" Type="raw">
35 <DirectorySearch Id="VS11ItemTemplatesPathSearch" Path="ItemTemplates" Depth="1" />
36 </RegistrySearch>
37 </Property>
38 </Fragment>
39
40 <Fragment>
41 <Property Id="VS11_BOOTSTRAPPER_PACKAGE_FOLDER" Secure="yes">
42 <RegistrySearch Id="SearchForVs11BootstrapperPackageFolder" Root="HKLM" Key="Software\Microsoft\GenericBootstrapper\4.0" Name="Path" Type="raw" />
43 </Property>
44 </Fragment>
45
46 <Fragment>
47 <Property Id="VS11_ROOT_FOLDER" Secure="yes">
48 <RegistrySearch Id="SearchForVS11RootPath" Root="HKLM" Key="Software\Microsoft\VisualStudio\SxS\VS7" Name="11.0" Type="raw" />
49 </Property>
50 </Fragment>
51
52 <Fragment>
53 <Property Id="VS11DEVENV" Secure="yes">
54 <RegistrySearch Id="VS11DevEnvSearch" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\11.0\Setup\VS" Name="EnvironmentPath" Type="raw" />
55 </Property>
56 </Fragment>
57
58 <Fragment>
59 <CustomAction Id="VS11Setup" Property="VS11DEVENV" ExeCommand="/setup" Execute="deferred" Return="ignore" Impersonate="no" />
60 <PropertyRef Id="VS11DEVENV" />
61
62 <InstallExecuteSequence>
63 <Custom Action="VS11Setup" Before="InstallFinalize" Overridable="yes">VS11DEVENV</Custom>
64 </InstallExecuteSequence>
65 </Fragment>
66
67 <Fragment>
68 <CustomAction Id="VS11InstallVSTemplates" Property="VS11DEVENV" ExeCommand="/InstallVSTemplates" Execute="deferred" Return="ignore" Impersonate="no" />
69 <PropertyRef Id="VS11DEVENV" />
70
71 <InstallExecuteSequence>
72 <Custom Action="VS11InstallVSTemplates" Before="InstallFinalize" Overridable="yes">VS11DEVENV</Custom>
73 </InstallExecuteSequence>
74 </Fragment>
75
76 <!-- Indicates whether the Visual C# project system is installed as a part of -->
77 <!-- Visual Studio 11 standard or higher. If this property is set, that -->
78 <!-- means Visual Studio 11 standard or higher is installed and the Visual -->
79 <!-- C# language tools were installed as a part of VS 11 setup. -->
80 <Fragment>
81 <Property Id="VS11_IDE_VCSHARP_PROJECTSYSTEM_INSTALLED" Secure="yes">
82 <RegistrySearch Id="SearchForVCS11ProjectSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\11.0\Setup\VC#" Name="ProductDir" Type="raw" />
83 </Property>
84 </Fragment>
85
86 <!-- Indicates whether the Visual Basic project system is installed as a part of -->
87 <!-- Visual Studio 11 standard or higher. If this property is set, that -->
88 <!-- means Visual Studio 11 standard or higher is installed and the Visual -->
89 <!-- Basic language tools were installed as a part of VS 11 setup. -->
90 <Fragment>
91 <Property Id="VS11_IDE_VB_PROJECTSYSTEM_INSTALLED" Secure="yes">
92 <RegistrySearch Id="SearchForVB11ProjectSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\11.0\Setup\VB" Name="ProductDir" Type="raw" />
93 </Property>
94 </Fragment>
95
96 <!-- Indicates whether the Visual Web Developer 11 Express IDE component is installed. -->
97 <!-- If this property is set, that means Visual Web Developer 11 Express Edition is -->
98 <!-- installed on the system. -->
99 <Fragment>
100 <Property Id="VWD11EXPRESS_IDE" Secure="yes">
101 <ComponentSearch Id="SearchForVwdExpressIde11Component" Guid="92A0CBA0-BF39-422D-87FA-AB64564CD136" Type="file">
102 <FileSearch Id="VwdExpressIde11" Name="vwdexpress.exe" />
103 </ComponentSearch>
104 </Property>
105 </Fragment>
106 <!-- Custom action definition to run vwdexpress.exe /setup -->
107 <Fragment>
108 <CustomAction Id="VWD11Setup" Property="VWD11EXPRESS_IDE" ExeCommand="/setup" Execute="deferred" Return="ignore" Impersonate="no" />
109 <PropertyRef Id="VWD11EXPRESS_IDE" />
110 <InstallExecuteSequence>
111 <Custom Action="VWD11Setup" Before="InstallFinalize" Overridable="yes">VWD11EXPRESS_IDE</Custom>
112 </InstallExecuteSequence>
113 </Fragment>
114 <!-- Custom action definition to run vwdexpress.exe /InstallVSTemplates -->
115 <Fragment>
116 <CustomAction Id="VWD11InstallVSTemplates" Property="VWD11EXPRESS_IDE" ExeCommand="/InstallVSTemplates" Execute="deferred" Return="ignore" Impersonate="no" />
117 <PropertyRef Id="VWD11EXPRESS_IDE" />
118 <InstallExecuteSequence>
119 <Custom Action="VWD11InstallVSTemplates" Before="InstallFinalize" Overridable="yes">VWD11EXPRESS_IDE</Custom>
120 </InstallExecuteSequence>
121 </Fragment>
122
123 <!-- Indicates whether the Visual Web Developer project system is installed as a part of -->
124 <!-- Visual Studio 11 standard or higher. If this property is set, that -->
125 <!-- means Visual Studio 11 standard or higher is installed and the Visual -->
126 <!-- Web Developer language tools were installed as a part of VS 11 setup. -->
127 <Fragment>
128 <Property Id="VS11_IDE_VWD_PROJECTSYSTEM_INSTALLED" Secure="yes">
129 <ComponentSearch Id="SearchForVWD11ProjectSystemUnderVSSetup" Guid="03E73DF8-BED3-44BB-BE2E-BAC10FAE723E" />
130 <ComponentSearch Id="SearchForVWD11ProjectSystemUnderVWDSetup" Guid="3D7D4A9F-E3D7-4F13-9907-AF4F3CD75D33" Type="directory" />
131 </Property>
132 </Fragment>
133
134 <!-- Indicates whether the Visual C++ project system is installed as a part of -->
135 <!-- Visual Studio 11 standard or higher. If this property is set, that -->
136 <!-- means Visual Studio 11 standard or higher is installed and the Visual -->
137 <!-- C++ language tools were installed as a part of VS 11 setup. -->
138 <Fragment>
139 <Property Id="VS11_IDE_VC_PROJECTSYSTEM_INSTALLED" Secure="yes">
140 <RegistrySearch Id="SearchForVC11ProjectSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\11.0\Setup\VC" Name="ProductDir" Type="raw" />
141 </Property>
142 </Fragment>
143
144 <!-- Indicates whether the Visual Studio 11 Team Test project system is installed -->
145 <Fragment>
146 <Property Id="VS11_IDE_VSTS_TESTSYSTEM_INSTALLED" Secure="yes">
147 <RegistrySearch Id="SearchForVSTS11TestSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\11.0\Projects\{3AC096D0-A1C2-E12C-1390-A8335801FDAB}" Name="Package" Type="raw" />
148 </Property>
149 </Fragment>
150
151 <!-- Indicates whether the Visual Studio 11 Database project system is installed -->
152 <Fragment>
153 <Property Id="VS11_IDE_DB_PROJECTSYSTEM_INSTALLED" Secure="yes">
154 <ComponentSearch Id="SearchForVS11DBSystemUnderVSSetup" Guid="E781FFA7-55F5-4E8C-9275-7B7EF035B13B" />
155 </Property>
156 </Fragment>
157
158 <!-- Indicates whether the WiX project system is installed for VS11 -->
159 <Fragment>
160 <Property Id="VS11_IDE_WIX_PROJECTSYSTEM_INSTALLED" Secure="yes">
161 <!-- Component search for the .pkgdef file for VS11 -->
162 <ComponentSearch Id="SearchForVS11WixSystemUnderVSSetup" Guid="55489E7A-7DCA-5228-975E-39C51BE332D9" />
163 </Property>
164 </Fragment>
165
166 <!-- Indicates whether the Visual Studio Modeling project system is installed -->
167 <Fragment>
168 <Property Id="VS11_IDE_MODELING_PROJECTSYSTEM_INSTALLED" Secure="yes">
169 <RegistrySearch Id="SearchForVSTS11ModelingSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\11.0\Projects\{f088123c-0e9e-452a-89e6-6ba2f21d5cac}" Name="Package" Type="raw" />
170 </Property>
171 </Fragment>
172
173 <!-- Indicates whether the Visual Studio F# project system is installed -->
174 <Fragment>
175 <Property Id="VS11_IDE_FSHARP_PROJECTSYSTEM_INSTALLED" Secure="yes">
176 <RegistrySearch Id="SearchForVSTS11FSharpSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\11.0\Setup\F#" Name="ProductDir" Type="raw" />
177 </Property>
178 </Fragment>
179
180 <!-- Indicates whether the Visual Studio Express for Windows IDE component is installed. -->
181 <!-- If this property is set, that means Visual Studio Express for Windows is installed -->
182 <!-- on the system. -->
183 <Fragment>
184 <Property Id="VS11WINEXPRESS_IDE" Secure="yes">
185 <ComponentSearch Id="SearchForVS11WinExpressIdeComponent" Guid="A7A5FD99-1DFE-4AA8-A563-4DF5E0DD89E1" Type="file">
186 <FileSearch Id="VS11WinExpressIde" Name="vswinexpress.exe" />
187 </ComponentSearch>
188 </Property>
189 </Fragment>
190 <!-- Custom action definition to run vswinexpress.exe /setup -->
191 <Fragment>
192 <CustomAction Id="VS11WinExpressSetup" Property="VS11WINEXPRESS_IDE" ExeCommand="/setup" Execute="deferred" Return="ignore" Impersonate="no" />
193 <PropertyRef Id="VS11WINEXPRESS_IDE" />
194 <InstallExecuteSequence>
195 <Custom Action="VS11WinExpressSetup" Before="InstallFinalize" Overridable="yes">VS11WINEXPRESS_IDE</Custom>
196 </InstallExecuteSequence>
197 </Fragment>
198 <!-- Custom action definition to run vswinexpress.exe /InstallVSTemplates -->
199 <Fragment>
200 <CustomAction Id="VS11WinExpressInstallVSTemplates" Property="VS11WINEXPRESS_IDE" ExeCommand="/InstallVSTemplates" Execute="deferred" Return="ignore" Impersonate="no" />
201 <PropertyRef Id="VS11WINEXPRESS_IDE" />
202 <InstallExecuteSequence>
203 <Custom Action="VS11WinExpressInstallVSTemplates" Before="InstallFinalize" Overridable="yes">VS11WINEXPRESS_IDE</Custom>
204 </InstallExecuteSequence>
205 </Fragment>
206</Wix>