From 7fff5828ad17e5f0a11e8c48db6c9fbc11fea10c Mon Sep 17 00:00:00 2001 From: anders_k Date: Sat, 18 Jun 2016 20:59:33 +0000 Subject: [PATCH] Changed the VER_NT_WORKSTATION comparison check to match the MSDN recommendation git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6757 212acab6-be3b-0410-9dea-997c60f758d6 --- Include/WinVer.nsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Include/WinVer.nsh b/Include/WinVer.nsh index e9d34657..facf28d0 100644 --- a/Include/WinVer.nsh +++ b/Include/WinVer.nsh @@ -300,7 +300,7 @@ Pop $0 # is server? - IntCmp $0 ${VER_NT_WORKSTATION} _winver_noserver _winver_noserver "" + IntCmp $0 ${VER_NT_WORKSTATION} _winver_noserver IntOp $__WINVERSP $__WINVERSP | ${_WINVER_NTSRVBIT} _winver_noserver: