Author: janderwald
Date: Wed Sep 16 00:14:12 2009
New Revision: 43057
URL:
http://svn.reactos.org/svn/reactos?rev=43057&view=rev
Log:
- Set ProgramFiles, CommonProgramFiles environment variable
See issue #4008 for more details.
Modified:
trunk/reactos/dll/win32/userenv/setup.c
Modified: trunk/reactos/dll/win32/userenv/setup.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/userenv/setup.c?…
==============================================================================
--- trunk/reactos/dll/win32/userenv/setup.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/userenv/setup.c [iso-8859-1] Wed Sep 16 00:14:12 2009
@@ -674,6 +674,10 @@
}
}
+ SetEnvironmentVariableW(L"ProgramFiles", szProfilesPath);
+ SetEnvironmentVariableW(L"CommonProgramFiles", szCommonFilesDirPath);
+
+
DPRINT("Success\n");
return TRUE;