Archive: Getting Windows Version from NSIS


Getting Windows Version from NSIS
Is there any possibility of getting Windows OS version from NSIS

If any one has any idea on this kindly help me..


WinVer.nsh


How to use that file to get the windows version from my NSI file.
please help me...


if you just need to check for a minimum version of windows, just use that header, if you need the actual version numbers, you can copy the system::call logic from that header or use http://nsis.sourceforge.net/Version_plug-in or read it from the registry or probably even doing GetDLLVersion on kernel32.dll


Alternative: http://nsis.sf.net/GetVersion_plug-in

Stu


Another alternative : http://nsis.sourceforge.net/WmiInspector_plug-in (WmiInspector plug-in)