[Bug 16246] Setting WINEPATH has no effect.

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Nov 28 14:56:19 CST 2008


Aziz Köksal <aziz.koeksal at gmail.com> changed:

           What    |Removed                     |Added
             Status|CLOSED                      |UNCONFIRMED
         Resolution|INVALID                     |

--- Comment #3 from Aziz Köksal <aziz.koeksal at gmail.com>  2008-11-28 14:56:19 ---
(In reply to comment #1)
> WINEPATH is not used anywhere within Wine. Where did you found that Wine uses
> If you want to alter PATH withing Wine you will have to do it the same way as
> windows - via registry.
> Closing invalid

Yes it is, at least it was in older versions of wine. For example, see

I don't appreciate it at all that this bug has been marked invalid almost
instantly. I would like to have a discussion, because I think this is a
necessary feature. The alternative way to set PATH using regedit is not
acceptable in all situations. Especially not when you have to run Windows
programs from bash or python scripts and don't want to alter the PATH variable
Consider what you have to do in a script: currently you have to create a
temporary registry file, then call wine regedit.exe on it (which can't even
read reg files from stdin), but then you have a problem because you can't
restore the original PATH variable anymore. There is probably a solution to
this, but I'm sure it's definately not as easy as just setting WINEPATH and let
wine handle this.

To my mind having support for WINEPATH would be a very welcome feature. It's
strange that it somehow disappeared in the newer versions. Can we have it back,

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