diff options
Diffstat (limited to 'src/wixlib/NetFx2.wxs')
-rw-r--r-- | src/wixlib/NetFx2.wxs | 201 |
1 files changed, 201 insertions, 0 deletions
diff --git a/src/wixlib/NetFx2.wxs b/src/wixlib/NetFx2.wxs new file mode 100644 index 00000000..92386b02 --- /dev/null +++ b/src/wixlib/NetFx2.wxs | |||
@@ -0,0 +1,201 @@ | |||
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 | |||
7 | <!-- | ||
8 | .NET Framework installation state properties | ||
9 | |||
10 | Official documentation can be found at the following location: | ||
11 | |||
12 | .NET Framework 2.0 - http://msdn.microsoft.com/library/aa480243.aspx | ||
13 | --> | ||
14 | |||
15 | <!-- set to #1 if the .NET Framework 2.0 is installed (not set otherwise) --> | ||
16 | <Fragment> | ||
17 | <Property Id="NETFRAMEWORK20" Secure="yes"> | ||
18 | <RegistrySearch Id="NetFramework20" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727" Name="Install" Type="raw" /> | ||
19 | </Property> | ||
20 | </Fragment> | ||
21 | |||
22 | <!-- Indicates the service pack level for the .NET Framework 2.0. --> | ||
23 | <Fragment> | ||
24 | <Property Id="NETFRAMEWORK20_SP_LEVEL" Secure="yes"> | ||
25 | <RegistrySearch Id="NetFramework20SP" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727" Name="SP" Type="raw" /> | ||
26 | </Property> | ||
27 | </Fragment> | ||
28 | |||
29 | <!-- Location of .NET Framework 2.0 redistributable install root directory --> | ||
30 | <Fragment> | ||
31 | <Property Id="NETFRAMEWORK20INSTALLROOTDIR" Secure="yes"> | ||
32 | <RegistrySearch Id="NetFxInstallRootForNetfx20Search" Type="raw" Root="HKLM" Key="Software\Microsoft\.NETFramework" Name="InstallRoot"> | ||
33 | <DirectorySearch Id="NetFx20InstallRootSearch" Path="v2.0.50727" Depth="0" /> | ||
34 | </RegistrySearch> | ||
35 | </Property> | ||
36 | </Fragment> | ||
37 | |||
38 | <!-- Location of .NET Framework 2.0 (64-bit) redistributable install root directory --> | ||
39 | <Fragment> | ||
40 | <Property Id="NETFRAMEWORK20INSTALLROOTDIR64" Secure="yes"> | ||
41 | <RegistrySearch Id="NetFxInstallRootForNetfx20Search64" Type="raw" Root="HKLM" Key="Software\Microsoft\.NETFramework" Name="InstallRoot" Win64="yes"> | ||
42 | <DirectorySearch Id="NetFx20InstallRootSearch64" Path="v2.0.50727" Depth="0" /> | ||
43 | </RegistrySearch> | ||
44 | </Property> | ||
45 | </Fragment> | ||
46 | |||
47 | <!-- set to #1 if the .NET Framework 2.0 Chinese (Simplified) language pack is installed (not set otherwise) --> | ||
48 | <Fragment> | ||
49 | <Property Id="NETFRAMEWORK20_ZH_CN_LANGPACK" Secure="yes"> | ||
50 | <RegistrySearch Id="NETFRAMEWORK20ZhCnLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\2052" Name="Install" Type="raw" /> | ||
51 | </Property> | ||
52 | </Fragment> | ||
53 | |||
54 | <!-- set to #1 if the .NET Framework 2.0 Chinese (Traditional) language pack is installed (not set otherwise) --> | ||
55 | <Fragment> | ||
56 | <Property Id="NETFRAMEWORK20_ZH_TW_LANGPACK" Secure="yes"> | ||
57 | <RegistrySearch Id="NETFRAMEWORK20ZhTwLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1028" Name="Install" Type="raw" /> | ||
58 | </Property> | ||
59 | </Fragment> | ||
60 | |||
61 | <!-- set to #1 if the .NET Framework 2.0 Czech language pack is installed (not set otherwise) --> | ||
62 | <Fragment> | ||
63 | <Property Id="NETFRAMEWORK20_CS_CZ_LANGPACK" Secure="yes"> | ||
64 | <RegistrySearch Id="NETFRAMEWORK20CsCzLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1029" Name="Install" Type="raw" /> | ||
65 | </Property> | ||
66 | </Fragment> | ||
67 | |||
68 | <!-- set to #1 if the .NET Framework 2.0 Danish language pack is installed (not set otherwise) --> | ||
69 | <Fragment> | ||
70 | <Property Id="NETFRAMEWORK20_DA_DK_LANGPACK" Secure="yes"> | ||
71 | <RegistrySearch Id="NETFRAMEWORK20DaDkLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1030" Name="Install" Type="raw" /> | ||
72 | </Property> | ||
73 | </Fragment> | ||
74 | |||
75 | <!-- set to #1 if the .NET Framework 2.0 Dutch language pack is installed (not set otherwise) --> | ||
76 | <Fragment> | ||
77 | <Property Id="NETFRAMEWORK20_NL_NL_LANGPACK" Secure="yes"> | ||
78 | <RegistrySearch Id="NETFRAMEWORK20NlNlLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1043" Name="Install" Type="raw" /> | ||
79 | </Property> | ||
80 | </Fragment> | ||
81 | |||
82 | <!-- set to #1 if the .NET Framework 2.0 Finnish language pack is installed (not set otherwise) --> | ||
83 | <Fragment> | ||
84 | <Property Id="NETFRAMEWORK20_FI_FI_LANGPACK" Secure="yes"> | ||
85 | <RegistrySearch Id="NETFRAMEWORK20FiFiLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1035" Name="Install" Type="raw" /> | ||
86 | </Property> | ||
87 | </Fragment> | ||
88 | |||
89 | <!-- set to #1 if the .NET Framework 2.0 French language pack is installed (not set otherwise) --> | ||
90 | <Fragment> | ||
91 | <Property Id="NETFRAMEWORK20_FR_FR_LANGPACK" Secure="yes"> | ||
92 | <RegistrySearch Id="NETFRAMEWORK20FrFrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1036" Name="Install" Type="raw" /> | ||
93 | </Property> | ||
94 | </Fragment> | ||
95 | |||
96 | <!-- set to #1 if the .NET Framework 2.0 German language pack is installed (not set otherwise) --> | ||
97 | <Fragment> | ||
98 | <Property Id="NETFRAMEWORK20_DE_DE_LANGPACK" Secure="yes"> | ||
99 | <RegistrySearch Id="NETFRAMEWORK20DeDeLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1031" Name="Install" Type="raw" /> | ||
100 | </Property> | ||
101 | </Fragment> | ||
102 | |||
103 | <!-- set to #1 if the .NET Framework 2.0 Greek language pack is installed (not set otherwise) --> | ||
104 | <Fragment> | ||
105 | <Property Id="NETFRAMEWORK20_EL_GR_LANGPACK" Secure="yes"> | ||
106 | <RegistrySearch Id="NETFRAMEWORK20ElGrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1032" Name="Install" Type="raw" /> | ||
107 | </Property> | ||
108 | </Fragment> | ||
109 | |||
110 | <!-- set to #1 if the .NET Framework 2.0 Hungarian language pack is installed (not set otherwise) --> | ||
111 | <Fragment> | ||
112 | <Property Id="NETFRAMEWORK20_HU_HU_LANGPACK" Secure="yes"> | ||
113 | <RegistrySearch Id="NETFRAMEWORK20HuHuLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1038" Name="Install" Type="raw" /> | ||
114 | </Property> | ||
115 | </Fragment> | ||
116 | |||
117 | <!-- set to #1 if the .NET Framework 2.0 Italian language pack is installed (not set otherwise) --> | ||
118 | <Fragment> | ||
119 | <Property Id="NETFRAMEWORK20_IT_IT_LANGPACK" Secure="yes"> | ||
120 | <RegistrySearch Id="NETFRAMEWORK20ItItLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1040" Name="Install" Type="raw" /> | ||
121 | </Property> | ||
122 | </Fragment> | ||
123 | |||
124 | <!-- set to #1 if the .NET Framework 2.0 Japanese language pack is installed (not set otherwise) --> | ||
125 | <Fragment> | ||
126 | <Property Id="NETFRAMEWORK20_JA_JP_LANGPACK" Secure="yes"> | ||
127 | <RegistrySearch Id="NETFRAMEWORK20JaJpLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1041" Name="Install" Type="raw" /> | ||
128 | </Property> | ||
129 | </Fragment> | ||
130 | |||
131 | <!-- set to #1 if the .NET Framework 2.0 Korean language pack is installed (not set otherwise) --> | ||
132 | <Fragment> | ||
133 | <Property Id="NETFRAMEWORK20_KO_KR_LANGPACK" Secure="yes"> | ||
134 | <RegistrySearch Id="NETFRAMEWORK20KoKrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1042" Name="Install" Type="raw" /> | ||
135 | </Property> | ||
136 | </Fragment> | ||
137 | |||
138 | <!-- set to #1 if the .NET Framework 2.0 Norwegian language pack is installed (not set otherwise) --> | ||
139 | <Fragment> | ||
140 | <Property Id="NETFRAMEWORK20_NB_NO_LANGPACK" Secure="yes"> | ||
141 | <RegistrySearch Id="NETFRAMEWORK20NbNoLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1044" Name="Install" Type="raw" /> | ||
142 | </Property> | ||
143 | </Fragment> | ||
144 | |||
145 | <!-- set to #1 if the .NET Framework 2.0 Polish language pack is installed (not set otherwise) --> | ||
146 | <Fragment> | ||
147 | <Property Id="NETFRAMEWORK20_PL_PL_LANGPACK" Secure="yes"> | ||
148 | <RegistrySearch Id="NETFRAMEWORK20PlPlLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1045" Name="Install" Type="raw" /> | ||
149 | </Property> | ||
150 | </Fragment> | ||
151 | |||
152 | <!-- set to #1 if the .NET Framework 2.0 Portuguese (Brazil) language pack is installed (not set otherwise) --> | ||
153 | <Fragment> | ||
154 | <Property Id="NETFRAMEWORK20_PT_BR_LANGPACK" Secure="yes"> | ||
155 | <RegistrySearch Id="NETFRAMEWORK20PtBrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1046" Name="Install" Type="raw" /> | ||
156 | </Property> | ||
157 | </Fragment> | ||
158 | |||
159 | <!-- set to #1 if the .NET Framework 2.0 Portuguese (Portugal) language pack is installed (not set otherwise) --> | ||
160 | <Fragment> | ||
161 | <Property Id="NETFRAMEWORK20_PT_PT_LANGPACK" Secure="yes"> | ||
162 | <RegistrySearch Id="NETFRAMEWORK20PtPtLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\2070" Name="Install" Type="raw" /> | ||
163 | </Property> | ||
164 | </Fragment> | ||
165 | |||
166 | <!-- set to #1 if the .NET Framework 2.0 Russian language pack is installed (not set otherwise) --> | ||
167 | <Fragment> | ||
168 | <Property Id="NETFRAMEWORK20_RU_RU_LANGPACK" Secure="yes"> | ||
169 | <RegistrySearch Id="NETFRAMEWORK20RuRuLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1049" Name="Install" Type="raw" /> | ||
170 | </Property> | ||
171 | </Fragment> | ||
172 | |||
173 | <!-- set to #1 if the .NET Framework 2.0 Spanish language pack is installed (not set otherwise) --> | ||
174 | <Fragment> | ||
175 | <Property Id="NETFRAMEWORK20_ES_ES_LANGPACK" Secure="yes"> | ||
176 | <RegistrySearch Id="NETFRAMEWORK20EsEsLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\3082" Name="Install" Type="raw" /> | ||
177 | </Property> | ||
178 | </Fragment> | ||
179 | |||
180 | <!-- set to #1 if the .NET Framework 2.0 Swedish language pack is installed (not set otherwise) --> | ||
181 | <Fragment> | ||
182 | <Property Id="NETFRAMEWORK20_SV_SE_LANGPACK" Secure="yes"> | ||
183 | <RegistrySearch Id="NETFRAMEWORK20SvSeLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1053" Name="Install" Type="raw" /> | ||
184 | </Property> | ||
185 | </Fragment> | ||
186 | |||
187 | <!-- set to #1 if the .NET Framework 2.0 Turkish language pack is installed (not set otherwise) --> | ||
188 | <Fragment> | ||
189 | <Property Id="NETFRAMEWORK20_TR_TR_LANGPACK" Secure="yes"> | ||
190 | <RegistrySearch Id="NETFRAMEWORK20TrTrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v2.0.50727\1055" Name="Install" Type="raw" /> | ||
191 | </Property> | ||
192 | </Fragment> | ||
193 | |||
194 | <!-- location of the .NET Framework 2.0 SDK installation root --> | ||
195 | <Fragment> | ||
196 | <Property Id="NETFRAMEWORK20SDKDIR" Secure="yes"> | ||
197 | <RegistrySearch Id="NetFramework20SDKDir" Root="HKLM" Key="Software\Microsoft\.NETFramework" Name="sdkInstallRootv2.0" Type="raw" /> | ||
198 | </Property> | ||
199 | </Fragment> | ||
200 | |||
201 | </Wix> | ||