[REACTOS]
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Wed, 12 Feb 2014 20:03:57 +0000 (20:03 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Wed, 12 Feb 2014 20:03:57 +0000 (20:03 +0000)
Go fully to Win2k3 SP2 version reporting.
CORE-6611 #resolve #comment Fixed in r62140.

svn path=/trunk/; revision=62140

reactos/boot/bootdata/hivesys.inf
reactos/include/psdk/ntverp.h
reactos/ntoskrnl/ex/init.c

index 010a2ba..1dcaef5 100644 (file)
@@ -1143,8 +1143,8 @@ HKLM,"SYSTEM\CurrentControlSet\Control\ProductOptions","ProductSuite",0x00010002
 ; ReactOS specific - by default we report ourselves as Server for the user,
 ; but we can also report as Workstation if some application needs it.
 HKLM,"SYSTEM\CurrentControlSet\Control\ReactOS\Settings\Version","ReportAsWorkstation",0x00010001,0x00000000
-; Some installers check for SP1
-HKLM,"SYSTEM\CurrentControlSet\Control\Windows","CSDVersion",0x00010001,0x00000100
+; Some installers check for SP2
+HKLM,"SYSTEM\CurrentControlSet\Control\Windows","CSDVersion",0x00010001,0x00000200
 
 HKLM,"SYSTEM\CurrentControlSet\Control\SecurityProviders","SecurityProviders",2,"schannel.dll"
 HKLM,"SYSTEM\CurrentControlSet\Control\SecurityProviders\SaslProfiles",,0x00000012
index d52f29e..a3fd988 100644 (file)
  */
 
 //
-// Windows NT Build 3790.1830
+// Windows NT Build 3790.3959
 //
 #define VER_PRODUCTBUILD                    3790
-#define VER_PRODUCTBUILD_QFE                1830
+#define VER_PRODUCTBUILD_QFE                3959
 
 //
 // Windows NT Version 5.2
index 1d5b644..443c218 100644 (file)
@@ -1072,12 +1072,12 @@ ExpInitializeExecutive(IN ULONG Cpu,
     /* Setup initial system settings */
     CmGetSystemControlValues(LoaderBlock->RegistryBase, CmControlVector);
 
-    /* Load static defaults for Service Pack 1 and add our SVN revision */
+    /* Load static defaults for Service Pack 2 and add our SVN revision */
     /* Format of CSD : SPMajor - SPMinor */
-    CmNtCSDVersion = 0x100 | (KERNEL_VERSION_BUILD_HEX << 16);
+    CmNtCSDVersion = 0x200 | (KERNEL_VERSION_BUILD_HEX << 16);
     CmNtCSDReleaseType = 0;
 
-    /* Set Service Pack data for Service Pack 1 */
+    /* Set Service Pack data for Service Pack 2 */
     CmNtSpBuildNumber = VER_PRODUCTBUILD_QFE;
     if (!(CmNtCSDVersion & 0xFFFF0000))
     {