aboutsummaryrefslogtreecommitdiff
path: root/src/wixlib/NetFx451.wxs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wixlib/NetFx451.wxs')
-rw-r--r--src/wixlib/NetFx451.wxs27
1 files changed, 22 insertions, 5 deletions
diff --git a/src/wixlib/NetFx451.wxs b/src/wixlib/NetFx451.wxs
index 7feff124..dc2b1fd6 100644
--- a/src/wixlib/NetFx451.wxs
+++ b/src/wixlib/NetFx451.wxs
@@ -2,7 +2,9 @@
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. --> 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 3
4 4
5<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util"> 5<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"
6 xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal"
7 xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util">
6 8
7 <!-- 9 <!--
8 .NET Framework installation state properties 10 .NET Framework installation state properties
@@ -15,6 +17,9 @@
15 <?define NetFx451MinRelease = 378675 ?> 17 <?define NetFx451MinRelease = 378675 ?>
16 <?define NetFx451WebLink = http://go.microsoft.com/fwlink/?LinkId=322115 ?> 18 <?define NetFx451WebLink = http://go.microsoft.com/fwlink/?LinkId=322115 ?>
17 <?define NetFx451RedistLink = http://go.microsoft.com/fwlink/?LinkId=322116 ?> 19 <?define NetFx451RedistLink = http://go.microsoft.com/fwlink/?LinkId=322116 ?>
20 <?define NetFx451EulaLink = http://wixtoolset.org/licenses/netfx451 ?>
21 <?define NetFx451WebId = NetFx451Web ?>
22 <?define NetFx451RedistId = NetFx451Redist ?>
18 23
19 <Fragment> 24 <Fragment>
20 <PropertyRef Id="WIXNETFX4RELEASEINSTALLED" /> 25 <PropertyRef Id="WIXNETFX4RELEASEINSTALLED" />
@@ -31,7 +36,7 @@
31 <WixVariable Id="NetFx451WebInstallCondition" Value="" Overridable="yes" /> 36 <WixVariable Id="NetFx451WebInstallCondition" Value="" Overridable="yes" />
32 <WixVariable Id="NetFx451WebPackageDirectory" Value="redist\" Overridable="yes" /> 37 <WixVariable Id="NetFx451WebPackageDirectory" Value="redist\" Overridable="yes" />
33 38
34 <PackageGroup Id="NetFx451Web"> 39 <PackageGroup Id="$(var.NetFx451WebId)">
35 <ExePackage 40 <ExePackage
36 InstallCommand="/q /norestart /ChainingPackage &quot;[WixBundleName]&quot; /log &quot;[NetFx451FullWebLog].html&quot;" 41 InstallCommand="/q /norestart /ChainingPackage &quot;[WixBundleName]&quot; /log &quot;[NetFx451FullWebLog].html&quot;"
37 RepairCommand="/q /norestart /repair /ChainingPackage &quot;[WixBundleName]&quot; /log &quot;[NetFx451FullWebLog].html&quot;" 42 RepairCommand="/q /norestart /repair /ChainingPackage &quot;[WixBundleName]&quot; /log &quot;[NetFx451FullWebLog].html&quot;"
@@ -39,7 +44,7 @@
39 PerMachine="yes" 44 PerMachine="yes"
40 DetectCondition="!(wix.NetFx451WebDetectCondition)" 45 DetectCondition="!(wix.NetFx451WebDetectCondition)"
41 InstallCondition="!(wix.NetFx451WebInstallCondition)" 46 InstallCondition="!(wix.NetFx451WebInstallCondition)"
42 Id="NetFx451Web" 47 Id="$(var.NetFx451WebId)"
43 Vital="yes" 48 Vital="yes"
44 Permanent="yes" 49 Permanent="yes"
45 Protocol="netfx4" 50 Protocol="netfx4"
@@ -60,13 +65,19 @@
60 </Fragment> 65 </Fragment>
61 66
62 <Fragment> 67 <Fragment>
68 <PackageGroup Id="$(var.NetFx451WebId)AsPrereq" />
69
70 <bal:ManagedBootstrapperApplicationPrereqInformation PackageId="$(var.NetFx451WebId)" LicenseUrl="$(var.NetFx451EulaLink)" />
71 </Fragment>
72
73 <Fragment>
63 <util:RegistrySearchRef Id="NETFRAMEWORK45"/> 74 <util:RegistrySearchRef Id="NETFRAMEWORK45"/>
64 75
65 <WixVariable Id="NetFx451RedistDetectCondition" Value="NETFRAMEWORK45 &gt;= $(var.NetFx451MinRelease)" Overridable="yes" /> 76 <WixVariable Id="NetFx451RedistDetectCondition" Value="NETFRAMEWORK45 &gt;= $(var.NetFx451MinRelease)" Overridable="yes" />
66 <WixVariable Id="NetFx451RedistInstallCondition" Value="" Overridable="yes" /> 77 <WixVariable Id="NetFx451RedistInstallCondition" Value="" Overridable="yes" />
67 <WixVariable Id="NetFx451RedistPackageDirectory" Value="redist\" Overridable="yes" /> 78 <WixVariable Id="NetFx451RedistPackageDirectory" Value="redist\" Overridable="yes" />
68 79
69 <PackageGroup Id="NetFx451Redist"> 80 <PackageGroup Id="$(var.NetFx451RedistId)">
70 <ExePackage 81 <ExePackage
71 InstallCommand="/q /norestart /ChainingPackage &quot;[WixBundleName]&quot; /log &quot;[NetFx451FullLog].html&quot;" 82 InstallCommand="/q /norestart /ChainingPackage &quot;[WixBundleName]&quot; /log &quot;[NetFx451FullLog].html&quot;"
72 RepairCommand="/q /norestart /repair /ChainingPackage &quot;[WixBundleName]&quot; /log &quot;[NetFx451FullLog].html&quot;" 83 RepairCommand="/q /norestart /repair /ChainingPackage &quot;[WixBundleName]&quot; /log &quot;[NetFx451FullLog].html&quot;"
@@ -74,7 +85,7 @@
74 PerMachine="yes" 85 PerMachine="yes"
75 DetectCondition="!(wix.NetFx451RedistDetectCondition)" 86 DetectCondition="!(wix.NetFx451RedistDetectCondition)"
76 InstallCondition="!(wix.NetFx451RedistInstallCondition)" 87 InstallCondition="!(wix.NetFx451RedistInstallCondition)"
77 Id="NetFx451Redist" 88 Id="$(var.NetFx451RedistId)"
78 Vital="yes" 89 Vital="yes"
79 Permanent="yes" 90 Permanent="yes"
80 Protocol="netfx4" 91 Protocol="netfx4"
@@ -93,4 +104,10 @@
93 </ExePackage> 104 </ExePackage>
94 </PackageGroup> 105 </PackageGroup>
95 </Fragment> 106 </Fragment>
107
108 <Fragment>
109 <PackageGroup Id="$(var.NetFx451RedistId)AsPrereq" />
110
111 <bal:ManagedBootstrapperApplicationPrereqInformation PackageId="$(var.NetFx451RedistId)" LicenseUrl="$(var.NetFx451EulaLink)" />
112 </Fragment>
96</Wix> 113</Wix>