1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 03:35:53 +01:00

Fixed minimal Windows version check for Qt6 builds

This commit is contained in:
Martin Tůma 2024-01-21 16:04:59 +01:00
parent bc4bffdfe7
commit c9f44506e7

View File

@ -95,10 +95,17 @@ Var StartMenuFolder
!insertmacro MUI_LANGUAGE "English" !insertmacro MUI_LANGUAGE "English"
Function .onInit Function .onInit
!ifdef QT6
${IfNot} ${AtLeastWin10}
MessageBox MB_OK "GPXSee can only be installed on Windows 10 or later."
Abort
${EndIf}
!else
${IfNot} ${AtLeastWin7} ${IfNot} ${AtLeastWin7}
MessageBox MB_OK "GPXSee can only be installed on Windows 7 or later." MessageBox MB_OK "GPXSee can only be installed on Windows 7 or later."
Abort Abort
${EndIf} ${EndIf}
!endif
${If} ${RunningX64} ${If} ${RunningX64}
SetRegView 64 SetRegView 64