Update WinVer Win10

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7128 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2019-10-21 23:21:57 +00:00
parent d3554ebdb1
commit 4c7f46920b

View file

@ -20,6 +20,7 @@
; AtMostWin<version> checks if the installer is running on Windows version at most as specified.
; AtLeastBuild <number> checks if the installer is running on a Windows version with a minimum build number.
; AtMostBuild <number> checks if the installer is running on a Windows version with a maximum build number.
; AtLeastWaaS <name> and AtMostWaaS <name> checks Windows 10 "friendly names" against the build number.
;
; <version> can be replaced with the following values:
;
@ -538,7 +539,9 @@
!insertmacro WinVer_WaaS "${id}" 16299 1709 "Redstone 3" "Fall Creators Update"
!insertmacro WinVer_WaaS "${id}" 17134 1803 "Redstone 4" "April 2018 Update"
!insertmacro WinVer_WaaS "${id}" 17763 1809 "Redstone 5" "October 2018 Update"
;insertmacro WinVer_WaaS "${id}" ????? 1903 "19H1" "?"
!insertmacro WinVer_WaaS "${id}" 18362 1903 "19H1" "May 2019 Update"
!insertmacro WinVer_WaaS "${id}" 18363 1909 "19H2" "November 2019 Update"
;insertmacro WinVer_WaaS "${id}" ????? 20?? "20H1" "????"
!ifmacrodef WinVerExternal_WaaS_MapToBuild
!insertmacro WinVerExternal_WaaS_MapToBuild ${op} "${id}" WinVer_WaaS_Build
!endif