aboutsummaryrefslogtreecommitdiff
path: root/src/wixlib/NetCoreShared.wxs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wixlib/NetCoreShared.wxs')
-rw-r--r--src/wixlib/NetCoreShared.wxs20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/wixlib/NetCoreShared.wxs b/src/wixlib/NetCoreShared.wxs
new file mode 100644
index 00000000..18f9e5a4
--- /dev/null
+++ b/src/wixlib/NetCoreShared.wxs
@@ -0,0 +1,20 @@
1<?xml version="1.0"?>
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 xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util">
7
8 <?foreach PLATFORM in x86;x64?>
9 <Fragment>
10 <util:RegistrySearch
11 Id="DOTNETHOME_$(var.PLATFORM)"
12 Variable="DOTNETHOME_$(var.PLATFORM)"
13 Root="HKLM"
14 Key="SOFTWARE\dotnet\Setup\InstalledVersions\$(var.PLATFORM)"
15 Value="InstallLocation"
16 Result="value"
17 Win64="no" />
18 </Fragment>
19 <?endforeach?>
20</Wix>