[Bug 10011] New: A conflict between global and user' s %PATH% environment variables

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Oct 12 13:53:15 CDT 2007


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

           Summary: A conflict between global and user's %PATH% environment
                    variables
           Product: Wine
           Version: 0.9.46.
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: P2
         Component: wine-console
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: sagrer at yandex.ru


My program (in Lazarus, compiled in WinXP) adds it's paths into User's PATH
environment variable. User's %PATH% variable stored in
HKEY_CURRENT_USER\Environment\PATH and global windows's variable is stored in
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session
Manager\Environment\PATH - by default a HKEY_CURRENT_USER\Environment is not
exists - so if i call "wine cmd" from bash, and then from cmd i call "path" or
"set" - it show's me a content of
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session
Manager\Environment\PATH 

But if i only create a HKEY_CURRENT_USER\Environment\PATH in registry - it
shows me only content of HKEY_CURRENT_USER\Environment\PATH, not any content
from HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session
Manager\Environment\PATH - but in windows XP it shows GlobalPath+";"+UserPath
in a same situation - of cource, it is not a greate problem to copy content
from GlobalPath to LocalPath (for example) manually, but i think that it is a
bug :)

I used 0.9.46 in Ubuntu 6.10 - 0.9.47 just released today - i looked into
changelog but it was no anything for %PATH% or Environment in changes from
0.9.46 to 0.9.47


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list