- Set ProgramFiles, CommonProgramFiles environment variable
authorJohannes Anderwald <johannes.anderwald@reactos.org>
Tue, 15 Sep 2009 22:14:12 +0000 (22:14 +0000)
committerJohannes Anderwald <johannes.anderwald@reactos.org>
Tue, 15 Sep 2009 22:14:12 +0000 (22:14 +0000)
See issue #4008 for more details.

svn path=/trunk/; revision=43057

reactos/dll/win32/userenv/setup.c

index 24119d2..e6c4a92 100644 (file)
@@ -674,6 +674,10 @@ InitializeProfiles(VOID)
         }
     }
 
+    SetEnvironmentVariableW(L"ProgramFiles", szProfilesPath);
+    SetEnvironmentVariableW(L"CommonProgramFiles", szCommonFilesDirPath);
+
+
     DPRINT("Success\n");
 
     return TRUE;