PATCH: add Win95 OSR2 to versions

David Elliott dfe at tgwbd.org
Tue Oct 23 17:21:44 CDT 2001


On 2001.10.23 13:55 Marcus Meissner wrote:
> Hi,
> 
> There was following change to misc/version.c:
>     revision 1.44
>     date: 2001/07/27 23:57:38;  author: julliard;  state: Exp;  lines: +1
> -1
>     Bob Goodwin <goodie1 at pacbell.net>
>     Fix the 16bit win95 version.
> 
> This makes for instance InstallShield, that uses DOS3CALLs to check for
> win95,
> report a Bad Windows Version. (Installer of Monkey Island 3)
> 
> Reference wine-devel post is:
>     http://www.winehq.com/hypermail/wine-devel/2001/07/0085.html
> 
> If there is a testprogram, I can still boot Windows 95...
> 
> Ciao, Marcus
> 
> Changelog:
> 	revert 16bit win95 version back to original value. Fixes
> 	InstallShield installer version check.
> 

Your changelog is incorrect.. That is actually the DOS version you are
changing, not the Windows version.

Furthermore, here is a patch to go along with this that implements
Win95OSR2 version.  I have had this in my tree for MONTHS but never
submitted it.

This is REQURIED for some programs because the DOS for OSR2 is 7.1 and the
DOS for Win95 Gold (MSes term for the original relase) is 7.0.  I think I
added it specifically so I could run COMMAND.COM (well, at least get past
incorrect DOS version).  This goes true for all of the DOS utils from
95OSR2.

Honestly, Win95OSR2 should have been called Windows 96 and released as an
actual product, it is completely different from original win95 in many core
areas (But not in any UI ways, hence MSes logic of well, nobody will notice
the difference by looking at it, better keep it as the same product).

Changelog:
	Add Windows 95 OSR2 version info

-Dave

P.S.  Sorry about the extra .txt extension, seems that Balsa uses it to
determine whether the file is application/octet-stream or text/plain and I
wanted it to be text/plain (will figure this out later).
-------------- next part --------------
Index: version.c
===================================================================
RCS file: /home/wine/wine/misc/version.c,v
retrieving revision 1.47
diff -u -3 -r1.47 version.c
--- version.c	2001/10/08 22:30:34	1.47
+++ version.c	2001/10/23 20:50:00
@@ -28,6 +28,7 @@
     WIN30,   /* Windows 3.0 */
     WIN31,   /* Windows 3.1 */
     WIN95,   /* Windows 95 */
+    WIN95OSR2,   /* Windows 95 */
     WIN98,   /* Windows 98 */
  /* insert Windows ME here as WINME if needed */
     NT351,   /* Windows NT 3.51 */
@@ -85,6 +86,15 @@
             VER_PLATFORM_WIN32_WINDOWS, "Win95"
 	}
     },
+    /* WIN95OSR2 */
+    {
+        0x070A5F03,
+        0xC0000004,
+	{
+            sizeof(OSVERSIONINFOA), 4, 0, 0x4000457,
+            VER_PLATFORM_WIN32_WINDOWS, "Win95 b"
+	}
+    },
     /* WIN98 */
     {
 	0x070A5F03,
@@ -129,6 +139,7 @@
     "win30",
     "win31",
     "win95",
+    "win95osr2",
     "win98",
     "nt351",
     "nt40",


More information about the wine-patches mailing list