[Bug 12914] New: wineprefixcreate overrides custom entries in Explorer\\Shell Folders

wine-bugs at winehq.org wine-bugs at winehq.org
Fri May 2 06:12:45 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=12914

           Summary: wineprefixcreate overrides custom entries in
                    Explorer\\Shell Folders
           Product: Wine
           Version: 0.9.59.
          Platform: Other
        OS/Version: other
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: tools
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: aelschuring at hotmail.com


I have been playing with specifying custom paths for user shell folders, in
order to be able to use the same wineprefix for multiple users (r/o C: drive,
r/w D:). But it seems that every time I run wineprefixcreate, it overrides some
of the paths specified in
[Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders].

I'll shorten this up for brevity:
arno at master:~$ wine --version
wine-0.9.59
arno at master:~$ rm -fr .wine
arno at master:~$ wineprefixcreate
Could not load Mozilla. HTML rendering will be disabled.
/home/arno/.wine updated successfully.
arno at master:~$ grep '\\profiles\\' .wine/user.reg 
"AppData"="C:\\windows\\profiles\\arno\\Application Data"
"Cookies"="C:\\windows\\profiles\\arno\\Cookies"
"Desktop"="C:\\windows\\profiles\\arno\\Desktop"
"Favorites"="C:\\windows\\profiles\\arno\\Favorites"
"History"="C:\\windows\\profiles\\arno\\Local Settings\\History"
arno at master:~$ sed -i 's/\(\\profiles\\\\\)arno/\1test/' .wine/user.reg
arno at master:~$ grep '\\profiles\\' .wine/user.reg
"AppData"="C:\\windows\\profiles\\test\\Application Data"
"Cookies"="C:\\windows\\profiles\\test\\Cookies"
"Desktop"="C:\\windows\\profiles\\test\\Desktop"
"Favorites"="C:\\windows\\profiles\\test\\Favorites"
"History"="C:\\windows\\profiles\\test\\Local Settings\\History"
arno at master:~$ wineprefixcreate
Could not load Mozilla. HTML rendering will be disabled.
/home/arno/.wine updated successfully.
arno at master:~$ grep '\\profiles\\' .wine/user.reg 
"AppData"="C:\\windows\\profiles\\arno\\Application Data"
"Cookies"="C:\\windows\\profiles\\arno\\Cookies"
"Desktop"="C:\\windows\\profiles\\test\\Desktop"
"Favorites"="C:\\windows\\profiles\\test\\Favorites"
"History"="C:\\windows\\profiles\\arno\\Local Settings\\History"

Also, the overrides that are displayed here do not come from userdef.reg
(tested by modifying userdef.reg), they appear to be coming directly from
[Software\\Microsoft\\Windows
NT\\CurrentVersion\\ProfileList]\\"ProfilesDirectory"

I'm not sure what the intended behaviour of wineprefixcreate should be (I think
it should not modify existent keys, only add missing ones), but at least the
inconsistent behaviour is a bug.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list