Archive: How to identify OS in nsi script


How to identify OS in nsi script
Hi All,

I am creating a nsi script that shall install the app either on a 32 bit Win XP or a 64 bit Win 7. Is there a way to identify the underlying OS/system so that i install different set of files on different OS?

Thanks
Jitin


This question has been asked maybe hundreds of times before. If you had searched, you would have found it.

You can use x64.nsh.


And WinVer.nsh

Stu