diff options
Diffstat (limited to 'src/ext/NetFx/wixlib/NetCoreShared.wxs')
-rw-r--r-- | src/ext/NetFx/wixlib/NetCoreShared.wxs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ext/NetFx/wixlib/NetCoreShared.wxs b/src/ext/NetFx/wixlib/NetCoreShared.wxs new file mode 100644 index 00000000..0332041a --- /dev/null +++ b/src/ext/NetFx/wixlib/NetCoreShared.wxs | |||
@@ -0,0 +1,11 @@ | |||
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" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util"> | ||
5 | |||
6 | <?foreach PLATFORM in x86;x64?> | ||
7 | <Fragment> | ||
8 | <util:RegistrySearch Id="DOTNETHOME_$(var.PLATFORM)" Variable="DOTNETHOME_$(var.PLATFORM)" Root="HKLM" Key="SOFTWARE\dotnet\Setup\InstalledVersions\$(var.PLATFORM)" Value="InstallLocation" Result="value" Bitness="always32" /> | ||
9 | </Fragment> | ||
10 | <?endforeach?> | ||
11 | </Wix> | ||