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@winehq.org ReportedBy: sagrer@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
http://bugs.winehq.org/show_bug.cgi?id=10011
Sagrer sagrer@yandex.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sagrer@yandex.ru
http://bugs.winehq.org/show_bug.cgi?id=10011
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |minor Component|wine-console |wine-kernel
http://bugs.winehq.org/show_bug.cgi?id=10011
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #1 from Lei Zhang thestig@google.com 2007-10-20 02:38:49 --- Ya, it looks like, at least on XP, the path variable is a special case. Whereas for other variables, i.e. TEMP, the user's value overwrites the system's value.
I'll have a patch for this soon.
http://bugs.winehq.org/show_bug.cgi?id=10011
--- Comment #2 from Lei Zhang thestig@google.com 2007-10-20 02:58:53 --- Created an attachment (id=8672) --> (http://bugs.winehq.org/attachment.cgi?id=8672) patch for appending the user's path
Does this patch help?
http://bugs.winehq.org/show_bug.cgi?id=10011
James Hawkins truiken@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |ABANDONED
--- Comment #3 from James Hawkins truiken@gmail.com 2008-01-08 05:16:28 --- Abandoned.
http://bugs.winehq.org/show_bug.cgi?id=10011
James Hawkins truiken@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from James Hawkins truiken@gmail.com 2008-01-08 05:16:37 --- Closing.
http://bugs.winehq.org/show_bug.cgi?id=10011
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com Status|CLOSED |REOPENED Keywords| |patch Resolution|ABANDONED |
--- Comment #5 from Dan Kegel dank@kegel.com 2008-01-08 05:44:47 --- Hang on, we probably don't want to close bugs that have patches as abandoned? Let's reopen and add the patch keyword, and hope that Lei gets around to writing a testcase for that problem to go with his patch, and submits them both.
http://bugs.winehq.org/show_bug.cgi?id=10011
--- Comment #6 from James Hawkins truiken@gmail.com 2008-01-25 23:56:13 --- What's the status of this patch Lei?
http://bugs.winehq.org/show_bug.cgi?id=10011
--- Comment #7 from Lei Zhang thestig@google.com 2008-01-28 16:24:53 --- Haven't had time to work on it, maybe in a couple weeks...
[ad] after SCALE 6X - http://www.socallinuxexpo.org/ [/ad]
http://bugs.winehq.org/show_bug.cgi?id=10011
--- Comment #8 from Austin English austinenglish@gmail.com 2008-06-12 09:46:43 --- Is this still an issue in current (1.0-rc4 or newer) wine? Any progress on this Lei?
http://bugs.winehq.org/show_bug.cgi?id=10011
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thestig@google.com
http://bugs.winehq.org/show_bug.cgi?id=10011
--- Comment #9 from Austin English austinenglish@gmail.com 2009-02-16 01:59:36 --- Lei, ping.
http://bugs.winehq.org/show_bug.cgi?id=10011
--- Comment #10 from Dan Kegel dank@kegel.com 2009-02-16 08:12:55 --- [ad] after SCALE 6X - http://www.socallinuxexpo.org/ [/ad]
:-)
http://bugs.winehq.org/show_bug.cgi?id=10011
--- Comment #11 from Austin English austinenglish@gmail.com 2009-02-16 09:46:38 --- (In reply to comment #10)
[ad] after SCALE 6X - http://www.socallinuxexpo.org/ [/ad]
:-)
I think you mean 7X this time ;-).
http://bugs.winehq.org/show_bug.cgi?id=10011
--- Comment #12 from Dan Kegel dank@kegel.com 2009-02-16 09:55:46 --- Heh. I'll be sure to give him a noogie about this bug when I see him there.
http://bugs.winehq.org/show_bug.cgi?id=10011
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
--- Comment #13 from Austin English austinenglish@gmail.com 2009-08-26 12:16:06 --- Still present.
http://bugs.winehq.org/show_bug.cgi?id=10011
--- Comment #14 from Alexandre Julliard julliard@winehq.org 2010-01-28 08:58:14 --- *** Bug 21322 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=10011
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED
--- Comment #15 from Juan Lang juan_lang@yahoo.com 2010-01-28 18:58:12 --- Appears to have been fixed by commit 6beb82e2d6cc400c97fc654c2f157c217c4f87e4, please reopen if not.
http://bugs.winehq.org/show_bug.cgi?id=10011
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #16 from Alexandre Julliard julliard@winehq.org 2010-02-05 11:38:40 --- Closing bugs fixed in 1.1.38.