http://bugs.winehq.org/show_bug.cgi?id=58169
Bug ID: 58169 Summary: Trae installer fails: "Failed to expand shell folder constant userpf" Product: Wine Version: 10.6 Hardware: x86-64 URL: https://lf-cdn.trae.ai/obj/trae-ai-us/pkg/app/releases /stable/1.0.12120/win32/Trae-Setup-x64.exe OS: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: shell32 Assignee: wine-bugs@winehq.org Reporter: xerox.xerox2000x@gmail.com Distribution: Debian
Someone reported this on reddit.
A messagebox appears with the message mentioned in the title, and the installer exits.
Patch below makes the installer succeed, but I'm too unfamiliar with the code in shellpath.c to know id this is right. Any pointers welcome.
diff --git a/dlls/shell32/shellpath.c b/dlls/shell32/shellpath.c index 1a52717651e..20670b854b2 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,//CSIDL_Type_Disallowed, /* FIXME */ .category = KF_CATEGORY_PERUSER, .name = L"UserProgramFiles", .parent = &FOLDERID_LocalAppData,
http://bugs.winehq.org/show_bug.cgi?id=58169
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |2e4974af42a96dfcd426be5e40f | |aecd9853401d1 Resolution|--- |FIXED
--- Comment #1 from Louis Lenders xerox.xerox2000x@gmail.com --- This was fixed by 2e4974af42a96dfcd426be5e40faecd9853401d1
Thanks Tingzhong Luo.
http://bugs.winehq.org/show_bug.cgi?id=58169
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 10.14.