nsis: allow Win10 versions back to 1607

This commit is contained in:
toofar 2023-08-12 16:51:46 +12:00
parent c1841c7948
commit 6f7b76f066
2 changed files with 3 additions and 3 deletions

View File

@ -88,7 +88,7 @@ Removed
* Qt 6.4 was the latest version to support macOS 10.14 and 10.15.
* It should be possible to build a custom .dmg with Qt 6.4, but this is
unsupported and not recommended.
- Support for Windows 8 and for Windows 10 before 1809 is now dropped.
- Support for Windows 8 and for Windows 10 before 1607 is now dropped.
* Support for older Windows 10 versions might still be present in Qt 6.0/6.1/6.2
* Support for Windows 8.1 is still present in Qt 5.15
* It should be possible to build a custom .exe with those versions, but this

View File

@ -442,14 +442,14 @@ Function .onInit
GetWinVer $R1 Build
${If} $R1 >= 22000 ; Windows 11 21H2
Goto _os_check_pass
${ElseIf} $R1 >= 17763 ; Windows 10 1809
${ElseIf} $R1 >= 14393 ; Windows 10 1607
${AndIf} ${IsNativeAMD64} ; Windows 10 has no x86_64 emulation on arm64
Goto _os_check_pass
${EndIf}
${EndIf}
_os_check_fail:
MessageBox MB_OK|MB_ICONSTOP "This version of ${PRODUCT_NAME} requires a 64-bit$\r$\n\
version of Windows 10 1809 or later."
version of Windows 10 1607 or later."
Abort
_os_check_pass: