mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 15:21:30 +02:00
win installer: abort installation on unsupported version
This commit is contained in:
@@ -23,6 +23,7 @@ Unicode true
|
||||
!include Sections.nsh
|
||||
!include MUI2.nsh
|
||||
!include x64.nsh
|
||||
!include WinVer.nsh
|
||||
|
||||
# Variables
|
||||
Var StartMenuGroup
|
||||
@@ -112,6 +113,10 @@ Function .onInit
|
||||
MessageBox MB_OK|MB_ICONSTOP "Cannot install 64-bit version on a 32-bit system."
|
||||
Abort
|
||||
${EndIf}
|
||||
${If} ${AtMostWin8.1}
|
||||
MessageBox MB_OK|MB_ICONSTOP "This version of Windows is not supported. Upgrade to Windows 10 or later."
|
||||
Abort
|
||||
${EndIf}
|
||||
FunctionEnd
|
||||
|
||||
# Uninstaller functions
|
||||
|
||||
Reference in New Issue
Block a user