https://bugs.winehq.org/show_bug.cgi?id=51281
Bug ID: 51281 Summary: C:\users<user>\appdata\local not created on prefix update Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: shell32 Assignee: wine-bugs@winehq.org Reporter: stefan@codeweavers.com Distribution: ---
Starcraft 1 from Battle.net fails to run in an existing prefix since 4111801ab317529c3e24c39a6a97e7043438231a. A workaround is to re-install everything in a new prefix.
A quick warn+file log shows the following:
0340:warn:file:NtQueryAttributesFile L"\??\C:\users\stefan\AppData\Local" not found (c0000034) 0340:trace:seh:dispatch_exception code=c0000005 flags=0 addr=00000001803DD71C ip=00000001803DD71C tid=0340
Manually creating the folder fixes the bug. I haven't checked if game settings are migrated ok or lost.
Is it possible to create this folder on prefix update?
https://bugs.winehq.org/show_bug.cgi?id=51281
Stefan Dösinger stefan@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |4111801ab317529c3e24c39a6a9 | |7e7043438231a
https://bugs.winehq.org/show_bug.cgi?id=51281
Andrew Eikum aeikum@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aeikum@codeweavers.com
--- Comment #1 from Andrew Eikum aeikum@codeweavers.com --- Created attachment 70163 --> https://bugs.winehq.org/attachment.cgi?id=70163 shell32: Always create default known folder directories
Here's a patch which should fix it after prefix upgrade (you may need to "wineboot -u" to trigger a prefix upgrade). I'm working on tests then will upstream.
https://bugs.winehq.org/show_bug.cgi?id=51281
michelesr@autistici.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |michelesr@autistici.org
--- Comment #2 from michelesr@autistici.org --- *** Bug 51237 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=51281
--- Comment #3 from Andrew Eikum aeikum@codeweavers.com --- Should be fixed by
commit 978e03ea942a7734dfb2d8c4b79e84fe8ac89f78 Author: Andrew Eikum aeikum@codeweavers.com Date: Thu Jun 17 10:43:01 2021 -0500
shell32: Always create default known folder directories.
https://bugs.winehq.org/show_bug.cgi?id=51281
Andrew Eikum aeikum@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |978e03ea942a7734dfb2d8c4b79 | |e84fe8ac89f78 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #4 from Andrew Eikum aeikum@codeweavers.com --- Was fixed in Wine 6.11.
https://bugs.winehq.org/show_bug.cgi?id=51281
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.13.
https://bugs.winehq.org/show_bug.cgi?id=51281
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression