diff options
Diffstat (limited to 'src/wixlib/VS2015.wxs')
-rw-r--r-- | src/wixlib/VS2015.wxs | 187 |
1 files changed, 187 insertions, 0 deletions
diff --git a/src/wixlib/VS2015.wxs b/src/wixlib/VS2015.wxs new file mode 100644 index 00000000..b7fb7b4d --- /dev/null +++ b/src/wixlib/VS2015.wxs | |||
@@ -0,0 +1,187 @@ | |||
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="VS2015_EXTENSIONS_DIR" Secure="yes"> | ||
8 | <RegistrySearch Id="VS2015DevEnvForExtensionsSearch" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\14.0\Setup\VS" Name="EnvironmentDirectory" Type="raw"> | ||
9 | <DirectorySearch Id="VS2015ExtensionsPathSearch" Path="Extensions" Depth="1" /> | ||
10 | </RegistrySearch> | ||
11 | </Property> | ||
12 | </Fragment> | ||
13 | |||
14 | <Fragment> | ||
15 | <Property Id="VS2015_PROJECTTEMPLATES_DIR" Secure="yes"> | ||
16 | <RegistrySearch Id="VS2015DevEnvForProjectTemplatesSearch" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\14.0\Setup\VS" Name="EnvironmentDirectory" Type="raw"> | ||
17 | <DirectorySearch Id="VS2015ProjectTemplatesPathSearch" Path="ProjectTemplates" Depth="1" /> | ||
18 | </RegistrySearch> | ||
19 | </Property> | ||
20 | </Fragment> | ||
21 | |||
22 | <Fragment> | ||
23 | <Property Id="VS2015_SCHEMAS_DIR" Secure="yes"> | ||
24 | <RegistrySearch Id="VS2015ProductPathSearch" Root="HKLM" Key="Software\Microsoft\VisualStudio\SxS\VS7" Name="14.0" Type="raw"> | ||
25 | <DirectorySearch Id="VS2015XmlPathSearch" Path="Xml" Depth="1"> | ||
26 | <DirectorySearch Id="VS2015XmlSchemasPathSearch" Path="Schemas" Depth="1" /> | ||
27 | </DirectorySearch> | ||
28 | </RegistrySearch> | ||
29 | </Property> | ||
30 | </Fragment> | ||
31 | |||
32 | <Fragment> | ||
33 | <Property Id="VS2015_ITEMTEMPLATES_DIR" Secure="yes"> | ||
34 | <RegistrySearch Id="VS2015DevEnvForItemTemplatesSearch" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\14.0\Setup\VS" Name="EnvironmentDirectory" Type="raw"> | ||
35 | <DirectorySearch Id="VS2015ItemTemplatesPathSearch" Path="ItemTemplates" Depth="1" /> | ||
36 | </RegistrySearch> | ||
37 | </Property> | ||
38 | </Fragment> | ||
39 | |||
40 | <Fragment> | ||
41 | <Property Id="VS2015_BOOTSTRAPPER_PACKAGE_FOLDER" Secure="yes"> | ||
42 | <RegistrySearch Id="SearchForVS2015BootstrapperPackageFolder" Root="HKLM" Key="Software\Microsoft\GenericBootstrapper\4.0" Name="Path" Type="raw" /> | ||
43 | </Property> | ||
44 | </Fragment> | ||
45 | |||
46 | <Fragment> | ||
47 | <Property Id="VS2015_ROOT_FOLDER" Secure="yes"> | ||
48 | <RegistrySearch Id="SearchForVS2015RootPath" Root="HKLM" Key="Software\Microsoft\VisualStudio\SxS\VS7" Name="14.0" Type="raw" /> | ||
49 | </Property> | ||
50 | </Fragment> | ||
51 | |||
52 | <Fragment> | ||
53 | <Property Id="VS2015DEVENV" Secure="yes"> | ||
54 | <RegistrySearch Id="VS2015DevEnvSearch" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\14.0\Setup\VS" Name="EnvironmentPath" Type="raw" /> | ||
55 | </Property> | ||
56 | </Fragment> | ||
57 | |||
58 | <Fragment> | ||
59 | <CustomAction Id="VS2015Setup" Property="VS2015DEVENV" ExeCommand="/setup" Execute="deferred" Return="ignore" Impersonate="no" /> | ||
60 | <PropertyRef Id="VS2015DEVENV" /> | ||
61 | |||
62 | <InstallExecuteSequence> | ||
63 | <Custom Action="VS2015Setup" Before="InstallFinalize" Overridable="yes">VS2015DEVENV</Custom> | ||
64 | </InstallExecuteSequence> | ||
65 | </Fragment> | ||
66 | |||
67 | <Fragment> | ||
68 | <CustomAction Id="VS2015InstallVSTemplates" Property="VS2015DEVENV" ExeCommand="/InstallVSTemplates" Execute="deferred" Return="ignore" Impersonate="no" /> | ||
69 | <PropertyRef Id="VS2015DEVENV" /> | ||
70 | |||
71 | <InstallExecuteSequence> | ||
72 | <Custom Action="VS2015InstallVSTemplates" Before="InstallFinalize" Overridable="yes">VS2015DEVENV</Custom> | ||
73 | </InstallExecuteSequence> | ||
74 | </Fragment> | ||
75 | |||
76 | <!-- Indicates whether the Visual C# project system is installed as a part of --> | ||
77 | <!-- Visual Studio 2015 standard or higher. If this property is set, that --> | ||
78 | <!-- means Visual Studio 2015 standard or higher is installed and the Visual --> | ||
79 | <!-- C# language tools were installed as a part of VS 2015 setup. --> | ||
80 | <Fragment> | ||
81 | <Property Id="VS2015_IDE_VCSHARP_PROJECTSYSTEM_INSTALLED" Secure="yes"> | ||
82 | <RegistrySearch Id="SearchForVCS2015ProjectSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\14.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 2015 standard or higher. If this property is set, that --> | ||
88 | <!-- means Visual Studio 2015 standard or higher is installed and the Visual --> | ||
89 | <!-- Basic language tools were installed as a part of VS 2015 setup. --> | ||
90 | <Fragment> | ||
91 | <Property Id="VS2015_IDE_VB_PROJECTSYSTEM_INSTALLED" Secure="yes"> | ||
92 | <RegistrySearch Id="SearchForVB2015ProjectSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\14.0\Setup\VB" Name="ProductDir" Type="raw" /> | ||
93 | </Property> | ||
94 | </Fragment> | ||
95 | |||
96 | <!-- Indicates whether the Visual Web Developer 2015 Express IDE component is installed. --> | ||
97 | <!-- If this property is set, that means Visual Web Developer 2015 Express Edition is --> | ||
98 | <!-- installed on the system. --> | ||
99 | <Fragment> | ||
100 | <Property Id="VWD2015EXPRESS_IDE" Secure="yes"> | ||
101 | <RegistrySearch Id="VWD2015ExpressSearch" Root="HKLM" Key="SOFTWARE\Microsoft\VWDExpress\14.0\Setup\VS" Name="EnvironmentPath" Type="raw" /> | ||
102 | </Property> | ||
103 | </Fragment> | ||
104 | <!-- Custom action definition to run vwdexpress.exe /setup --> | ||
105 | <Fragment> | ||
106 | <CustomAction Id="VWD2015Setup" Property="VWD2015EXPRESS_IDE" ExeCommand="/setup" Execute="deferred" Return="ignore" Impersonate="no" /> | ||
107 | <PropertyRef Id="VWD2015EXPRESS_IDE" /> | ||
108 | <InstallExecuteSequence> | ||
109 | <Custom Action="VWD2015Setup" Before="InstallFinalize" Overridable="yes">VWD2015EXPRESS_IDE</Custom> | ||
110 | </InstallExecuteSequence> | ||
111 | </Fragment> | ||
112 | <!-- Custom action definition to run vwdexpress.exe /InstallVSTemplates --> | ||
113 | <Fragment> | ||
114 | <CustomAction Id="VWD2015InstallVSTemplates" Property="VWD2015EXPRESS_IDE" ExeCommand="/InstallVSTemplates" Execute="deferred" Return="ignore" Impersonate="no" /> | ||
115 | <PropertyRef Id="VWD2015EXPRESS_IDE" /> | ||
116 | <InstallExecuteSequence> | ||
117 | <Custom Action="VWD2015InstallVSTemplates" Before="InstallFinalize" Overridable="yes">VWD2015EXPRESS_IDE</Custom> | ||
118 | </InstallExecuteSequence> | ||
119 | </Fragment> | ||
120 | |||
121 | <!-- Indicates whether the Visual Web Developer project system is installed as a part of --> | ||
122 | <!-- Visual Studio 2015 standard or higher. If this property is set, that --> | ||
123 | <!-- means Visual Studio 2015 standard or higher is installed and the Visual --> | ||
124 | <!-- Web Developer language tools were installed as a part of VS 2015 setup. --> | ||
125 | <Fragment> | ||
126 | <Property Id="VS2015_IDE_VWD_PROJECTSYSTEM_INSTALLED" Secure="yes"> | ||
127 | <ComponentSearch Id="SearchForVWD2015ProjectSystemUnderVSSetup" Guid="274EB373-6B78-5EBD-8A6C-6D8094E58ECB" /> | ||
128 | <ComponentSearch Id="SearchForVWD2015ProjectSystemUnderVWDSetup" Guid="71EBDA4A-4A15-426F-95C4-4FC051FD7AA4" Type="directory" /> | ||
129 | </Property> | ||
130 | </Fragment> | ||
131 | |||
132 | <!-- Indicates whether the Visual C++ project system is installed as a part of --> | ||
133 | <!-- Visual Studio 2015 standard or higher. If this property is set, that --> | ||
134 | <!-- means Visual Studio 2015 standard or higher is installed and the Visual --> | ||
135 | <!-- C++ language tools were installed as a part of VS 2015 setup. --> | ||
136 | <Fragment> | ||
137 | <Property Id="VS2015_IDE_VC_PROJECTSYSTEM_INSTALLED" Secure="yes"> | ||
138 | <RegistrySearch Id="SearchForVC2015ProjectSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\14.0\Setup\VC" Name="ProductDir" Type="raw" /> | ||
139 | </Property> | ||
140 | </Fragment> | ||
141 | |||
142 | <!-- Indicates whether the Visual Studio 2015 Team Test project system is installed --> | ||
143 | <Fragment> | ||
144 | <Property Id="VS2015_IDE_VSTS_TESTSYSTEM_INSTALLED" Secure="yes"> | ||
145 | <RegistrySearch Id="SearchForVSTS2015TestSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\14.0\Projects\{3AC096D0-A1C2-E12C-1390-A8335801FDAB}" Name="Package" Type="raw" /> | ||
146 | </Property> | ||
147 | </Fragment> | ||
148 | |||
149 | <!-- Indicates whether the Visual Studio Modeling project system is installed --> | ||
150 | <Fragment> | ||
151 | <Property Id="VS2015_IDE_MODELING_PROJECTSYSTEM_INSTALLED" Secure="yes"> | ||
152 | <RegistrySearch Id="SearchForVSTS2015ModelingSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\14.0\Projects\{f088123c-0e9e-452a-89e6-6ba2f21d5cac}" Name="Package" Type="raw" /> | ||
153 | </Property> | ||
154 | </Fragment> | ||
155 | |||
156 | <!-- Indicates whether the Visual Studio F# project system is installed --> | ||
157 | <Fragment> | ||
158 | <Property Id="VS2015_IDE_FSHARP_PROJECTSYSTEM_INSTALLED" Secure="yes"> | ||
159 | <RegistrySearch Id="SearchForVSTS2015FSharpSystemUnderVSSetup" Root="HKLM" Key="SOFTWARE\Microsoft\VisualStudio\14.0\Setup\F#" Name="ProductDir" Type="raw" /> | ||
160 | </Property> | ||
161 | </Fragment> | ||
162 | |||
163 | <!-- Indicates whether the Visual Studio Express for Windows IDE component is installed. --> | ||
164 | <!-- If this property is set, that means Visual Studio Express for Windows is installed --> | ||
165 | <!-- on the system. --> | ||
166 | <Fragment> | ||
167 | <Property Id="VS2015WINEXPRESS_IDE" Secure="yes"> | ||
168 | <RegistrySearch Id="VS2015WinExpressSearch" Root="HKLM" Key="SOFTWARE\Microsoft\VSWinExpress\14.0\Setup\VS" Name="EnvironmentPath" Type="raw" /> | ||
169 | </Property> | ||
170 | </Fragment> | ||
171 | <!-- Custom action definition to run vswinexpress.exe /setup --> | ||
172 | <Fragment> | ||
173 | <CustomAction Id="VS2015WinExpressSetup" Property="VS2015WINEXPRESS_IDE" ExeCommand="/setup" Execute="deferred" Return="ignore" Impersonate="no" /> | ||
174 | <PropertyRef Id="VS2015WINEXPRESS_IDE" /> | ||
175 | <InstallExecuteSequence> | ||
176 | <Custom Action="VS2015WinExpressSetup" Before="InstallFinalize" Overridable="yes">VS2015WINEXPRESS_IDE</Custom> | ||
177 | </InstallExecuteSequence> | ||
178 | </Fragment> | ||
179 | <!-- Custom action definition to run vswinexpress.exe /InstallVSTemplates --> | ||
180 | <Fragment> | ||
181 | <CustomAction Id="VS2015WinExpressInstallVSTemplates" Property="VS2015WINEXPRESS_IDE" ExeCommand="/InstallVSTemplates" Execute="deferred" Return="ignore" Impersonate="no" /> | ||
182 | <PropertyRef Id="VS2015WINEXPRESS_IDE" /> | ||
183 | <InstallExecuteSequence> | ||
184 | <Custom Action="VS2015WinExpressInstallVSTemplates" Before="InstallFinalize" Overridable="yes">VS2015WINEXPRESS_IDE</Custom> | ||
185 | </InstallExecuteSequence> | ||
186 | </Fragment> | ||
187 | </Wix> | ||