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

Ville Herva vherva at
Thu Aug 9 02:45:05 CDT 2001

In article <9kqr7n$q03$2 at>, Uwe Bonnes wrote:
> Art Hughes <art at> 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:

You might tweak it to return "Service Pack 6" or something.

-- v --

v at

More information about the wine-users mailing list