main
wxs 134 lines 6.17 KB
Raw
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="VS2019_ROOT_FOLDER" Secure="yes" />
9 </Fragment>
10
11 <Fragment>
12 <PropertyRef Id="VS2019_ROOT_FOLDER" />
13 <Property Id="VS2019_IDE_DIR" Secure="yes">
14 <DirectorySearch Id="VS2019DirectorySearch" Path="[VS2019_ROOT_FOLDER]">
15 <DirectorySearch Id="VS2019EnvironmentDirectorySearch" Path="Common7\IDE" Depth="1" />
16 </DirectorySearch>
17 </Property>
18 </Fragment>
19
20 <Fragment>
21 <Property Id="VS2019_EXTENSIONS_DIR" Secure="yes">
22 <DirectorySearchRef Id="VS2019EnvironmentDirectorySearch" Parent="VS2019DirectorySearch" Path="Common7\IDE">
23 <DirectorySearch Id="VS2019ExtensionsDirectorySearch" Path="Extensions" Depth="1" />
24 </DirectorySearchRef>
25 </Property>
26 </Fragment>
27
28 <Fragment>
29 <Property Id="VS2019_PROJECTTEMPLATES_DIR" Secure="yes">
30 <DirectorySearchRef Id="VS2019EnvironmentDirectorySearch" Parent="VS2019DirectorySearch" Path="Common7\IDE">
31 <DirectorySearch Id="VS2019ProjectTemplatesDirectorySearch" Path="ProjectTemplates" Depth="1" />
32 </DirectorySearchRef>
33 </Property>
34 </Fragment>
35
36 <Fragment>
37 <PropertyRef Id="VS2019_ROOT_FOLDER" />
38 <Property Id="VS2019_SCHEMAS_DIR" Secure="yes">
39 <DirectorySearch Id="VS2019XmlDirectorySearch" Path="[VS2019_ROOT_FOLDER]\Xml" Depth="1">
40 <DirectorySearch Id="VS2019XmlSchemasDirectorySearch" Path="Schemas" Depth="1" />
41 </DirectorySearch>
42 </Property>
43 </Fragment>
44
45 <Fragment>
46 <Property Id="VS2019_ITEMTEMPLATES_DIR" Secure="yes">
47 <DirectorySearchRef Id="VS2019EnvironmentDirectorySearch" Parent="VS2019DirectorySearch" Path="Common7\IDE">
48 <DirectorySearch Id="VS2019ItemTemplatesDirectorySearch" Path="ItemTemplates" Depth="1" />
49 </DirectorySearchRef>
50 </Property>
51 </Fragment>
52
53 <Fragment>
54 <PropertyRef Id="VS2019_ROOT_FOLDER" />
55 <Property Id="VS2019_BOOTSTRAPPER_PACKAGE_FOLDER" Secure="yes">
56 <DirectorySearch Id="VS2019SDKDirectorySearch" Path="[VS2019_ROOT_FOLDER]\SDK" Depth="1">
57 <DirectorySearch Id="SearchForVS2019BootstrapperPackageDirectory" Path="Bootstrapper" Depth="1" />
58 </DirectorySearch>
59 </Property>
60 </Fragment>
61
62 <Fragment>
63 <Property Id="VS2019DEVENV" Secure="yes">
64 <DirectorySearchRef Id="VS2019EnvironmentDirectorySearch" Parent="VS2019DirectorySearch" Path="Common7\IDE">
65 <FileSearch Id="VS2019DevEnvSearch" Name="devenv.exe" />
66 </DirectorySearchRef>
67 </Property>
68 </Fragment>
69
70 <Fragment>
71 <CustomAction Id="VS2019Setup" Property="VS2019DEVENV" ExeCommand="/setup" Execute="deferred" Return="ignore" Impersonate="no" />
72 <PropertyRef Id="VS2019DEVENV" />
73
74 <InstallExecuteSequence>
75 <Custom Action="VS2019Setup" Before="InstallFinalize" Overridable="yes" Condition="VS2019DEVENV" />
76 </InstallExecuteSequence>
77 </Fragment>
78
79 <Fragment>
80 <CustomAction Id="VS2019InstallVSTemplates" Property="VS2019DEVENV" ExeCommand="/InstallVSTemplates" Execute="deferred" Return="ignore" Impersonate="no" />
81 <PropertyRef Id="VS2019DEVENV" />
82
83 <InstallExecuteSequence>
84 <Custom Action="VS2019InstallVSTemplates" Before="InstallFinalize" Overridable="yes" Condition="VS2019DEVENV" />
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="VS2019_IDE_VCSHARP_PROJECTSYSTEM_INSTALLED" Secure="yes" />
94 </Fragment>
95
96 <!-- Indicates whether the Visual Basic project system is installed as a part of -->
97 <!-- Visual Studio 2019 standard or higher. If this property is set, that -->
98 <!-- means Visual Studio 2019 standard or higher is installed and the Visual -->
99 <!-- Basic language tools were installed as a part of VS 2019 setup. -->
100 <Fragment>
101 <Property Id="VS2019_IDE_VB_PROJECTSYSTEM_INSTALLED" Secure="yes" />
102 </Fragment>
103
104 <!-- Indicates whether the Visual Web Developer project system is installed as a part of -->
105 <!-- Visual Studio 2019 standard or higher. If this property is set, that -->
106 <!-- means Visual Studio 2019 standard or higher is installed and the Visual -->
107 <!-- Web Developer language tools were installed as a part of VS 2019 setup. -->
108 <Fragment>
109 <Property Id="VS2019_IDE_VWD_PROJECTSYSTEM_INSTALLED" Secure="yes" />
110 </Fragment>
111
112 <!-- Indicates whether the Visual C++ project system is installed as a part of -->
113 <!-- Visual Studio 2019 standard or higher. If this property is set, that -->
114 <!-- means Visual Studio 2019 standard or higher is installed and the Visual -->
115 <!-- C++ language tools were installed as a part of VS 2019 setup. -->
116 <Fragment>
117 <Property Id="VS2019_IDE_VC_PROJECTSYSTEM_INSTALLED" Secure="yes" />
118 </Fragment>
119
120 <!-- Indicates whether the Visual Studio 2019 Team Test project system is installed -->
121 <Fragment>
122 <Property Id="VS2019_IDE_VSTS_TESTSYSTEM_INSTALLED" Secure="yes" />
123 </Fragment>
124
125 <!-- Indicates whether the Visual Studio Modeling project system is installed -->
126 <Fragment>
127 <Property Id="VS2019_IDE_MODELING_PROJECTSYSTEM_INSTALLED" Secure="yes" />
128 </Fragment>
129
130 <!-- Indicates whether the Visual Studio F# project system is installed -->
131 <Fragment>
132 <Property Id="VS2019_IDE_FSHARP_PROJECTSYSTEM_INSTALLED" Secure="yes" />
133 </Fragment>
134 </Wix>