aboutsummaryrefslogtreecommitdiff
path: root/src/wixlib/NetFx4.wxs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wixlib/NetFx4.wxs')
-rw-r--r--src/wixlib/NetFx4.wxs50
1 files changed, 40 insertions, 10 deletions
diff --git a/src/wixlib/NetFx4.wxs b/src/wixlib/NetFx4.wxs
index fa26435f..cad4a31c 100644
--- a/src/wixlib/NetFx4.wxs
+++ b/src/wixlib/NetFx4.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
@@ -16,6 +18,11 @@
16 <?define NetFx40RedistLink = http://go.microsoft.com/fwlink/?LinkId=247729 ?> 18 <?define NetFx40RedistLink = http://go.microsoft.com/fwlink/?LinkId=247729 ?>
17 <?define NetFx40ClientWebLink = http://go.microsoft.com/fwlink/?linkid=182804 ?> 19 <?define NetFx40ClientWebLink = http://go.microsoft.com/fwlink/?linkid=182804 ?>
18 <?define NetFx40ClientRedistLink = http://go.microsoft.com/fwlink/?LinkId=247730 ?> 20 <?define NetFx40ClientRedistLink = http://go.microsoft.com/fwlink/?LinkId=247730 ?>
21 <?define NetFx40EulaLink = http://go.microsoft.com/fwlink/?LinkID=188993 ?>
22 <?define NetFx40WebId = NetFx40Web ?>
23 <?define NetFx40RedistId = NetFx40Redist ?>
24 <?define NetFx40ClientWebId = NetFx40ClientWeb ?>
25 <?define NetFx40ClientRedistId = NetFx40ClientRedist ?>
19 26
20 <Fragment> 27 <Fragment>
21 <PropertyRef Id="NETFRAMEWORK40FULL" /> 28 <PropertyRef Id="NETFRAMEWORK40FULL" />
@@ -38,14 +45,14 @@
38 <Fragment> 45 <Fragment>
39 <util:RegistrySearchRef Id="NETFRAMEWORK40"/> 46 <util:RegistrySearchRef Id="NETFRAMEWORK40"/>
40 47
41 <PackageGroup Id="NetFx40Web"> 48 <PackageGroup Id="$(var.NetFx40WebId)">
42 <ExePackage 49 <ExePackage
43 InstallCommand="/q /norestart /ChainingPackage &quot;[WixBundleName]&quot;" 50 InstallCommand="/q /norestart /ChainingPackage &quot;[WixBundleName]&quot;"
44 RepairCommand="/q /norestart /repair /ChainingPackage &quot;[WixBundleName]&quot;" 51 RepairCommand="/q /norestart /repair /ChainingPackage &quot;[WixBundleName]&quot;"
45 UninstallCommand="/uninstall /q /norestart /ChainingPackage &quot;[WixBundleName]&quot;" 52 UninstallCommand="/uninstall /q /norestart /ChainingPackage &quot;[WixBundleName]&quot;"
46 PerMachine="yes" 53 PerMachine="yes"
47 DetectCondition="NETFRAMEWORK40" 54 DetectCondition="NETFRAMEWORK40"
48 Id="NetFx40Web" 55 Id="$(var.NetFx40WebId)"
49 Vital="yes" 56 Vital="yes"
50 Permanent="yes" 57 Permanent="yes"
51 Protocol="netfx4" 58 Protocol="netfx4"
@@ -65,16 +72,22 @@
65 </Fragment> 72 </Fragment>
66 73
67 <Fragment> 74 <Fragment>
75 <PackageGroup Id="$(var.NetFx40WebId)AsPrereq" />
76
77 <bal:ManagedBootstrapperApplicationPrereqInformation PackageId="$(var.NetFx40WebId)" LicenseUrl="$(var.NetFx40EulaLink)" />
78 </Fragment>
79
80 <Fragment>
68 <util:RegistrySearchRef Id="NETFRAMEWORK40"/> 81 <util:RegistrySearchRef Id="NETFRAMEWORK40"/>
69 82
70 <PackageGroup Id="NetFx40Redist"> 83 <PackageGroup Id="$(var.NetFx40RedistId)">
71 <ExePackage 84 <ExePackage
72 InstallCommand="/q /norestart /ChainingPackage &quot;[WixBundleName]&quot;" 85 InstallCommand="/q /norestart /ChainingPackage &quot;[WixBundleName]&quot;"
73 RepairCommand="/q /norestart /repair /ChainingPackage &quot;[WixBundleName]&quot;" 86 RepairCommand="/q /norestart /repair /ChainingPackage &quot;[WixBundleName]&quot;"
74 UninstallCommand="/uninstall /q /norestart /ChainingPackage &quot;[WixBundleName]&quot;" 87 UninstallCommand="/uninstall /q /norestart /ChainingPackage &quot;[WixBundleName]&quot;"
75 PerMachine="yes" 88 PerMachine="yes"
76 DetectCondition="NETFRAMEWORK40" 89 DetectCondition="NETFRAMEWORK40"
77 Id="NetFx40Redist" 90 Id="$(var.NetFx40RedistId)"
78 Vital="yes" 91 Vital="yes"
79 Permanent="yes" 92 Permanent="yes"
80 Protocol="netfx4" 93 Protocol="netfx4"
@@ -94,6 +107,12 @@
94 </Fragment> 107 </Fragment>
95 108
96 <Fragment> 109 <Fragment>
110 <PackageGroup Id="$(var.NetFx40RedistId)AsPrereq" />
111
112 <bal:ManagedBootstrapperApplicationPrereqInformation PackageId="$(var.NetFx40RedistId)" LicenseUrl="$(var.NetFx40EulaLink)" />
113 </Fragment>
114
115 <Fragment>
97 <util:RegistrySearch 116 <util:RegistrySearch
98 Id="NETFRAMEWORK40CLIENT" 117 Id="NETFRAMEWORK40CLIENT"
99 Variable="NETFRAMEWORK40CLIENT" 118 Variable="NETFRAMEWORK40CLIENT"
@@ -103,18 +122,17 @@
103 Result="value" /> 122 Result="value" />
104 </Fragment> 123 </Fragment>
105 124
106
107 <Fragment> 125 <Fragment>
108 <util:RegistrySearchRef Id="NETFRAMEWORK40CLIENT"/> 126 <util:RegistrySearchRef Id="NETFRAMEWORK40CLIENT"/>
109 127
110 <PackageGroup Id="NetFx40ClientWeb"> 128 <PackageGroup Id="$(var.NetFx40ClientWebId)">
111 <ExePackage 129 <ExePackage
112 InstallCommand="/q /norestart /ChainingPackage &quot;[WixBundleName]&quot;" 130 InstallCommand="/q /norestart /ChainingPackage &quot;[WixBundleName]&quot;"
113 RepairCommand="/q /norestart /repair /ChainingPackage &quot;[WixBundleName]&quot;" 131 RepairCommand="/q /norestart /repair /ChainingPackage &quot;[WixBundleName]&quot;"
114 UninstallCommand="/uninstall /q /norestart /ChainingPackage &quot;[WixBundleName]&quot;" 132 UninstallCommand="/uninstall /q /norestart /ChainingPackage &quot;[WixBundleName]&quot;"
115 PerMachine="yes" 133 PerMachine="yes"
116 DetectCondition="NETFRAMEWORK40CLIENT" 134 DetectCondition="NETFRAMEWORK40CLIENT"
117 Id="NetFx40ClientWeb" 135 Id="$(var.NetFx40ClientWebId)"
118 Vital="yes" 136 Vital="yes"
119 Permanent="yes" 137 Permanent="yes"
120 Protocol="netfx4" 138 Protocol="netfx4"
@@ -134,16 +152,22 @@
134 </Fragment> 152 </Fragment>
135 153
136 <Fragment> 154 <Fragment>
155 <PackageGroup Id="$(var.NetFx40ClientWebId)AsPrereq" />
156
157 <bal:ManagedBootstrapperApplicationPrereqInformation PackageId="$(var.NetFx40ClientWebId)" LicenseUrl="$(var.NetFx40EulaLink)" />
158 </Fragment>
159
160 <Fragment>
137 <util:RegistrySearchRef Id="NETFRAMEWORK40CLIENT"/> 161 <util:RegistrySearchRef Id="NETFRAMEWORK40CLIENT"/>
138 162
139 <PackageGroup Id="NetFx40ClientRedist"> 163 <PackageGroup Id="$(var.NetFx40ClientRedistId)">
140 <ExePackage 164 <ExePackage
141 InstallCommand="/q /norestart /ChainingPackage &quot;[WixBundleName]&quot;" 165 InstallCommand="/q /norestart /ChainingPackage &quot;[WixBundleName]&quot;"
142 RepairCommand="/q /norestart /repair /ChainingPackage &quot;[WixBundleName]&quot;" 166 RepairCommand="/q /norestart /repair /ChainingPackage &quot;[WixBundleName]&quot;"
143 UninstallCommand="/uninstall /q /norestart /ChainingPackage &quot;[WixBundleName]&quot;" 167 UninstallCommand="/uninstall /q /norestart /ChainingPackage &quot;[WixBundleName]&quot;"
144 PerMachine="yes" 168 PerMachine="yes"
145 DetectCondition="NETFRAMEWORK40CLIENT" 169 DetectCondition="NETFRAMEWORK40CLIENT"
146 Id="NetFx40ClientRedist" 170 Id="$(var.NetFx40ClientRedistId)"
147 Vital="yes" 171 Vital="yes"
148 Permanent="yes" 172 Permanent="yes"
149 Protocol="netfx4" 173 Protocol="netfx4"
@@ -162,6 +186,12 @@
162 </PackageGroup> 186 </PackageGroup>
163 </Fragment> 187 </Fragment>
164 188
189 <Fragment>
190 <PackageGroup Id="$(var.NetFx40ClientRedistId)AsPrereq" />
191
192 <bal:ManagedBootstrapperApplicationPrereqInformation PackageId="$(var.NetFx40ClientRedistId)" LicenseUrl="$(var.NetFx40EulaLink)" />
193 </Fragment>
194
165 <!-- set to #1 if the .NET Framework 4.0 client is installed (not set otherwise) --> 195 <!-- set to #1 if the .NET Framework 4.0 client is installed (not set otherwise) -->
166 <Fragment> 196 <Fragment>
167 <Property Id="NETFRAMEWORK40CLIENT" Secure="yes"> 197 <Property Id="NETFRAMEWORK40CLIENT" Secure="yes">