| 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 | |
| 4 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
| 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 - http://msdn.microsoft.com/en-us/library/5a4x27ek.aspx, http://msdn.microsoft.com/en-us/library/ee942965(v=VS.110).aspx |
| 12 | --> |
| 13 | |
| 14 | <?define NetFx451MinRelease = 378675 ?> |
| 15 | <?define NetFx451WebLink = http://go.microsoft.com/fwlink/?LinkId=322115 ?> |
| 16 | <?define NetFx451RedistLink = http://go.microsoft.com/fwlink/?LinkId=322116 ?> |
| 17 | <?define NetFx451EulaLink = http://wixtoolset.org/licenses/netfx451 ?> |
| 18 | <?define NetFx451WebId = NetFx451Web ?> |
| 19 | <?define NetFx451RedistId = NetFx451Redist ?> |
| 20 | |
| 21 | <Fragment> |
| 22 | <PropertyRef Id="WIXNETFX4RELEASEINSTALLED" /> |
| 23 | <Property Id="WIX_IS_NETFRAMEWORK_451_OR_LATER_INSTALLED" Secure="yes" /> |
| 24 | <SetProperty Id="WIX_IS_NETFRAMEWORK_451_OR_LATER_INSTALLED" Value="1" After="AppSearch" Condition="WIXNETFX4RELEASEINSTALLED >= "#$(var.NetFx451MinRelease)"" /> |
| 25 | </Fragment> |
| 26 | </Wix> |