Hi,
On Tue, Oct 21, 2003 at 11:25:55AM +0100, Mike Hearn wrote:
IE setup needs this, and really, there's not much difference between them. I would change this in the code, but I don't know where this key is referenced.
Emulate win98 and DOS 6.11 by default
Index: documentation/samples/config
RCS file: /home/wine/wine/documentation/samples/config,v retrieving revision 1.52 diff -u -r1.52 config --- documentation/samples/config 16 Oct 2003 19:09:57 -0000 1.52 +++ documentation/samples/config 21 Oct 2003 10:19:26 -0000 @@ -77,9 +77,9 @@
[Version] ; Windows version to imitate (win95,win98,winme,nt351,nt40,win2k,winxp,win2k3,win20,win30,win31) -;"Windows" = "win98" +"Windows" = "win98" ; DOS version to imitate -;"DOS" = "6.22" +"DOS" = "6.22"
Please DON'T do this. These are FORCED, GLOBAL values, as such they are highly evil (since that way the whole version detection mechanism gets disabled and many programs which need other values cannot have their version guessed properly any more).
Instead, the default fallback values in the version code should probably be changed to refer to Win98 to make sure we do use Win98 in case we cannot guess any value (if they are not already, but they might still be at Win95). Note that the version code has some straw man default values which are NOT the real defaults if you analyse the code path properly.
And if IE setup still doesn't run after having changed the default guesstimate to Win98, tough luck: you'll have to force version Win98 manually (or implement a smarter version detection mechanism that takes some observations and transforms them into a Win98 version value).
And we should also indicate in the sample config file that actually setting these will override any and all intelligent(?) version detection mechanisms... (if only to prevent other people from attempting the same mistake as you ;)
On Tue, 2003-10-21 at 12:01, Andreas Mohr wrote:
Please DON'T do this. These are FORCED, GLOBAL values, as such they are highly evil (since that way the whole version detection mechanism gets disabled and many programs which need other values cannot have their version guessed properly any more).
Oops, I forgot that Wine has autodetection magic for this.
Instead, the default fallback values in the version code should probably be changed to refer to Win98 to make sure we do use Win98 in case we cannot guess any value (if they are not already, but they might still be at Win95).
Well, where is this code? I have no idea even how apps are supposed to get the version, except I know there are many different ways to do it.
And we should also indicate in the sample config file that actually setting these will override any and all intelligent(?) version detection mechanisms... (if only to prevent other people from attempting the same mistake as you ;)
Yes, it's rather non-obvious