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
This commit is contained in:
anders_k 2016-06-18 20:59:33 +00:00
parent f6ae3a47e5
commit 7fff5828ad

View file

@ -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: