aboutsummaryrefslogtreecommitdiff
path: root/src/wixlib/NetFxExtension.wxs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wixlib/NetFxExtension.wxs')
-rw-r--r--src/wixlib/NetFxExtension.wxs39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/wixlib/NetFxExtension.wxs b/src/wixlib/NetFxExtension.wxs
new file mode 100644
index 00000000..b64dc004
--- /dev/null
+++ b/src/wixlib/NetFxExtension.wxs
@@ -0,0 +1,39 @@
1<?xml version="1.0" encoding="utf-8"?>
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
4
5<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
6
7 <!--
8 .NET Framework installation state properties
9 -->
10
11 <!-- Location of .NET Framework redistributable install root directory -->
12 <Fragment>
13 <Property Id="NETFRAMEWORKINSTALLROOTDIR" Secure="yes">
14 <RegistrySearch Id="NetFxInstallRootSearch" Type="raw" Root="HKLM" Key="Software\Microsoft\.NETFramework" Name="InstallRoot" />
15 </Property>
16 </Fragment>
17
18 <!-- location of the Windows SDK current active version installation root -->
19 <Fragment>
20 <Property Id="WINDOWSSDKCURRENTVERSIONDIR" Secure="yes">
21 <RegistrySearch Id="WindowsSdkCurrentVersionDir" Root="HKLM" Key="Software\Microsoft\Microsoft SDKs\Windows" Name="CurrentInstallFolder" Type="raw" />
22 </Property>
23 </Fragment>
24
25 <!-- The Windows SDK current active version -->
26 <Fragment>
27 <Property Id="WINDOWSSDKCURRENTVERSION" Secure="yes">
28 <RegistrySearch Id="WindowsSdkCurrentVersion" Root="HKLM" Key="Software\Microsoft\Microsoft SDKs\Windows" Name="CurrentVersion" Type="raw" />
29 </Property>
30 </Fragment>
31
32 <!-- Release value of .NET 4.5 and later -->
33 <Fragment>
34 <Property Id="WIXNETFX4RELEASEINSTALLED" Secure="yes">
35 <RegistrySearch Id="NetFx4ReleaseInstalled" Root="HKLM" Key="SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" Name="Release" Type="raw" />
36 </Property>
37 </Fragment>
38
39</Wix>