aboutsummaryrefslogtreecommitdiff
path: root/src/wixlib/VS2017.wxs
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2017-10-02 23:49:38 -0700
committerRob Mensching <rob@firegiant.com>2017-10-02 23:55:03 -0700
commitf729d16ab0dfd841a16addaefba61a182d0b0d32 (patch)
tree32920c1b284ec30580934b473c147978c44722c8 /src/wixlib/VS2017.wxs
parentf91321309dd2c70d11343fe9272a0c7caf85e668 (diff)
downloadwix-f729d16ab0dfd841a16addaefba61a182d0b0d32.tar.gz
wix-f729d16ab0dfd841a16addaefba61a182d0b0d32.tar.bz2
wix-f729d16ab0dfd841a16addaefba61a182d0b0d32.zip
Initial code commit
Diffstat (limited to 'src/wixlib/VS2017.wxs')
-rw-r--r--src/wixlib/VS2017.wxs143
1 files changed, 143 insertions, 0 deletions
diff --git a/src/wixlib/VS2017.wxs b/src/wixlib/VS2017.wxs
new file mode 100644
index 00000000..acc96d67
--- /dev/null
+++ b/src/wixlib/VS2017.wxs
@@ -0,0 +1,143 @@
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="VS2017_ROOT_FOLDER" Secure="yes" />
8
9 <!-- Currently supported only on x86 -->
10 <CustomActionRef Id="VSFindInstances" />
11 </Fragment>
12
13 <Fragment>
14 <PropertyRef Id="VS2017_ROOT_FOLDER" />
15 <Property Id="VS2017_IDE_DIR" Secure="yes">
16 <DirectorySearch Id="VS2017DirectorySearch" Path="[VS2017_ROOT_FOLDER]">
17 <DirectorySearch Id="VS2017EnvironmentDirectorySearch" Path="Common7\IDE" Depth="1" />
18 </DirectorySearch>
19 </Property>
20 </Fragment>
21
22 <Fragment>
23 <Property Id="VS2017_EXTENSIONS_DIR" Secure="yes">
24 <DirectorySearchRef Id="VS2017EnvironmentDirectorySearch" Parent="VS2017DirectorySearch" Path="Common7\IDE">
25 <DirectorySearch Id="VS2017ExtensionsDirectorySearch" Path="Extensions" Depth="1" />
26 </DirectorySearchRef>
27 </Property>
28 </Fragment>
29
30 <Fragment>
31 <Property Id="VS2017_PROJECTTEMPLATES_DIR" Secure="yes">
32 <DirectorySearchRef Id="VS2017EnvironmentDirectorySearch" Parent="VS2017DirectorySearch" Path="Common7\IDE">
33 <DirectorySearch Id="VS2017ProjectTemplatesDirectorySearch" Path="ProjectTemplates" Depth="1" />
34 </DirectorySearchRef>
35 </Property>
36 </Fragment>
37
38 <Fragment>
39 <PropertyRef Id="VS2017_ROOT_FOLDER" />
40 <Property Id="VS2017_SCHEMAS_DIR" Secure="yes">
41 <DirectorySearch Id="VS2017XmlDirectorySearch" Path="[VS2017_ROOT_FOLDER]\Xml" Depth="1">
42 <DirectorySearch Id="VS2017XmlSchemasDirectorySearch" Path="Schemas" Depth="1" />
43 </DirectorySearch>
44 </Property>
45 </Fragment>
46
47 <Fragment>
48 <Property Id="VS2017_ITEMTEMPLATES_DIR" Secure="yes">
49 <DirectorySearchRef Id="VS2017EnvironmentDirectorySearch" Parent="VS2017DirectorySearch" Path="Common7\IDE">
50 <DirectorySearch Id="VS2017ItemTemplatesDirectorySearch" Path="ItemTemplates" Depth="1" />
51 </DirectorySearchRef>
52 </Property>
53 </Fragment>
54
55 <Fragment>
56 <PropertyRef Id="VS2017_ROOT_FOLDER" />
57 <Property Id="VS2017_BOOTSTRAPPER_PACKAGE_FOLDER" Secure="yes">
58 <DirectorySearch Id="VS2017SDKDirectorySearch" Path="[VS2017_ROOT_FOLDER]\SDK" Depth="1">
59 <DirectorySearch Id="SearchForVS2017BootstrapperPackageDirectory" Path="Bootstrapper" Depth="1" />
60 </DirectorySearch>
61 </Property>
62 </Fragment>
63
64 <Fragment>
65 <Property Id="VS2017DEVENV" Secure="yes">
66 <DirectorySearchRef Id="VS2017EnvironmentDirectorySearch" Parent="VS2017DirectorySearch" Path="Common7\IDE">
67 <FileSearch Id="VS2017DevEnvSearch" Name="devenv.exe" />
68 </DirectorySearchRef>
69 </Property>
70 </Fragment>
71
72 <Fragment>
73 <CustomAction Id="VS2017Setup" Property="VS2017DEVENV" ExeCommand="/setup" Execute="deferred" Return="ignore" Impersonate="no" />
74 <PropertyRef Id="VS2017DEVENV" />
75
76 <InstallExecuteSequence>
77 <Custom Action="VS2017Setup" Before="InstallFinalize" Overridable="yes">VS2017DEVENV</Custom>
78 </InstallExecuteSequence>
79 </Fragment>
80
81 <Fragment>
82 <CustomAction Id="VS2017InstallVSTemplates" Property="VS2017DEVENV" ExeCommand="/InstallVSTemplates" Execute="deferred" Return="ignore" Impersonate="no" />
83 <PropertyRef Id="VS2017DEVENV" />
84
85 <InstallExecuteSequence>
86 <Custom Action="VS2017InstallVSTemplates" Before="InstallFinalize" Overridable="yes">VS2017DEVENV</Custom>
87 </InstallExecuteSequence>
88 </Fragment>
89
90 <!-- Indicates whether the Visual C# project system is installed as a part of -->
91 <!-- Visual Studio 2017 standard or higher. If this property is set, that -->
92 <!-- means Visual Studio 2017 standard or higher is installed and the Visual -->
93 <!-- C# language tools were installed as a part of VS 2017 setup. -->
94 <Fragment>
95 <Property Id="VS2017_IDE_VCSHARP_PROJECTSYSTEM_INSTALLED" Secure="yes" />
96 <CustomActionRef Id="VSFindInstances" />
97 </Fragment>
98
99 <!-- Indicates whether the Visual Basic project system is installed as a part of -->
100 <!-- Visual Studio 2017 standard or higher. If this property is set, that -->
101 <!-- means Visual Studio 2017 standard or higher is installed and the Visual -->
102 <!-- Basic language tools were installed as a part of VS 2017 setup. -->
103 <Fragment>
104 <Property Id="VS2017_IDE_VB_PROJECTSYSTEM_INSTALLED" Secure="yes" />
105 <CustomActionRef Id="VSFindInstances" />
106 </Fragment>
107
108 <!-- Indicates whether the Visual Web Developer project system is installed as a part of -->
109 <!-- Visual Studio 2017 standard or higher. If this property is set, that -->
110 <!-- means Visual Studio 2017 standard or higher is installed and the Visual -->
111 <!-- Web Developer language tools were installed as a part of VS 2017 setup. -->
112 <Fragment>
113 <Property Id="VS2017_IDE_VWD_PROJECTSYSTEM_INSTALLED" Secure="yes" />
114 <CustomActionRef Id="VSFindInstances" />
115 </Fragment>
116
117 <!-- Indicates whether the Visual C++ project system is installed as a part of -->
118 <!-- Visual Studio 2017 standard or higher. If this property is set, that -->
119 <!-- means Visual Studio 2017 standard or higher is installed and the Visual -->
120 <!-- C++ language tools were installed as a part of VS 2017 setup. -->
121 <Fragment>
122 <Property Id="VS2017_IDE_VC_PROJECTSYSTEM_INSTALLED" Secure="yes" />
123 <CustomActionRef Id="VSFindInstances" />
124 </Fragment>
125
126 <!-- Indicates whether the Visual Studio 2017 Team Test project system is installed -->
127 <Fragment>
128 <Property Id="VS2017_IDE_VSTS_TESTSYSTEM_INSTALLED" Secure="yes" />
129 <CustomActionRef Id="VSFindInstances" />
130 </Fragment>
131
132 <!-- Indicates whether the Visual Studio Modeling project system is installed -->
133 <Fragment>
134 <Property Id="VS2017_IDE_MODELING_PROJECTSYSTEM_INSTALLED" Secure="yes" />
135 <CustomActionRef Id="VSFindInstances" />
136 </Fragment>
137
138 <!-- Indicates whether the Visual Studio F# project system is installed -->
139 <Fragment>
140 <Property Id="VS2017_IDE_FSHARP_PROJECTSYSTEM_INSTALLED" Secure="yes" />
141 <CustomActionRef Id="VSFindInstances" />
142 </Fragment>
143</Wix>