!include WinVer.nsh
!include LogicLib.nsh
Function .onInit
${If} ${IsWinXP} ; or use ${AtMostWinXP} instead
MessageBox MB_OK "Does not work on XP"
Quit
${Else}
MessageBox MB_OK "Looking good, sir!"
${EndIf}
FunctionEnd
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more