environment-priority

Detlef Riekenberg wine.dev at web.de
Sat May 21 07:04:30 CDT 2005


Hi

While working with wine, I found the way how wine handles the
environment.

example for "TMP":
1. HCU\Environment\TMP
2. HKLM\System\CurrentControlSet\Control\Session Manager\Environment\TMP
3. $WINETMP
4. $WINEPREFIX/config (TEMP)
5. Buildin Default (c:\windows\temp)

During "wineprefixcreate", "TMP" and "TEMP" are created for entry 2
(HKLM\..) from entry 4 ($WINEPREFIX/config : TEMP) with a fallback to
entry 5 (c:\windows\temp), but entry 3 ($WINETMP) is ignored.

When I delete the entry 2 (HKLM\..), then entry 3 is used ($WINETMP).


IMHO, "$WINETMP" should overwrite all other locations.


PS: Tested only "WINETMP", but there are also $WINETEMP, WINEHOME and
WINEPATH.


-- 
By By ...
      ... Detlef




More information about the wine-devel mailing list