Andrew Nguyen : wine.inf: Add CommonProgramFiles system environment variable.

Alexandre Julliard julliard at winehq.org
Mon Jan 4 10:54:14 CST 2010


Module: wine
Branch: master
Commit: c4ffbade8671d519b7dcf8f8737b670826b61a85
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c4ffbade8671d519b7dcf8f8737b670826b61a85

Author: Andrew Nguyen <arethusa26 at gmail.com>
Date:   Thu Dec 31 07:58:50 2009 -0600

wine.inf: Add CommonProgramFiles system environment variable.

---

 dlls/userenv/tests/userenv.c |    2 +-
 tools/wine.inf.in            |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/userenv/tests/userenv.c b/dlls/userenv/tests/userenv.c
index 9003354..39c1bbf 100644
--- a/dlls/userenv/tests/userenv.c
+++ b/dlls/userenv/tests/userenv.c
@@ -95,7 +95,7 @@ static void test_create_env(void)
         { "ALLUSERSPROFILE", { 1, 1, 0, 0 } },
         { "TEMP", { 1, 1, 0, 0 } },
         { "TMP", { 1, 1, 0, 0 } },
-        { "CommonProgramFiles", { 1, 1, 1, 1 } },
+        { "CommonProgramFiles", { 1, 1, 0, 0 } },
         { "ProgramFiles", { 1, 1, 0, 0 } }
     };
     static const struct profile_item htok_vars[] = {
diff --git a/tools/wine.inf.in b/tools/wine.inf.in
index cb33038..e03a7e4 100644
--- a/tools/wine.inf.in
+++ b/tools/wine.inf.in
@@ -453,6 +453,7 @@ HKLM,Software\Microsoft\DirectPlay\Service Providers\Serial Connection For Direc
 HKLM,Software\Microsoft\DirectPlay\Service Providers\Serial Connection For DirectPlay,"Path",,"dpmodemx.dll"
 
 [Environment]
+HKLM,System\CurrentControlSet\Control\Session Manager\Environment,"CommonProgramFiles",,"%16427%"
 HKLM,System\CurrentControlSet\Control\Session Manager\Environment,"ComSpec",0x00020000,"%11%\cmd.exe"
 HKLM,System\CurrentControlSet\Control\Session Manager\Environment,"PATH",0x00020002,"%11%;%10%;%11%\wbem"
 HKLM,System\CurrentControlSet\Control\Session Manager\Environment,"PATHEXT",,".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH"




More information about the wine-cvs mailing list