Hans Leidekker : wine.inf: Initialize 64-bit prefixes with the right Windows version.

Alexandre Julliard julliard at winehq.org
Wed Oct 2 15:49:13 CDT 2013


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

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Wed Oct  2 16:04:19 2013 +0200

wine.inf: Initialize 64-bit prefixes with the right Windows version.

---

 tools/wine.inf.in |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/tools/wine.inf.in b/tools/wine.inf.in
index fcd32cf..357b35c 100644
--- a/tools/wine.inf.in
+++ b/tools/wine.inf.in
@@ -97,7 +97,7 @@ AddReg=\
     SessionMgr,\
     Tapi,\
     Timezones,\
-    VersionInfo
+    VersionInfo.ntamd64
 
 [Wow64Install]
 RegisterDlls=RegisterDllsSection
@@ -111,7 +111,7 @@ AddReg=\
     MCI,\
     Misc,\
     Tapi,\
-    VersionInfo
+    VersionInfo.ntamd64
 
 [DefaultInstall.Services]
 AddService=BITS,0,BITSService
@@ -3028,6 +3028,16 @@ HKLM,%Control%\ProductOptions,"ProductType",2,"WinNT"
 HKLM,%Control%\Windows,"CSDVersion",0x10003,0x300
 HKLM,%Control%\Session Manager\Environment,"OS",2,"Windows_NT"
 
+[VersionInfo.ntamd64]
+HKLM,%CurrentVersionNT%,"CurrentVersion",2,"5.2"
+HKLM,%CurrentVersionNT%,"CSDVersion",2,"Service Pack 1"
+HKLM,%CurrentVersionNT%,"CurrentBuildNumber",2,"3790"
+HKLM,%CurrentVersionNT%,"CurrentType",2,"Uniprocessor Free"
+HKLM,%CurrentVersionNT%,"ProductName",2,"Microsoft Windows XP"
+HKLM,%Control%\ProductOptions,"ProductType",2,"WinNT"
+HKLM,%Control%\Windows,"CSDVersion",0x10003,0x100
+HKLM,%Control%\Session Manager\Environment,"OS",2,"Windows_NT"
+
 [Wow64]
 ; Wow6432Node symlinks
 HKLM,Software\Classes\Wow6432Node\AppId,"SymbolicLinkValue",0x60000,"\Registry\Machine\Software\Classes\AppId"




More information about the wine-cvs mailing list