Skip to content
⌘ NSIS Forum Archive

Detect Windows 7

3 posts

Defcon0#

Detect Windows 7

Hello,

short question: is there already a way to detect that Windows 7 is running ?

Bye Defcon0
jpderuiter#
Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.
CrushBug#
NSIS\Include\WinVer.nsh

Modified from the existing example:
  ${If} ${IsWin7}
    DetailPrint "Running on Windows 7."
  ${EndIf} 
Always check the Include and Examples directories. =)