Skip to content
⌘ NSIS Forum Archive

How to identify OS in nsi script

3 posts

jitinsingla#

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
MSG#
This question has been asked maybe hundreds of times before. If you had searched, you would have found it.

You can use x64.nsh.