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

Hans Leidekker hans at codeweavers.com
Wed Oct 2 09:04:19 CDT 2013


---
 tools/wine.inf.in | 14 ++++++++++++--
 1 file 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"
-- 
1.8.1.5






More information about the wine-patches mailing list