Need help with check windows version
Hi All,
I have a program has two EXEs, one for non-unicode (9x), the other one for UNICODE OS (NT 2K ..).
Now I am using NSIS to install one of this EXE base on the type of OS. Could anyone tell me how can I do it with NSIS? I am looking into function GetWindowsVersion() function of NSIS, but not sure if it is a right function to use.
I basicly want to check if the Windows support UNICODE, what I know is only NT and above (2000, XP, Longhon and any future versions) support UNICODE. So I need a logic to tell if the system is NT or above (including future versions: longhon), then I can decide which EXE need to be installed.
You help will greatly appreciated.
Ming