From 6f7b76f06602f22eed83fc24b8c2c78442199bc1 Mon Sep 17 00:00:00 2001 From: toofar Date: Sat, 12 Aug 2023 16:51:46 +1200 Subject: nsis: allow Win10 versions back to 1607 --- doc/changelog.asciidoc | 2 +- misc/nsis/install.nsh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/changelog.asciidoc b/doc/changelog.asciidoc index 5deb381f7..96a4b42e7 100644 --- a/doc/changelog.asciidoc +++ b/doc/changelog.asciidoc @@ -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 diff --git a/misc/nsis/install.nsh b/misc/nsis/install.nsh index df830cb63..dffe707c5 100755 --- a/misc/nsis/install.nsh +++ b/misc/nsis/install.nsh @@ -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: -- cgit v1.2.3-54-g00ecf