View Single Post
Old 19th June 2022, 20:10   #4
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,534
While you wait for the next release:

PHP Code:
!include WinVer.nsh
!define /IfNDef AtLeastWin11 'U>= WinVer_BuildNumCheck 22000'
!define /IfNDef AtMostWin11  'U<= WinVer_BuildNumCheck 22000' 

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote