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