aboutsummaryrefslogtreecommitdiff
path: root/src/wixlib/NetFx4.5.wxs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wixlib/NetFx4.5.wxs')
-rw-r--r--src/wixlib/NetFx4.5.wxs274
1 files changed, 274 insertions, 0 deletions
diff --git a/src/wixlib/NetFx4.5.wxs b/src/wixlib/NetFx4.5.wxs
new file mode 100644
index 00000000..f2ddd051
--- /dev/null
+++ b/src/wixlib/NetFx4.5.wxs
@@ -0,0 +1,274 @@
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" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util">
6
7 <!--
8 .NET Framework installation state properties
9
10 Official documentation can be found at the following location:
11
12 .NET Framework 4.5 - http://msdn.microsoft.com/en-us/library/5a4x27ek.aspx, http://msdn.microsoft.com/en-us/library/ee942965(v=VS.110).aspx
13 -->
14
15 <?define NetFx45MinRelease = 378389?>
16 <?define NetFx45WebLink = http://go.microsoft.com/fwlink/?LinkId=225704 ?>
17 <?define NetFx45RedistLink = http://go.microsoft.com/fwlink/?LinkId=225702 ?>
18
19 <Fragment>
20 <PropertyRef Id="WIXNETFX4RELEASEINSTALLED" />
21 <Property Id="WIX_IS_NETFRAMEWORK_45_OR_LATER_INSTALLED" Secure="yes" />
22 <SetProperty Id="WIX_IS_NETFRAMEWORK_45_OR_LATER_INSTALLED" Value="1" After="AppSearch">
23 WIXNETFX4RELEASEINSTALLED >= "#$(var.NetFx45MinRelease)"
24 </SetProperty>
25 </Fragment>
26
27 <Fragment>
28 <util:RegistrySearch
29 Id="NETFRAMEWORK45"
30 Variable="NETFRAMEWORK45"
31 Root="HKLM"
32 Key="SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full"
33 Value="Release"
34 Result="value" />
35 </Fragment>
36
37 <Fragment>
38 <util:RegistrySearchRef Id="NETFRAMEWORK45"/>
39
40 <WixVariable Id="NetFx45WebDetectCondition" Value="NETFRAMEWORK45 &gt;= $(var.NetFx45MinRelease)" Overridable="yes" />
41 <WixVariable Id="NetFx45WebInstallCondition" Value="" Overridable="yes" />
42 <WixVariable Id="NetFx45WebPackageDirectory" Value="redist\" Overridable="yes" />
43
44 <PackageGroup Id="NetFx45Web">
45 <ExePackage
46 InstallCommand="/q /norestart /ChainingPackage &quot;[WixBundleName]&quot; /log &quot;[NetFx45FullWebLog].html&quot;"
47 RepairCommand="/q /norestart /repair /ChainingPackage &quot;[WixBundleName]&quot; /log &quot;[NetFx45FullWebLog].html&quot;"
48 UninstallCommand="/uninstall /q /norestart /ChainingPackage &quot;[WixBundleName]&quot; /log &quot;[NetFx45FullWebLog].html&quot;"
49 PerMachine="yes"
50 DetectCondition="!(wix.NetFx45WebDetectCondition)"
51 InstallCondition="!(wix.NetFx45WebInstallCondition)"
52 Id="NetFx45Web"
53 Vital="yes"
54 Permanent="yes"
55 Protocol="netfx4"
56 DownloadUrl="$(var.NetFx45WebLink)"
57 LogPathVariable="NetFx45FullWebLog"
58 Compressed="no"
59 Name="!(wix.NetFx45WebPackageDirectory)dotNetFx45_Full_setup.exe">
60 <RemotePayload
61 Size="1005568"
62 Version="4.5.50709.17929"
63 ProductName="Microsoft .NET Framework 4.5"
64 Description="Microsoft .NET Framework 4.5 Setup"
65 CertificatePublicKey="BE931A1B869E4BB989C2B32D0C105204ECBEFB3D"
66 CertificateThumbprint="8363887511B4835B79C383ECF06FC055B5839255"
67 Hash="F6BA6F03C65C3996A258F58324A917463B2D6FF4"/>
68 </ExePackage>
69 </PackageGroup>
70 </Fragment>
71
72 <Fragment>
73 <util:RegistrySearchRef Id="NETFRAMEWORK45"/>
74
75 <WixVariable Id="NetFx45RedistDetectCondition" Value="NETFRAMEWORK45 &gt;= $(var.NetFx45MinRelease)" Overridable="yes" />
76 <WixVariable Id="NetFx45RedistInstallCondition" Value="" Overridable="yes" />
77 <WixVariable Id="NetFx45RedistPackageDirectory" Value="redist\" Overridable="yes" />
78
79 <PackageGroup Id="NetFx45Redist">
80 <ExePackage
81 InstallCommand="/q /norestart /ChainingPackage &quot;[WixBundleName]&quot; /log &quot;[NetFx45FullLog].html&quot;"
82 RepairCommand="/q /norestart /repair /ChainingPackage &quot;[WixBundleName]&quot; /log &quot;[NetFx45FullLog].html&quot;"
83 UninstallCommand="/uninstall /q /norestart /ChainingPackage &quot;[WixBundleName]&quot; /log &quot;[NetFx45FullLog].html&quot;"
84 PerMachine="yes"
85 DetectCondition="!(wix.NetFx45RedistDetectCondition)"
86 InstallCondition="!(wix.NetFx45RedistInstallCondition)"
87 Id="NetFx45Redist"
88 Vital="yes"
89 Permanent="yes"
90 Protocol="netfx4"
91 DownloadUrl="$(var.NetFx45RedistLink)"
92 LogPathVariable="NetFx45FullLog"
93 Compressed="no"
94 Name="!(wix.NetFx45RedistPackageDirectory)dotNetFx45_Full_x86_x64.exe">
95 <RemotePayload
96 Size="50352408"
97 Version="4.5.50709.17929"
98 ProductName="Microsoft .NET Framework 4.5"
99 Description="Microsoft .NET Framework 4.5 Setup"
100 CertificatePublicKey="BE931A1B869E4BB989C2B32D0C105204ECBEFB3D"
101 CertificateThumbprint="8363887511B4835B79C383ECF06FC055B5839255"
102 Hash="B2FF712CA0947040CA0B8E9BD7436A3C3524BB5D"/>
103 </ExePackage>
104 </PackageGroup>
105 </Fragment>
106
107 <!-- set to Release number of the .NET Framework 4.5 if installed (not set otherwise) -->
108 <Fragment>
109 <Property Id="NETFRAMEWORK45" Secure="yes">
110 <RegistrySearch Id="NetFramework45" Root="HKLM" Key="SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" Name="Release" Type="raw" />
111 </Property>
112 </Fragment>
113
114 <!-- set to Release number of the .NET Framework 4.5 Arabic language pack if installed (not set otherwise) -->
115 <Fragment>
116 <Property Id="NETFRAMEWORK45_AR_SA_LANGPACK" Secure="yes">
117 <RegistrySearch Id="NETFRAMEWORK45ArSaLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1025" Name="Release" Type="raw" />
118 </Property>
119 </Fragment>
120
121 <!-- set to Release number of the .NET Framework 4.5 Chinese (Simplified) language pack if installed (not set otherwise) -->
122 <Fragment>
123 <Property Id="NETFRAMEWORK45_ZH_CN_LANGPACK" Secure="yes">
124 <RegistrySearch Id="NETFRAMEWORK45ZhCnLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\2052" Name="Release" Type="raw" />
125 </Property>
126 </Fragment>
127
128 <!-- set to Release number of the .NET Framework 4.5 Chinese (Traditional) language pack if installed (not set otherwise) -->
129 <Fragment>
130 <Property Id="NETFRAMEWORK45_ZH_TW_LANGPACK" Secure="yes">
131 <RegistrySearch Id="NETFRAMEWORK45ZhTwLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1028" Name="Release" Type="raw" />
132 </Property>
133 </Fragment>
134
135 <!-- set to Release number of the .NET Framework 4.5 Czech language pack if installed (not set otherwise) -->
136 <Fragment>
137 <Property Id="NETFRAMEWORK45_CS_CZ_LANGPACK" Secure="yes">
138 <RegistrySearch Id="NETFRAMEWORK45CsCzLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1029" Name="Release" Type="raw" />
139 </Property>
140 </Fragment>
141
142 <!-- set to Release number of the .NET Framework 4.5 Danish language pack if installed (not set otherwise) -->
143 <Fragment>
144 <Property Id="NETFRAMEWORK45_DA_DK_LANGPACK" Secure="yes">
145 <RegistrySearch Id="NETFRAMEWORK45DaDkLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1030" Name="Release" Type="raw" />
146 </Property>
147 </Fragment>
148
149 <!-- set to Release number of the .NET Framework 4.5 Dutch language pack if installed (not set otherwise) -->
150 <Fragment>
151 <Property Id="NETFRAMEWORK45_NL_NL_LANGPACK" Secure="yes">
152 <RegistrySearch Id="NETFRAMEWORK45NlNlLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1043" Name="Release" Type="raw" />
153 </Property>
154 </Fragment>
155
156 <!-- set to Release number of the .NET Framework 4.5 Finnish language pack if installed (not set otherwise) -->
157 <Fragment>
158 <Property Id="NETFRAMEWORK45_FI_FI_LANGPACK" Secure="yes">
159 <RegistrySearch Id="NETFRAMEWORK45FiFiLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1035" Name="Release" Type="raw" />
160 </Property>
161 </Fragment>
162
163 <!-- set to Release number of the .NET Framework 4.5 French language pack if installed (not set otherwise) -->
164 <Fragment>
165 <Property Id="NETFRAMEWORK45_FR_FR_LANGPACK" Secure="yes">
166 <RegistrySearch Id="NETFRAMEWORK45FrFrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1036" Name="Release" Type="raw" />
167 </Property>
168 </Fragment>
169
170 <!-- set to Release number of the .NET Framework 4.5 German language pack if installed (not set otherwise) -->
171 <Fragment>
172 <Property Id="NETFRAMEWORK45_DE_DE_LANGPACK" Secure="yes">
173 <RegistrySearch Id="NETFRAMEWORK45DeDeLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1031" Name="Release" Type="raw" />
174 </Property>
175 </Fragment>
176
177 <!-- set to Release number of the .NET Framework 4.5 Greek language pack if installed (not set otherwise) -->
178 <Fragment>
179 <Property Id="NETFRAMEWORK45_EL_GR_LANGPACK" Secure="yes">
180 <RegistrySearch Id="NETFRAMEWORK45ElGrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1032" Name="Release" Type="raw" />
181 </Property>
182 </Fragment>
183
184 <!-- set to Release number of the .NET Framework 4.5 Hebrew language pack if installed (not set otherwise) -->
185 <Fragment>
186 <Property Id="NETFRAMEWORK45_HE_IL_LANGPACK" Secure="yes">
187 <RegistrySearch Id="NETFRAMEWORK45HeIlLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1037" Name="Release" Type="raw" />
188 </Property>
189 </Fragment>
190
191 <!-- set to Release number of the .NET Framework 4.5 Hungarian language pack if installed (not set otherwise) -->
192 <Fragment>
193 <Property Id="NETFRAMEWORK45_HU_HU_LANGPACK" Secure="yes">
194 <RegistrySearch Id="NETFRAMEWORK45HuHuLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1038" Name="Release" Type="raw" />
195 </Property>
196 </Fragment>
197
198 <!-- set to Release number of the .NET Framework 4.5 Italian language pack if installed (not set otherwise) -->
199 <Fragment>
200 <Property Id="NETFRAMEWORK45_IT_IT_LANGPACK" Secure="yes">
201 <RegistrySearch Id="NETFRAMEWORK45ItItLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1040" Name="Release" Type="raw" />
202 </Property>
203 </Fragment>
204
205 <!-- set to Release number of the .NET Framework 4.5 Japanese language pack if installed (not set otherwise) -->
206 <Fragment>
207 <Property Id="NETFRAMEWORK45_JA_JP_LANGPACK" Secure="yes">
208 <RegistrySearch Id="NETFRAMEWORK45JaJpLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1041" Name="Release" Type="raw" />
209 </Property>
210 </Fragment>
211
212 <!-- set to Release number of the .NET Framework 4.5 Korean language pack if installed (not set otherwise) -->
213 <Fragment>
214 <Property Id="NETFRAMEWORK45_KO_KR_LANGPACK" Secure="yes">
215 <RegistrySearch Id="NETFRAMEWORK45KoKrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1042" Name="Release" Type="raw" />
216 </Property>
217 </Fragment>
218
219 <!-- set to Release number of the .NET Framework 4.5 Norwegian language pack if installed (not set otherwise) -->
220 <Fragment>
221 <Property Id="NETFRAMEWORK45_NB_NO_LANGPACK" Secure="yes">
222 <RegistrySearch Id="NETFRAMEWORK45NbNoLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1044" Name="Release" Type="raw" />
223 </Property>
224 </Fragment>
225
226 <!-- set to Release number of the .NET Framework 4.5 Polish language pack if installed (not set otherwise) -->
227 <Fragment>
228 <Property Id="NETFRAMEWORK45_PL_PL_LANGPACK" Secure="yes">
229 <RegistrySearch Id="NETFRAMEWORK45PlPlLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1045" Name="Release" Type="raw" />
230 </Property>
231 </Fragment>
232
233 <!-- set to Release number of the .NET Framework 4.5 Portuguese (Brazil) language pack if installed (not set otherwise) -->
234 <Fragment>
235 <Property Id="NETFRAMEWORK45_PT_BR_LANGPACK" Secure="yes">
236 <RegistrySearch Id="NETFRAMEWORK45PtBrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1046" Name="Release" Type="raw" />
237 </Property>
238 </Fragment>
239
240 <!-- set to Release number of the .NET Framework 4.5 Portuguese (Portugal) language pack if installed (not set otherwise) -->
241 <Fragment>
242 <Property Id="NETFRAMEWORK45_PT_PT_LANGPACK" Secure="yes">
243 <RegistrySearch Id="NETFRAMEWORK45PtPtLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\2070" Name="Release" Type="raw" />
244 </Property>
245 </Fragment>
246
247 <!-- set to Release number of the .NET Framework 4.5 Russian language pack if installed (not set otherwise) -->
248 <Fragment>
249 <Property Id="NETFRAMEWORK45_RU_RU_LANGPACK" Secure="yes">
250 <RegistrySearch Id="NETFRAMEWORK45RuRuLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1049" Name="Release" Type="raw" />
251 </Property>
252 </Fragment>
253
254 <!-- set to Release number of the .NET Framework 4.5 Spanish language pack if installed (not set otherwise) -->
255 <Fragment>
256 <Property Id="NETFRAMEWORK45_ES_ES_LANGPACK" Secure="yes">
257 <RegistrySearch Id="NETFRAMEWORK45EsEsLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\3082" Name="Release" Type="raw" />
258 </Property>
259 </Fragment>
260
261 <!-- set to Release number of the .NET Framework 4.5 Swedish language pack if installed (not set otherwise) -->
262 <Fragment>
263 <Property Id="NETFRAMEWORK45_SV_SE_LANGPACK" Secure="yes">
264 <RegistrySearch Id="NETFRAMEWORK45SvSeLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1053" Name="Release" Type="raw" />
265 </Property>
266 </Fragment>
267
268 <!-- set to Release number of the .NET Framework 4.5 Turkish language pack if installed (not set otherwise) -->
269 <Fragment>
270 <Property Id="NETFRAMEWORK45_TR_TR_LANGPACK" Secure="yes">
271 <RegistrySearch Id="NETFRAMEWORK45TrTrLp" Root="HKLM" Key="Software\Microsoft\NET Framework Setup\NDP\v4\Full\1055" Name="Release" Type="raw" />
272 </Property>
273 </Fragment>
274</Wix>