Re: shell32: set %AllUsersProfile%, and fix shell folder registration
--- Alexandre Julliard <julliard(a)winehq.org> wrote:
It's not a c:\windows, it's a %10%. setupapi takes care of putting the right value in there (defaulting to c:\windows if nothing else is specified).
All I see in dirid.c is a call to GetWindowsDirectoryW. That, in turn, checks %windir%. So the windows directory appears to be set on a per-process basis, not on a per-install basis. This doesn't strike me as correct. --Juan __________________________________ Do you Yahoo!? Make Yahoo! your home page http://www.yahoo.com/r/hs
Juan Lang <juan_lang(a)yahoo.com> writes:
All I see in dirid.c is a call to GetWindowsDirectoryW. That, in turn, checks %windir%. So the windows directory appears to be set on a per-process basis, not on a per-install basis. This doesn't strike me as correct.
The variable is set from the registry, so all processes get the same value. The only time windir is really taken from the environment is on the very first run when the registry is empty, which will be the wine.inf registration. This allows you to create an initial registry with a specific windir (which defaults to c:\windows of course). -- Alexandre Julliard julliard(a)winehq.org
participants (2)
-
Alexandre Julliard -
Juan Lang