Hi,
I've an issue with sysinfo.dll under Windows 2000 (SP4).
When I try to get Major and Minor version of the OS, function GetSystemVersionValue return "MajorVersion" for the Major number and "MinorVersion" for the minor number.
My nsis source code :
sysinfo::GetSystemVersionValue 'MajorVersion'
sysinfo::GetSystemVersionValue 'MinorVersion'
Pop $1
Pop $0
MessageBox MB_OK 'Major: $0$\nMinor: $1$\n
The result in the Messagebox with Windows 2000:
Major: MajorVersion
Minor: MinorVersion
It work fine under Windows XP:
Major: 5
Minor: 1
Can someone help me ?
Thanks.
Issue with GetSystemVersionValue
6 posts
Few links to sysinfo problem threads
You can use forum search for sysinfo keyword
Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.
Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.
You can use forum search for sysinfo keyword
Same result.
It's like if "GetSystemVersionValue" push the parameter in the stack and return.
It's like if "GetSystemVersionValue" push the parameter in the stack and return.
Sorry, I edited my previous post. Forum search gives few related threads.
Thanks takhir.
Finally I solved the problem by building a new plugin DLL which returns only what I need (Minor, Major and ServicePack version).
Now it works fine under all windows.
Finally I solved the problem by building a new plugin DLL which returns only what I need (Minor, Major and ServicePack version).
Now it works fine under all windows.
Will you be submitting your plugin for others to use?
-Stu
-Stu