aboutsummaryrefslogtreecommitdiff
path: root/src/wixlib
diff options
context:
space:
mode:
Diffstat (limited to 'src/wixlib')
-rw-r--r--src/wixlib/VS2019.wxs143
-rw-r--r--src/wixlib/vs.wixproj1
2 files changed, 144 insertions, 0 deletions
diff --git a/src/wixlib/VS2019.wxs b/src/wixlib/VS2019.wxs
new file mode 100644
index 00000000..57ae6168
--- /dev/null
+++ b/src/wixlib/VS2019.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="VS2019_ROOT_FOLDER" Secure="yes" />
8
9 <!-- Currently supported only on x86 -->
10 <CustomActionRef Id="VSFindInstances" />
11 </Fragment>
12
13 <Fragment>
14 <PropertyRef Id="VS2019_ROOT_FOLDER" />
15 <Property Id="VS2019_IDE_DIR" Secure="yes">
16 <DirectorySearch Id="VS2019DirectorySearch" Path="[VS2019_ROOT_FOLDER]">
17 <DirectorySearch Id="VS2019EnvironmentDirectorySearch" Path="Common7\IDE" Depth="1" />
18 </DirectorySearch>
19 </Property>
20 </Fragment>
21
22 <Fragment>
23 <Property Id="VS2019_EXTENSIONS_DIR" Secure="yes">
24 <DirectorySearchRef Id="VS2019EnvironmentDirectorySearch" Parent="VS2019DirectorySearch" Path="Common7\IDE">
25 <DirectorySearch Id="VS2019ExtensionsDirectorySearch" Path="Extensions" Depth="1" />
26 </DirectorySearchRef>
27 </Property>
28 </Fragment>
29
30 <Fragment>
31 <Property Id="VS2019_PROJECTTEMPLATES_DIR" Secure="yes">
32 <DirectorySearchRef Id="VS2019EnvironmentDirectorySearch" Parent="VS2019DirectorySearch" Path="Common7\IDE">
33 <DirectorySearch Id="VS2019ProjectTemplatesDirectorySearch" Path="ProjectTemplates" Depth="1" />
34 </DirectorySearchRef>
35 </Property>
36 </Fragment>
37
38 <Fragment>
39 <PropertyRef Id="VS2019_ROOT_FOLDER" />
40 <Property Id="VS2019_SCHEMAS_DIR" Secure="yes">
41 <DirectorySearch Id="VS2019XmlDirectorySearch" Path="[VS2019_ROOT_FOLDER]\Xml" Depth="1">
42 <DirectorySearch Id="VS2019XmlSchemasDirectorySearch" Path="Schemas" Depth="1" />
43 </DirectorySearch>
44 </Property>
45 </Fragment>
46
47 <Fragment>
48 <Property Id="VS2019_ITEMTEMPLATES_DIR" Secure="yes">
49 <DirectorySearchRef Id="VS2019EnvironmentDirectorySearch" Parent="VS2019DirectorySearch" Path="Common7\IDE">
50 <DirectorySearch Id="VS2019ItemTemplatesDirectorySearch" Path="ItemTemplates" Depth="1" />
51 </DirectorySearchRef>
52 </Property>
53 </Fragment>
54
55 <Fragment>
56 <PropertyRef Id="VS2019_ROOT_FOLDER" />
57 <Property Id="VS2019_BOOTSTRAPPER_PACKAGE_FOLDER" Secure="yes">
58 <DirectorySearch Id="VS2019SDKDirectorySearch" Path="[VS2019_ROOT_FOLDER]\SDK" Depth="1">
59 <DirectorySearch Id="SearchForVS2019BootstrapperPackageDirectory" Path="Bootstrapper" Depth="1" />
60 </DirectorySearch>
61 </Property>
62 </Fragment>
63
64 <Fragment>
65 <Property Id="VS2019DEVENV" Secure="yes">
66 <DirectorySearchRef Id="VS2019EnvironmentDirectorySearch" Parent="VS2019DirectorySearch" Path="Common7\IDE">
67 <FileSearch Id="VS2019DevEnvSearch" Name="devenv.exe" />
68 </DirectorySearchRef>
69 </Property>
70 </Fragment>
71
72 <Fragment>
73 <CustomAction Id="VS2019Setup" Property="VS2019DEVENV" ExeCommand="/setup" Execute="deferred" Return="ignore" Impersonate="no" />
74 <PropertyRef Id="VS2019DEVENV" />
75
76 <InstallExecuteSequence>
77 <Custom Action="VS2019Setup" Before="InstallFinalize" Overridable="yes">VS2019DEVENV</Custom>
78 </InstallExecuteSequence>
79 </Fragment>
80
81 <Fragment>
82 <CustomAction Id="VS2019InstallVSTemplates" Property="VS2019DEVENV" ExeCommand="/InstallVSTemplates" Execute="deferred" Return="ignore" Impersonate="no" />
83 <PropertyRef Id="VS2019DEVENV" />
84
85 <InstallExecuteSequence>
86 <Custom Action="VS2019InstallVSTemplates" Before="InstallFinalize" Overridable="yes">VS2019DEVENV</Custom>
87 </InstallExecuteSequence>
88 </Fragment>
89
90 <!-- Indicates whether the Visual C# project system is installed as a part of -->
91 <!-- Visual Studio 2019 standard or higher. If this property is set, that -->
92 <!-- means Visual Studio 2019 standard or higher is installed and the Visual -->
93 <!-- C# language tools were installed as a part of VS 2019 setup. -->
94 <Fragment>
95 <Property Id="VS2019_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 2019 standard or higher. If this property is set, that -->
101 <!-- means Visual Studio 2019 standard or higher is installed and the Visual -->
102 <!-- Basic language tools were installed as a part of VS 2019 setup. -->
103 <Fragment>
104 <Property Id="VS2019_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 2019 standard or higher. If this property is set, that -->
110 <!-- means Visual Studio 2019 standard or higher is installed and the Visual -->
111 <!-- Web Developer language tools were installed as a part of VS 2019 setup. -->
112 <Fragment>
113 <Property Id="VS2019_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 2019 standard or higher. If this property is set, that -->
119 <!-- means Visual Studio 2019 standard or higher is installed and the Visual -->
120 <!-- C++ language tools were installed as a part of VS 2019 setup. -->
121 <Fragment>
122 <Property Id="VS2019_IDE_VC_PROJECTSYSTEM_INSTALLED" Secure="yes" />
123 <CustomActionRef Id="VSFindInstances" />
124 </Fragment>
125
126 <!-- Indicates whether the Visual Studio 2019 Team Test project system is installed -->
127 <Fragment>
128 <Property Id="VS2019_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="VS2019_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="VS2019_IDE_FSHARP_PROJECTSYSTEM_INSTALLED" Secure="yes" />
141 <CustomActionRef Id="VSFindInstances" />
142 </Fragment>
143</Wix>
diff --git a/src/wixlib/vs.wixproj b/src/wixlib/vs.wixproj
index f283e6ef..e18a52cd 100644
--- a/src/wixlib/vs.wixproj
+++ b/src/wixlib/vs.wixproj
@@ -23,6 +23,7 @@
23 <Compile Include="VS14.wxs" /> 23 <Compile Include="VS14.wxs" />
24 <Compile Include="VS2015.wxs" /> 24 <Compile Include="VS2015.wxs" />
25 <Compile Include="VS2017.wxs" /> 25 <Compile Include="VS2017.wxs" />
26 <Compile Include="VS2019.wxs" />
26 <Compile Include="VSExtension_x86.wxs" /> 27 <Compile Include="VSExtension_x86.wxs" />
27 <Compile Include="VsixPackage.wxs" /> 28 <Compile Include="VsixPackage.wxs" />
28 <Compile Include="vs2005\vs2005_VSIPCC_Collection_Files_RTL.wxs" /> 29 <Compile Include="vs2005\vs2005_VSIPCC_Collection_Files_RTL.wxs" />