mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-22 19:49:28 +00:00
win installer: abort installation on unsupported version
This commit is contained in:
parent
425468b2bb
commit
89bd748956
1 changed files with 5 additions and 0 deletions
|
@ -23,6 +23,7 @@ Unicode true
|
||||||
!include Sections.nsh
|
!include Sections.nsh
|
||||||
!include MUI2.nsh
|
!include MUI2.nsh
|
||||||
!include x64.nsh
|
!include x64.nsh
|
||||||
|
!include WinVer.nsh
|
||||||
|
|
||||||
# Variables
|
# Variables
|
||||||
Var StartMenuGroup
|
Var StartMenuGroup
|
||||||
|
@ -112,6 +113,10 @@ Function .onInit
|
||||||
MessageBox MB_OK|MB_ICONSTOP "Cannot install 64-bit version on a 32-bit system."
|
MessageBox MB_OK|MB_ICONSTOP "Cannot install 64-bit version on a 32-bit system."
|
||||||
Abort
|
Abort
|
||||||
${EndIf}
|
${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
|
FunctionEnd
|
||||||
|
|
||||||
# Uninstaller functions
|
# Uninstaller functions
|
||||||
|
|
Loading…
Reference in a new issue