summaryrefslogtreecommitdiff
path: root/src/ext/VisualStudio/wixlib/VS2022.wxs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext/VisualStudio/wixlib/VS2022.wxs')
-rw-r--r--src/ext/VisualStudio/wixlib/VS2022.wxs141
1 files changed, 141 insertions, 0 deletions
diff --git a/src/ext/VisualStudio/wixlib/VS2022.wxs b/src/ext/VisualStudio/wixlib/VS2022.wxs
new file mode 100644
index 00000000..cad25441
--- /dev/null
+++ b/src/ext/VisualStudio/wixlib/VS2022.wxs
@@ -0,0 +1,141 @@
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 <?include ..\..\caDecor.wxi ?>
6
7 <Fragment>
8 <Property Id="VS2022_ROOT_FOLDER" Secure="yes" />
9 </Fragment>
10
11 <Fragment>
12 <PropertyRef Id="VS2022_ROOT_FOLDER" />
13 <Property Id="VS2022_IDE_DIR" Secure="yes">
14 <DirectorySearch Id="VS2022DirectorySearch" Path="[VS2022_ROOT_FOLDER]">
15 <DirectorySearch Id="VS2022EnvironmentDirectorySearch" Path="Common7\IDE" Depth="1" />
16 </DirectorySearch>
17 </Property>
18 </Fragment>
19
20 <Fragment>
21 <Property Id="VS2022_EXTENSIONS_DIR" Secure="yes">
22 <DirectorySearchRef Id="VS2022EnvironmentDirectorySearch" Parent="VS2022DirectorySearch" Path="Common7\IDE">
23 <DirectorySearch Id="VS2022ExtensionsDirectorySearch" Path="Extensions" Depth="1" />
24 </DirectorySearchRef>
25 </Property>
26 </Fragment>
27
28 <Fragment>
29 <Property Id="VS2022_PROJECTTEMPLATES_DIR" Secure="yes">
30 <DirectorySearchRef Id="VS2022EnvironmentDirectorySearch" Parent="VS2022DirectorySearch" Path="Common7\IDE">
31 <DirectorySearch Id="VS2022ProjectTemplatesDirectorySearch" Path="ProjectTemplates" Depth="1" />
32 </DirectorySearchRef>
33 </Property>
34 </Fragment>
35
36 <Fragment>
37 <PropertyRef Id="VS2022_ROOT_FOLDER" />
38 <Property Id="VS2022_SCHEMAS_DIR" Secure="yes">
39 <DirectorySearch Id="VS2022XmlDirectorySearch" Path="[VS2022_ROOT_FOLDER]\Xml" Depth="1">
40 <DirectorySearch Id="VS2022XmlSchemasDirectorySearch" Path="Schemas" Depth="1" />
41 </DirectorySearch>
42 </Property>
43 </Fragment>
44
45 <Fragment>
46 <Property Id="VS2022_ITEMTEMPLATES_DIR" Secure="yes">
47 <DirectorySearchRef Id="VS2022EnvironmentDirectorySearch" Parent="VS2022DirectorySearch" Path="Common7\IDE">
48 <DirectorySearch Id="VS2022ItemTemplatesDirectorySearch" Path="ItemTemplates" Depth="1" />
49 </DirectorySearchRef>
50 </Property>
51 </Fragment>
52
53 <Fragment>
54 <PropertyRef Id="VS2022_ROOT_FOLDER" />
55 <Property Id="VS2022_BOOTSTRAPPER_PACKAGE_FOLDER" Secure="yes">
56 <DirectorySearch Id="VS2022SDKDirectorySearch" Path="[VS2022_ROOT_FOLDER]\SDK" Depth="1">
57 <DirectorySearch Id="SearchForVS2022BootstrapperPackageDirectory" Path="Bootstrapper" Depth="1" />
58 </DirectorySearch>
59 </Property>
60 </Fragment>
61
62 <Fragment>
63 <Property Id="VS2022DEVENV" Secure="yes">
64 <DirectorySearchRef Id="VS2022EnvironmentDirectorySearch" Parent="VS2022DirectorySearch" Path="Common7\IDE">
65 <FileSearch Id="VS2022DevEnvSearch" Name="devenv.exe" />
66 </DirectorySearchRef>
67 </Property>
68 </Fragment>
69
70 <Fragment>
71 <CustomAction Id="VS2022Setup" Property="VS2022DEVENV" ExeCommand="/setup" Execute="deferred" Return="ignore" Impersonate="no" />
72 <PropertyRef Id="VS2022DEVENV" />
73
74 <InstallExecuteSequence>
75 <Custom Action="VS2022Setup" Before="InstallFinalize" Overridable="yes" Condition="VS2022DEVENV" />
76 </InstallExecuteSequence>
77 </Fragment>
78
79 <Fragment>
80 <CustomAction Id="VS2022InstallVSTemplates" Property="VS2022DEVENV" ExeCommand="/InstallVSTemplates" Execute="deferred" Return="ignore" Impersonate="no" />
81 <PropertyRef Id="VS2022DEVENV" />
82
83 <InstallExecuteSequence>
84 <Custom Action="VS2022InstallVSTemplates" Before="InstallFinalize" Overridable="yes" Condition="VS2022DEVENV" />
85 </InstallExecuteSequence>
86 </Fragment>
87
88 <!-- Indicates whether the Visual C# project system is installed as a part of -->
89 <!-- Visual Studio 2019 standard or higher. If this property is set, that -->
90 <!-- means Visual Studio 2019 standard or higher is installed and the Visual -->
91 <!-- C# language tools were installed as a part of VS 2019 setup. -->
92 <Fragment>
93 <Property Id="VS2022_IDE_VCSHARP_PROJECTSYSTEM_INSTALLED" Secure="yes" />
94 <CustomActionRef Id="VSFindInstances" />
95 </Fragment>
96
97 <!-- Indicates whether the Visual Basic project system is installed as a part of -->
98 <!-- Visual Studio 2019 standard or higher. If this property is set, that -->
99 <!-- means Visual Studio 2019 standard or higher is installed and the Visual -->
100 <!-- Basic language tools were installed as a part of VS 2019 setup. -->
101 <Fragment>
102 <Property Id="VS2022_IDE_VB_PROJECTSYSTEM_INSTALLED" Secure="yes" />
103 <CustomActionRef Id="VSFindInstances" />
104 </Fragment>
105
106 <!-- Indicates whether the Visual Web Developer project system is installed as a part of -->
107 <!-- Visual Studio 2019 standard or higher. If this property is set, that -->
108 <!-- means Visual Studio 2019 standard or higher is installed and the Visual -->
109 <!-- Web Developer language tools were installed as a part of VS 2019 setup. -->
110 <Fragment>
111 <Property Id="VS2022_IDE_VWD_PROJECTSYSTEM_INSTALLED" Secure="yes" />
112 <CustomActionRef Id="VSFindInstances" />
113 </Fragment>
114
115 <!-- Indicates whether the Visual C++ project system is installed as a part of -->
116 <!-- Visual Studio 2019 standard or higher. If this property is set, that -->
117 <!-- means Visual Studio 2019 standard or higher is installed and the Visual -->
118 <!-- C++ language tools were installed as a part of VS 2019 setup. -->
119 <Fragment>
120 <Property Id="VS2022_IDE_VC_PROJECTSYSTEM_INSTALLED" Secure="yes" />
121 <CustomActionRef Id="VSFindInstances" />
122 </Fragment>
123
124 <!-- Indicates whether the Visual Studio 2019 Team Test project system is installed -->
125 <Fragment>
126 <Property Id="VS2022_IDE_VSTS_TESTSYSTEM_INSTALLED" Secure="yes" />
127 <CustomActionRef Id="VSFindInstances" />
128 </Fragment>
129
130 <!-- Indicates whether the Visual Studio Modeling project system is installed -->
131 <Fragment>
132 <Property Id="VS2022_IDE_MODELING_PROJECTSYSTEM_INSTALLED" Secure="yes" />
133 <CustomActionRef Id="VSFindInstances" />
134 </Fragment>
135
136 <!-- Indicates whether the Visual Studio F# project system is installed -->
137 <Fragment>
138 <Property Id="VS2022_IDE_FSHARP_PROJECTSYSTEM_INSTALLED" Secure="yes" />
139 <CustomActionRef Id="VSFindInstances" />
140 </Fragment>
141</Wix>