| 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 | Official documentation can be found at the following location: |
| 8 | .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 |
| 9 | --> |
| 10 | |
| 11 | <?define NetFx461MinRelease = 394254 ?> |
| 12 | |
| 13 | <Fragment> |
| 14 | <PropertyRef Id="WIXNETFX4RELEASEINSTALLED" /> |
| 15 | <Property Id="WIX_IS_NETFRAMEWORK_461_OR_LATER_INSTALLED" Secure="yes" /> |
| 16 | <SetProperty Id="WIX_IS_NETFRAMEWORK_461_OR_LATER_INSTALLED" Value="1" After="AppSearch" Condition="WIXNETFX4RELEASEINSTALLED >= "#$(var.NetFx461MinRelease)"" /> |
| 17 | </Fragment> |
| 18 | |
| 19 | </Wix> |