http://bugs.winehq.org/show_bug.cgi?id=26894
Summary: Support windows 7 user folders? Product: Wine Version: 1.3.18 Platform: x86 OS/Version: Linux Status: NEW Severity: enhancement Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
Windows 7 changed the folders in c:/users/$USERNAME around a bit.
My Documents is now just a link to the new folder Documents Application Data is now just a link to the new folder AppData/Roaming Local Settings is now just a link to the new folder AppData/Local
Well-behaved apps that use CSIDL_PERSONAL to get at "My Documents" will work regardless, but users or badly behaved apps might start expecting the shorter directory names sometime, so we might want to switch to the new names sometime for new wineprefixes.
I'll attach a demo patch that just changes Wine's shell32 to use the new locations; we would also need to add symlinks somewhere so that apps which reference the old locations keep working, as Windows does.
http://bugs.winehq.org/show_bug.cgi?id=26894
--- Comment #1 from Dan Kegel dank@kegel.com 2011-04-22 18:21:40 CDT --- Created an attachment (id=34293) --> (http://bugs.winehq.org/attachment.cgi?id=34293) Demo patch that just chanes the names in shell32
http://bugs.winehq.org/show_bug.cgi?id=26894
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, patch
http://bugs.winehq.org/show_bug.cgi?id=26894
Aric Stewart aric@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aric@codeweavers.com
--- Comment #2 from Aric Stewart aric@codeweavers.com 2011-06-24 14:21:42 CDT --- (In reply to comment #1)
Created an attachment (id=34293)
--> (http://bugs.winehq.org/attachment.cgi?id=34293) [details]
Demo patch that just chanes the names in shell32
I did the linking work and when reviewing it with Alexandre he felt is was unnecessary.
How important do you feel the linking of the folders is? We could just change them for newly created wine prefix. The folder locations are registered in the registry so updating the default locations to the windows 7 versions should not affect existing wineprefix.
http://bugs.winehq.org/show_bug.cgi?id=26894
--- Comment #3 from Dan Kegel dank@kegel.com 2011-06-24 16:17:06 CDT --- It's ok to leave out the compatibility links initially - if some games rely on them, we can fix that later.
http://bugs.winehq.org/show_bug.cgi?id=26894
--- Comment #4 from Dan Kegel dank@kegel.com 2011-06-27 16:24:55 CDT --- With the patch http://www.winehq.org/pipermail/wine-patches/2011-June/103632.html Lego Pirates of the Carribean saves its preferences in
c:/users/dank/AppData/Roaming/DisneyInteractiveStudios/LEGOPiratesDEMO/
but on Windows, it saves them in c:/users/dank/AppData/Local/Roaming/DisneyInteractiveStudios/LEGOPiratesDEMO/
http://bugs.winehq.org/show_bug.cgi?id=26894
--- Comment #5 from Dan Kegel dank@kegel.com 2011-06-27 16:29:40 CDT --- I take that back. The Local bit may be spurious. Checking...
http://bugs.winehq.org/show_bug.cgi?id=26894
--- Comment #6 from Alexandre Julliard julliard@winehq.org 2011-06-28 11:55:32 CDT --- Do you have an actual app that hardcodes the Win7 paths?
https://bugs.winehq.org/show_bug.cgi?id=26894
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|download | Status|NEW |RESOLVED Resolution|--- |ABANDONED
--- Comment #7 from Austin English austinenglish@gmail.com --- Unless there's an application depending on this, I see no reason to keep this open.
https://bugs.winehq.org/show_bug.cgi?id=26894
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Austin English austinenglish@gmail.com --- Closing.