aboutsummaryrefslogtreecommitdiff
path: root/src/ext/NetFx/wixlib/NetFx452.wxs
blob: ef5bb108e1a42d7047d51c886eb96f2bb4112af5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!-- 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. -->

<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">

  <!--
        .NET Framework installation state properties

        Official documentation can be found at the following location:

           .NET Framework 4.5/4.5.1/4.5.2 - http://msdn.microsoft.com/en-us/library/w0x726c2(v=vs.110).aspx
    -->

  <?define NetFx452MinRelease = 379893 ?>
  <?define NetFx452WebLink = https://go.microsoft.com/fwlink/?LinkId=397707 ?>
  <?define NetFx452RedistLink = https://go.microsoft.com/fwlink/?LinkId=397708 ?>
  <?define NetFx452EulaLink = https://wixtoolset.org/licenses/netfx452 ?>
  <?define NetFx452WebId = NetFx452Web ?>
  <?define NetFx452RedistId = NetFx452Redist ?>

  <Fragment>
    <PropertyRef Id="WIXNETFX4RELEASEINSTALLED" />
    <Property Id="WIX_IS_NETFRAMEWORK_452_OR_LATER_INSTALLED" Secure="yes" />
    <SetProperty Id="WIX_IS_NETFRAMEWORK_452_OR_LATER_INSTALLED" Value="1" After="AppSearch" Condition="WIXNETFX4RELEASEINSTALLED &gt;= &quot;#$(var.NetFx452MinRelease)&quot;" />
  </Fragment>
</Wix>