Archive: Detect Win98 Second Edition


Detect Win98 Second Edition
How can I detect if Windows 98 First or Second Edition is running. Please extend that Script from the help file or even implement a function like GetWindowsVersion in NSIS (that solution would be the best).
I need it, because WM9 can only be installed on Windows 98 SE or above.

Thanks a lot
Konrad


You can get the build number from the registry.


How can I do that. In which key is the build number stored. Which build numbers belong to Windows 98 SE?


You can find the build number in the About dialog of Windows.

I don't have a Win9x machine, but you can probably find it under HKLM\Software\Microsoft\Windows\CurrentVersion


Konrad,

the subkey Version contains 4.10.1998 on W98 First Edition and 4.10.2222 on W98 Second Edition.

With best regards,
~ Florian