From: Tingzhong Luo <luotingzhong(a)uniontech.com> Fix the issue where some installers refuse to launch, due to SHGetKnownFolderPath() failing when called with FOLDERID_UserProgramFiles. Signed-off-by: Tingzhong Luo <luotingzhong(a)uniontech.com> --- dlls/shell32/shellpath.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/shell32/shellpath.c b/dlls/shell32/shellpath.c index 1a52717651e..dad5949fdce 100644 --- a/dlls/shell32/shellpath.c +++ b/dlls/shell32/shellpath.c @@ -2039,7 +2039,7 @@ static const CSIDL_DATA CSIDL_Data[] = }, { /* 0x6e */ .id = &FOLDERID_UserProgramFiles, - .type = CSIDL_Type_Disallowed, /* FIXME */ + .type = CSIDL_Type_User, .category = KF_CATEGORY_PERUSER, .name = L"UserProgramFiles", .parent = &FOLDERID_LocalAppData, -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/7490