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