Konrad
14th April 2003 11:12 UTC
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
Joost Verburg
14th April 2003 14:30 UTC
You can get the build number from the registry.
Konrad
14th April 2003 17:31 UTC
How can I do that. In which key is the build number stored. Which build numbers belong to Windows 98 SE?
Joost Verburg
14th April 2003 19:17 UTC
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
F. Heidenreich
14th April 2003 20:27 UTC
Konrad,
the subkey Version contains 4.10.1998 on W98 First Edition and 4.10.2222 on W98 Second Edition.
With best regards,
~ Florian