[Bug 43423] Multiple applications and games need 'ProgramData' environment variable set (SteelSeries Engine SDK based games, World of Warships 0.6.9+)

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Aug 14 14:29:11 CDT 2017


https://bugs.winehq.org/show_bug.cgi?id=43423

Stefan Dösinger <stefan at codeweavers.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |stefan at codeweavers.com

--- Comment #5 from Stefan Dösinger <stefan at codeweavers.com> ---
So I looked into what the correct way might be to set this. From searching the
Windows registry it seems that HKLM/Software/Microsoft/Windows
NT/CurrentVersion/ProfileList, value name ProgramData contains the value that
gets assigned to %ProgramData%. set_additional_environment in
kernel32/process.c already handles other values in this registry key.

Finally
https://msdn.microsoft.com/en-us/library/windows/desktop/dd378457(v=vs.85).aspx
suggest that FOLDERID_ProgramData now points to %ProgramData% instead of
%ALLUSERSPROFILE%\Application Data

What I am not sure about is how the existing values in the above mentioned
registry key are created. I can create the ProgramData value via
loader/wine.inf, but I am not convinced this is the correct way.
shell32/shellpath does not expand environment variables, so changing the
existing "Application Data" string does not do the right thing, and having the
string redundantly doesn't seem to be the correct approach either.

-- 
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