| 1 | <!-- 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 | |
| 3 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util"> |
| 4 | |
| 5 | <!-- |
| 6 | .NET Framework installation state properties |
| 7 | |
| 8 | Official documentation can be found at the following location: |
| 9 | |
| 10 | .NET Framework 4.5/4.5.1/4.5.2 - http://msdn.microsoft.com/en-us/library/w0x726c2(v=vs.110).aspx |
| 11 | --> |
| 12 | |
| 13 | <?define NetFx452MinRelease = 379893 ?> |
| 14 | <?define NetFx452WebLink = https://go.microsoft.com/fwlink/?LinkId=397707 ?> |
| 15 | <?define NetFx452RedistLink = https://go.microsoft.com/fwlink/?LinkId=397708 ?> |
| 16 | <?define NetFx452EulaLink = https://wixtoolset.org/licenses/netfx452 ?> |
| 17 | <?define NetFx452WebId = NetFx452Web ?> |
| 18 | <?define NetFx452RedistId = NetFx452Redist ?> |
| 19 | |
| 20 | <Fragment> |
| 21 | <PropertyRef Id="WIXNETFX4RELEASEINSTALLED" /> |
| 22 | <Property Id="WIX_IS_NETFRAMEWORK_452_OR_LATER_INSTALLED" Secure="yes" /> |
| 23 | <SetProperty Id="WIX_IS_NETFRAMEWORK_452_OR_LATER_INSTALLED" Value="1" After="AppSearch" Condition="WIXNETFX4RELEASEINSTALLED >= "#$(var.NetFx452MinRelease)"" /> |
| 24 | </Fragment> |
| 25 | </Wix> |