From: David Carrasco Flores <dcf1007@gmail.com> Map runtime.syswow64 to CSIDL_SYSTEMX86 on x86_64, matching the existing runtime.programfilesx86 and runtime.commonfilesx86 handling. --- programs/wusa/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/programs/wusa/main.c b/programs/wusa/main.c index ef7302847cc..26e83e4fc20 100644 --- a/programs/wusa/main.c +++ b/programs/wusa/main.c @@ -507,6 +507,7 @@ static WCHAR *lookup_expression(struct assembly_entry *assembly, const WCHAR *ke else csidl = CSIDL_PROGRAM_FILES_COMMON; } #ifdef __x86_64__ + else if (!wcsicmp(key, L"runtime.syswow64")) csidl = CSIDL_SYSTEMX86; else if (!wcsicmp(key, L"runtime.programfilesx86")) csidl = CSIDL_PROGRAM_FILESX86; else if (!wcsicmp(key, L"runtime.commonfilesx86")) csidl = CSIDL_PROGRAM_FILES_COMMONX86; #endif -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10761