service pack info for wine's --winver nt40?

Art Hughes art at qualcircuit.com
Fri Aug 10 01:35:09 CDT 2001


Hey I finaly found the problem :)
The install sheild and it seems many other windoz programs look for the
OS version in the registry.
On my system it looks in ~/.wine/system.reg for :

	[Software\\Microsoft\\Windows NT\\CurrentVersion] 997331021
	"CSDVersion"="Service Pack 6"

which I set up with 'wine --managed regedit.exe', I used the service
pack
my dlls came from.
Thanks for all the help,
Art

Ville Herva wrote:
> 
> In article <9kqr7n$q03$2 at sun27.hrz.tu-darmstadt.de>, Uwe Bonnes wrote:
> > Art Hughes <art at qualcircuit.com> wrote:
> > : Hi,
> > : I'm trying to install OrCAD's eCapture in a no-windows environment.
> > : When I invoke the install shield with 'wine --winver nt40 Setup.exe' The
> > : shield reports 'service pack 0 requires at least service pack 3'.
> >
> > : How do I trick the shield or any other windoz program to view wine's
> > : nt40 emulation having a specific service pack.
> >
> > Debug it by tracing what leadsd to this message, e.g. by running with
> > --debugmsg +relay  and piping the output in a file. If the message above
> > pops up with a messagebox, search for "messagebox" and "call"  in the output
> > file and try to understand the commands above and find out what brings the
> > program to spit out that message.
> 
> The program propably uses GetVersionEx() to get the Service Pack info:
> 
> http://msdn.microsoft.com/library/default.asp?
> url=/library/en-us/sysinfo/hh/sysmgmt/sysinfo_49iw.asp
> 
> You might tweak it to return "Service Pack 6" or something.
> 
> -- v --
> 
> v at iki.fi



More information about the wine-users mailing list