aboutsummaryrefslogtreecommitdiff
path: root/src/wixlib/NetFx461.wxs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wixlib/NetFx461.wxs')
-rw-r--r--src/wixlib/NetFx461.wxs95
1 files changed, 95 insertions, 0 deletions
diff --git a/src/wixlib/NetFx461.wxs b/src/wixlib/NetFx461.wxs
new file mode 100644
index 00000000..907c2a35
--- /dev/null
+++ b/src/wixlib/NetFx461.wxs
@@ -0,0 +1,95 @@
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<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util">
5
6 <!--
7 .NET Framework installation state properties
8
9 Official documentation can be found at the following location:
10
11 .NET Framework 4.5/4.5.1/4.5.2/4.6/4.6.1 - http://msdn.microsoft.com/en-us/library/w0x726c2(v=vs.110).aspx
12 -->
13
14 <?define NetFx461MinRelease = 394254 ?>
15 <?define NetFx461WebLink = http://go.microsoft.com/fwlink/?LinkId=671728 ?>
16 <?define NetFx461RedistLink = http://go.microsoft.com/fwlink/?LinkId=671743 ?>
17
18 <Fragment>
19 <PropertyRef Id="WIXNETFX4RELEASEINSTALLED" />
20 <Property Id="WIX_IS_NETFRAMEWORK_461_OR_LATER_INSTALLED" Secure="yes" />
21 <SetProperty Id="WIX_IS_NETFRAMEWORK_461_OR_LATER_INSTALLED" Value="1" After="AppSearch">
22 WIXNETFX4RELEASEINSTALLED >= "#$(var.NetFx461MinRelease)"
23 </SetProperty>
24 </Fragment>
25
26 <Fragment>
27 <util:RegistrySearchRef Id="NETFRAMEWORK45"/>
28
29 <WixVariable Id="NetFx461WebDetectCondition" Value="NETFRAMEWORK45 &gt;= $(var.NetFx461MinRelease)" Overridable="yes" />
30 <WixVariable Id="NetFx461WebInstallCondition" Value="" Overridable="yes" />
31 <WixVariable Id="NetFx461WebPackageDirectory" Value="redist\" Overridable="yes" />
32
33 <PackageGroup Id="NetFx461Web">
34 <ExePackage
35 InstallCommand="/q /norestart /ChainingPackage &quot;[WixBundleName]&quot; /log &quot;[NetFx461FullLog].html&quot;"
36 RepairCommand="/q /norestart /repair /ChainingPackage &quot;[WixBundleName]&quot; /log &quot;[NetFx461FullLog].html&quot;"
37 UninstallCommand="/uninstall /q /norestart /ChainingPackage &quot;[WixBundleName]&quot; /log &quot;[NetFx461FullLog].html&quot;"
38 PerMachine="yes"
39 DetectCondition="!(wix.NetFx461WebDetectCondition)"
40 InstallCondition="!(wix.NetFx461WebInstallCondition)"
41 Id="NetFx461Web"
42 Vital="yes"
43 Permanent="yes"
44 Protocol="netfx4"
45 DownloadUrl="$(var.NetFx461WebLink)"
46 LogPathVariable="NetFx461FullLog"
47 Compressed="no"
48 Name="!(wix.NetFx461WebPackageDirectory)NDP461-KB3102438-Web.exe">
49 <RemotePayload
50 CertificatePublicKey="52868DFCA6E3AF2632389E6C1EE7D0468D3797D0"
51 CertificateThumbprint="3BDA323E552DB1FDE5F4FBEE75D6D5B2B187EEDC"
52 Description="Microsoft .NET Framework 4.6.1 Setup"
53 Hash="EE88B05232F43B517D4A368F7EE5065CDE7F67FA"
54 ProductName="Microsoft .NET Framework 4.6.1"
55 Size="1424328"
56 Version="4.6.1055.0" />
57 </ExePackage>
58 </PackageGroup>
59 </Fragment>
60
61 <Fragment>
62 <util:RegistrySearchRef Id="NETFRAMEWORK45"/>
63
64 <WixVariable Id="NetFx461RedistDetectCondition" Value="NETFRAMEWORK45 &gt;= $(var.NetFx461MinRelease)" Overridable="yes" />
65 <WixVariable Id="NetFx461RedistInstallCondition" Value="" Overridable="yes" />
66 <WixVariable Id="NetFx461RedistPackageDirectory" Value="redist\" Overridable="yes" />
67
68 <PackageGroup Id="NetFx461Redist">
69 <ExePackage
70 InstallCommand="/q /norestart /ChainingPackage &quot;[WixBundleName]&quot; /log &quot;[NetFx461FullLog].html&quot;"
71 RepairCommand="/q /norestart /repair /ChainingPackage &quot;[WixBundleName]&quot; /log &quot;[NetFx461FullLog].html&quot;"
72 UninstallCommand="/uninstall /q /norestart /ChainingPackage &quot;[WixBundleName]&quot; /log &quot;[NetFx461FullLog].html&quot;"
73 PerMachine="yes"
74 DetectCondition="!(wix.NetFx461RedistDetectCondition)"
75 InstallCondition="!(wix.NetFx461RedistInstallCondition)"
76 Id="NetFx461Redist"
77 Vital="yes"
78 Permanent="yes"
79 Protocol="netfx4"
80 DownloadUrl="$(var.NetFx461RedistLink)"
81 LogPathVariable="NetFx461FullLog"
82 Compressed="no"
83 Name="!(wix.NetFx461RedistPackageDirectory)NDP461-KB3102436-x86-x64-AllOS-ENU.exe">
84 <RemotePayload
85 CertificatePublicKey="52868DFCA6E3AF2632389E6C1EE7D0468D3797D0"
86 CertificateThumbprint="3BDA323E552DB1FDE5F4FBEE75D6D5B2B187EEDC"
87 Description="Microsoft .NET Framework 4.6.1 Setup"
88 Hash="83D048D171FF44A3CAD9B422137656F585295866"
89 ProductName="Microsoft .NET Framework 4.6.1"
90 Size="67681000"
91 Version="4.6.1055.0" />
92 </ExePackage>
93 </PackageGroup>
94 </Fragment>
95</Wix>