diff options
Diffstat (limited to 'src/wixlib/VS2013.wxs')
-rw-r--r-- | src/wixlib/VS2013.wxs | 253 |
1 files changed, 253 insertions, 0 deletions
diff --git a/src/wixlib/VS2013.wxs b/src/wixlib/VS2013.wxs new file mode 100644 index 00000000..fa774ff0 --- /dev/null +++ b/src/wixlib/VS2013.wxs | |||
@@ -0,0 +1,253 @@ | |||
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="VS2013_EXTENSIONS_DIR" Secure="yes"> | ||
8 | <RegistrySearch Id="VS2013DevEnvForExtensionsSearch" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\12.0\Setup\VS" Name="EnvironmentDirectory" Type="raw"> | ||
9 | <DirectorySearch Id="VS2013ExtensionsPathSearch" Path="Extensions" Depth="1" /> | ||
10 | </RegistrySearch> | ||
11 | </Property> | ||
12 | </Fragment> | ||
13 | |||
14 | <Fragment> | ||
15 | <Property Id="VS2013_PROJECTTEMPLATES_DIR" Secure="yes"> | ||
16 | <RegistrySearch Id="VS2013DevEnvForProjectTemplatesSearch" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\12.0\Setup\VS" Name="EnvironmentDirectory" Type="raw"> | ||
17 | <DirectorySearch Id="VS2013ProjectTemplatesPathSearch" Path="ProjectTemplates" Depth="1" /> | ||
18 | </RegistrySearch> | ||
19 | </Property> | ||
20 | </Fragment> | ||
21 | |||
22 | <Fragment> | ||
23 | <Property Id="VS2013_SCHEMAS_DIR" Secure="yes"> | ||
24 | <RegistrySearch Id="VS2013ProductPathSearch" Root="HKLM" Key="Software\Microsoft\VisualStudio\SxS\VS7" Name="12.0" Type="raw"> | ||
25 | <DirectorySearch Id="VS2013XmlPathSearch" Path="Xml" Depth="1"> | ||
26 | <DirectorySearch Id="VS2013XmlSchemasPathSearch" Path="Schemas" Depth="1" /> | ||
27 | </DirectorySearch> | ||
28 | </RegistrySearch> | ||
29 | </Property> | ||
30 | </Fragment> | ||
31 | |||
32 | <Fragment> | ||
33 | <Property Id="VS2013_ITEMTEMPLATES_DIR" Secure="yes"> | ||
34 | <RegistrySearch Id="VS2013DevEnvForItemTemplatesSearch" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\12.0\Setup\VS" Name="EnvironmentDirectory" Type="raw"> | ||
35 | <DirectorySearch Id="VS2013ItemTemplatesPathSearch" Path="ItemTemplates" Depth="1" /> | ||
36 | </RegistrySearch> | ||
37 | </Property> | ||
38 | </Fragment> | ||
39 | |||
40 | <Fragment> | ||
41 | <Property Id="VS2013_BOOTSTRAPPER_PACKAGE_FOLDER" Secure="yes"> | ||
42 | <RegistrySearch Id="SearchForVS2013BootstrapperPackageFolder" Root="HKLM" Key="Software\Microsoft\GenericBootstrapper\12.0" Name="Path" Type="raw" /> | ||
43 | </Property> | ||
44 | </Fragment> | ||
45 | |||
46 | <Fragment> | ||
47 | <Property Id="VS2013_ROOT_FOLDER" Secure="yes"> | ||
48 | <RegistrySearch Id="SearchForVS2013RootPath" Root="HKLM" Key="Software\Microsoft\VisualStudio\SxS\VS7" Name="12.0" Type="raw" /> | ||
49 | </Property> | ||
50 | </Fragment> | ||
51 | |||
52 | <Fragment> | ||
53 | <Property Id="VS2013DEVENV" Secure="yes"> | ||
54 | <RegistrySearch Id="VS2013DevEnvSearch" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\12.0\Setup\VS" Name="EnvironmentPath" Type="raw" /> | ||
55 | </Property> | ||
56 | </Fragment> | ||
57 | |||
58 | <Fragment> | ||
59 | <CustomAction Id="VS2013Setup" Property="VS2013DEVENV" ExeCommand="/setup" Execute="deferred" Return="ignore" Impersonate="no" /> | ||
60 | <PropertyRef Id="VS2013DEVENV" /> | ||
61 | |||
62 | <InstallExecuteSequence> | ||
63 | <Custom Action="VS2013Setup" Before="InstallFinalize" Overridable="yes">VS2013DEVENV</Custom> | ||
64 | </InstallExecuteSequence> | ||
65 | </Fragment> | ||
66 | |||
67 | <Fragment> | ||
68 | <CustomAction Id="VS2013InstallVSTemplates" Property="VS2013DEVENV" ExeCommand="/InstallVSTemplates" Execute="deferred" Return="ignore" Impersonate="no" /> | ||
69 | <PropertyRef Id="VS2013DEVENV" /> | ||
70 | |||
71 | <InstallExecuteSequence> | ||
72 | <Custom Action="VS2013InstallVSTemplates" Before="InstallFinalize" Overridable="yes">VS2013DEVENV</Custom> | ||
73 | </InstallExecuteSequence> | ||
74 | </Fragment> | ||
75 | |||
76 | <!-- Indicates whether the Visual C# project system is installed as a part of --> | ||
77 | <!-- Visual Studio 2013 Pro or higher. If this property is set, that --> | ||
78 | <!-- means Visual Studio 2013 Pro or higher is installed and the Visual --> | ||
79 | <!-- C# language tools were installed as a part of VS 2013 setup. --> | ||
80 | <Fragment> | ||
81 | <Property Id="VS2013_IDE_VCSHARP_PROJECTSYSTEM_INSTALLED" Secure="yes"> | ||
82 | <RegistrySearch Id="SearchForVCS2013ProjectSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\12.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 2013 Pro or higher. If this property is set, that --> | ||
88 | <!-- means Visual Studio 2013 Pro or higher is installed and the Visual --> | ||
89 | <!-- Basic language tools were installed as a part of VS 2013 setup. --> | ||
90 | <Fragment> | ||
91 | <Property Id="VS2013_IDE_VB_PROJECTSYSTEM_INSTALLED" Secure="yes"> | ||
92 | <RegistrySearch Id="SearchForVB2013ProjectSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\12.0\Setup\VB" Name="ProductDir" Type="raw" /> | ||
93 | </Property> | ||
94 | </Fragment> | ||
95 | |||
96 | <!-- Indicates whether the Visual Web Developer 2013 Express IDE component is installed. --> | ||
97 | <!-- If this property is set, that means Visual Web Developer 2013 Express Edition is --> | ||
98 | <!-- installed on the system. --> | ||
99 | <Fragment> | ||
100 | <Property Id="VWD2013EXPRESS_IDE" Secure="yes"> | ||
101 | <ComponentSearch Id="SearchForVwdExpressIde2013Component" Guid="{04B98358-C73B-40F7-9946-AA80B316DA84}" Type="file"> | ||
102 | <FileSearch Id="VwdExpressIde2013" Name="vwdexpress.exe" /> | ||
103 | </ComponentSearch> | ||
104 | </Property> | ||
105 | </Fragment> | ||
106 | <!-- Custom action definition to run vwdexpress.exe /setup --> | ||
107 | <Fragment> | ||
108 | <CustomAction Id="VWD2013Setup" Property="VWD2013EXPRESS_IDE" ExeCommand="/setup" Execute="deferred" Return="ignore" Impersonate="no" /> | ||
109 | <PropertyRef Id="VWD2013EXPRESS_IDE" /> | ||
110 | <InstallExecuteSequence> | ||
111 | <Custom Action="VWD2013Setup" Before="InstallFinalize" Overridable="yes">VWD2013EXPRESS_IDE</Custom> | ||
112 | </InstallExecuteSequence> | ||
113 | </Fragment> | ||
114 | <!-- Custom action definition to run vwdexpress.exe /InstallVSTemplates --> | ||
115 | <Fragment> | ||
116 | <CustomAction Id="VWD2013InstallVSTemplates" Property="VWD2013EXPRESS_IDE" ExeCommand="/InstallVSTemplates" Execute="deferred" Return="ignore" Impersonate="no" /> | ||
117 | <PropertyRef Id="VWD2013EXPRESS_IDE" /> | ||
118 | <InstallExecuteSequence> | ||
119 | <Custom Action="VWD2013InstallVSTemplates" Before="InstallFinalize" Overridable="yes">VWD2013EXPRESS_IDE</Custom> | ||
120 | </InstallExecuteSequence> | ||
121 | </Fragment> | ||
122 | |||
123 | <!-- Indicates whether the Visual Studio 2013 Express IDE for Phone component is installed. --> | ||
124 | <Fragment> | ||
125 | <Property Id="VPD2013EXPRESS_IDE" Secure="yes"> | ||
126 | <RegistrySearch Id="VPD2013ExpressForPhoneEnvSearch" Root="HKLM" Key="SOFTWARE\Microsoft\VPDExpress\12.0\Setup\VS" Name="EnvironmentPath" Type="raw" /> | ||
127 | </Property> | ||
128 | </Fragment> | ||
129 | <!-- Custom action definition to run VPDexpress.exe /setup --> | ||
130 | <Fragment> | ||
131 | <CustomAction Id="VPD2013Setup" Property="VPD2013EXPRESS_IDE" ExeCommand="/setup" Execute="deferred" Return="ignore" Impersonate="no" /> | ||
132 | <PropertyRef Id="VPD2013EXPRESS_IDE" /> | ||
133 | <InstallExecuteSequence> | ||
134 | <Custom Action="VPD2013Setup" Before="InstallFinalize" Overridable="yes">VPD2013EXPRESS_IDE</Custom> | ||
135 | </InstallExecuteSequence> | ||
136 | </Fragment> | ||
137 | <!-- Custom action definition to run VPDexpress.exe /InstallVSTemplates --> | ||
138 | <Fragment> | ||
139 | <CustomAction Id="VPD2013InstallVSTemplates" Property="VPD2013EXPRESS_IDE" ExeCommand="/InstallVSTemplates" Execute="deferred" Return="ignore" Impersonate="no" /> | ||
140 | <PropertyRef Id="VPD2013EXPRESS_IDE" /> | ||
141 | <InstallExecuteSequence> | ||
142 | <Custom Action="VPD2013InstallVSTemplates" Before="InstallFinalize" Overridable="yes">VPD2013EXPRESS_IDE</Custom> | ||
143 | </InstallExecuteSequence> | ||
144 | </Fragment> | ||
145 | |||
146 | <!-- Indicates whether the Visual Web Developer project system is installed as a part of --> | ||
147 | <!-- Visual Studio 2013 Pro or higher. If this property is set, that --> | ||
148 | <!-- means Visual Studio 2013 Pro or higher is installed and the Visual --> | ||
149 | <!-- Web Developer language tools were installed as a part of VS 2013 setup. --> | ||
150 | <Fragment> | ||
151 | <Property Id="VS2013_IDE_VWD_PROJECTSYSTEM_INSTALLED" Secure="yes"> | ||
152 | <ComponentSearch Id="SearchForVWD2013ProjectSystemUnderVSSetup" Guid="{CDA2DE5A-F6F4-48D0-B9BA-58CFD381143C}" /> | ||
153 | <ComponentSearch Id="SearchForVWD2013ProjectSystemUnderVWDSetup" Guid="{C6E8D1B3-85F3-4F3A-A6AE-4166F917C9FD}" Type="directory" /> | ||
154 | </Property> | ||
155 | </Fragment> | ||
156 | |||
157 | <!-- Indicates whether the Visual C++ project system is installed as a part of --> | ||
158 | <!-- Visual Studio 2013 Pro or higher. If this property is set, that --> | ||
159 | <!-- means Visual Studio 2013 Pro or higher is installed and the Visual --> | ||
160 | <!-- C++ language tools were installed as a part of VS 2013 setup. --> | ||
161 | <Fragment> | ||
162 | <Property Id="VS2013_IDE_VC_PROJECTSYSTEM_INSTALLED" Secure="yes"> | ||
163 | <RegistrySearch Id="SearchForVC2013ProjectSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\12.0\Setup\VC" Name="ProductDir" Type="raw" /> | ||
164 | </Property> | ||
165 | </Fragment> | ||
166 | |||
167 | <!-- Indicates whether the Visual Studio 2013 Team Test project system is installed --> | ||
168 | <Fragment> | ||
169 | <Property Id="VS2013_IDE_VSTS_TESTSYSTEM_INSTALLED" Secure="yes"> | ||
170 | <RegistrySearch Id="SearchForVSTS2013TestSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\12.0\Projects\{3AC096D0-A1C2-E12C-1390-A8335801FDAB}" Name="Package" Type="raw" /> | ||
171 | </Property> | ||
172 | </Fragment> | ||
173 | |||
174 | <!-- Indicates whether the Windows Installer XML project system is installed for VS2013 --> | ||
175 | <Fragment> | ||
176 | <Property Id="VS2013_IDE_WIX_PROJECTSYSTEM_INSTALLED" Secure="yes"> | ||
177 | <!-- Component search for the .pkgdef file for VS2013 --> | ||
178 | <ComponentSearch Id="SearchForVS2013WixSystemUnderVSSetup" Guid="{768F32E1-BAAB-5203-822D-3BD85F9BD26E}" /> | ||
179 | </Property> | ||
180 | </Fragment> | ||
181 | |||
182 | <!-- Indicates whether the Visual Studio Modeling project system is installed --> | ||
183 | <Fragment> | ||
184 | <Property Id="VS2013_IDE_MODELING_PROJECTSYSTEM_INSTALLED" Secure="yes"> | ||
185 | <RegistrySearch Id="SearchForVSTS2013ModelingSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\12.0\Projects\{f088123c-0e9e-452a-89e6-6ba2f21d5cac}" Name="Package" Type="raw" /> | ||
186 | </Property> | ||
187 | </Fragment> | ||
188 | |||
189 | <!-- Indicates whether the Visual Studio F# project system is installed --> | ||
190 | <Fragment> | ||
191 | <Property Id="VS2013_IDE_FSHARP_PROJECTSYSTEM_INSTALLED" Secure="yes"> | ||
192 | <RegistrySearch Id="SearchForVSTS2013FSharpSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\12.0\Setup\F#" Name="ProductDir" Type="raw" /> | ||
193 | </Property> | ||
194 | </Fragment> | ||
195 | |||
196 | <!-- Indicates whether the Visual Studio Express for Windows IDE component is installed. --> | ||
197 | <!-- If this property is set, that means Visual Studio Express for Windows is installed --> | ||
198 | <!-- on the system. --> | ||
199 | <Fragment> | ||
200 | <Property Id="VS2013WINEXPRESS_IDE" Secure="yes"> | ||
201 | <ComponentSearch Id="SearchForVS2013WinExpressIdeComponent" Guid="{5E7D5287-3ADA-4A8E-9953-C6B702BD1F01}" Type="file"> | ||
202 | <FileSearch Id="VS2013WinExpressIde" Name="vswinexpress.exe" /> | ||
203 | </ComponentSearch> | ||
204 | </Property> | ||
205 | </Fragment> | ||
206 | |||
207 | <!-- Custom action definition to run vswinexpress.exe /setup --> | ||
208 | <Fragment> | ||
209 | <CustomAction Id="VS2013WinExpressSetup" Property="VS2013WINEXPRESS_IDE" ExeCommand="/setup" Execute="deferred" Return="ignore" Impersonate="no" /> | ||
210 | <PropertyRef Id="VS2013WINEXPRESS_IDE" /> | ||
211 | <InstallExecuteSequence> | ||
212 | <Custom Action="VS2013WinExpressSetup" Before="InstallFinalize" Overridable="yes">VS2013WINEXPRESS_IDE</Custom> | ||
213 | </InstallExecuteSequence> | ||
214 | </Fragment> | ||
215 | |||
216 | <!-- Custom action definition to run vswinexpress.exe /InstallVSTemplates --> | ||
217 | <Fragment> | ||
218 | <CustomAction Id="VS2013WinExpressInstallVSTemplates" Property="VS2013WINEXPRESS_IDE" ExeCommand="/InstallVSTemplates" Execute="deferred" Return="ignore" Impersonate="no" /> | ||
219 | <PropertyRef Id="VS2013WINEXPRESS_IDE" /> | ||
220 | <InstallExecuteSequence> | ||
221 | <Custom Action="VS2013WinExpressInstallVSTemplates" Before="InstallFinalize" Overridable="yes">VS2013WINEXPRESS_IDE</Custom> | ||
222 | </InstallExecuteSequence> | ||
223 | </Fragment> | ||
224 | |||
225 | <!-- Indicates whether the Visual Studio Express for Windows Desktop IDE component is installed. --> | ||
226 | <!-- If this property is set, that means Visual Studio Express for Windows Desktop is installed --> | ||
227 | <!-- on the system. --> | ||
228 | <Fragment> | ||
229 | <Property Id="VS2013WDEXPRESS_IDE" Secure="yes"> | ||
230 | <ComponentSearch Id="SearchForVS2013WDExpressIdeComponent" Guid="{6C65247B-900C-45AD-8ED8-3F20E668348E}" Type="file"> | ||
231 | <FileSearch Id="VS2013WDExpressIde" Name="WDExpress.exe" /> | ||
232 | </ComponentSearch> | ||
233 | </Property> | ||
234 | </Fragment> | ||
235 | |||
236 | <!-- Custom action definition to run WDExpress.exe /setup --> | ||
237 | <Fragment> | ||
238 | <CustomAction Id="VS2013WDExpressSetup" Property="VS2013WDEXPRESS_IDE" ExeCommand="/setup" Execute="deferred" Return="ignore" Impersonate="no" /> | ||
239 | <PropertyRef Id="VS2013WDEXPRESS_IDE" /> | ||
240 | <InstallExecuteSequence> | ||
241 | <Custom Action="VS2013WDExpressSetup" Before="InstallFinalize" Overridable="yes">VS2013WDEXPRESS_IDE</Custom> | ||
242 | </InstallExecuteSequence> | ||
243 | </Fragment> | ||
244 | |||
245 | <!-- Custom action definition to run WDExpress.exe /InstallVSTemplates --> | ||
246 | <Fragment> | ||
247 | <CustomAction Id="VS2013WDExpressInstallVSTemplates" Property="VS2013WDEXPRESS_IDE" ExeCommand="/InstallVSTemplates" Execute="deferred" Return="ignore" Impersonate="no" /> | ||
248 | <PropertyRef Id="VS2013WDEXPRESS_IDE" /> | ||
249 | <InstallExecuteSequence> | ||
250 | <Custom Action="VS2013WDExpressInstallVSTemplates" Before="InstallFinalize" Overridable="yes">VS2013WDEXPRESS_IDE</Custom> | ||
251 | </InstallExecuteSequence> | ||
252 | </Fragment> | ||
253 | </Wix> | ||