From 4f33f5a7a9d0cfbd880ce9c690494d0b0b15c0fc Mon Sep 17 00:00:00 2001 From: Elinor Fung Date: Wed, 20 Nov 2024 14:11:58 -0800 Subject: [PATCH] Specify that install location is in 32-bit view of registry (#325) Clarify that the InstallLocation key on Windows is in the 32-bit registry. The original doc (https://github.com/dotnet/designs/blob/main/accepted/2020/install-locations.md) already specifies this. The change here makes it clearer in the per-arch install design doc that builds on the original. --- accepted/2021/install-location-per-architecture.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/accepted/2021/install-location-per-architecture.md b/accepted/2021/install-location-per-architecture.md index 477ab009c..71e15851d 100644 --- a/accepted/2021/install-location-per-architecture.md +++ b/accepted/2021/install-location-per-architecture.md @@ -37,8 +37,8 @@ otherwise the apphost will use the global install location lookup. On Windows the multi-arch situation already exists with x86 and x64 architectures. Each installs into a different location and is registered accordingly. -The registration mechanism in registry includes the architecture, -the key path is `HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\\InstallLocation`. +Install locations are registered in the 32-bit registry under +`HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\\InstallLocation`. This means that x86 apphost looks only for x86 install location and similarly x64 apphost looks only for x64 install location. Adding another architecture