Skip to content
⌘ NSIS Forum Archive

detect different OS

4 posts

insolit#

detect different OS

Hi to all!

I'd like to know how could i set my script to detect the version of OS, if it is Windows XP or different then windows XP, so that i could have a different installation program for each case.
Could someone help me out? 🙂
kichik#
See GetWindowsVersion in Appendix B of the documentation. You can compare the result to Windows XP and do what's needed for each case.
icebrrrg#
there are also examples of how to do exactly what you're looking for, in the archives ... browse through, looking for "how do i detect if ... is installed?"

-m-