[skip ci] nsis: Update message box for minimum supported os.

Separate message boxes for v1.4.0 and v1.6.0.
This commit is contained in:
lightningterror 2020-10-01 10:44:00 +02:00
parent 400ed82715
commit 3231e79566
1 changed files with 6 additions and 3 deletions

View File

@ -41,8 +41,11 @@ Name "${APP_NAME}"
Function IsUserAdmin
!include WinVer.nsh
# No user should ever have to experience this pain ;)
${IfNot} ${AtLeastWin8.1}
MessageBox MB_OK "Your operating system is unsupported by PCSX2. Please upgrade your operating system or install PCSX2."
${IfNot} ${AtLeastWinVista}
MessageBox MB_OK "Your operating system is unsupported by PCSX2. Please upgrade your operating system or install PCSX2 1.4.0."
Quit
${ElseIfNot} ${AtLeastWin8.1}
MessageBox MB_OK "Your operating system is unsupported by PCSX2. Please upgrade your operating system or install PCSX2 1.6.0."
Quit
${EndIf}
@ -61,7 +64,7 @@ Pop $UserPrivileges
${If} $UserPrivileges == "Admin"
StrCpy $IsAdmin 1
${ElseIf} $UserPrivileges == "User"
${ElseIf} $UserPrivileges == "User"
StrCpy $IsAdmin 0
${EndIf}
FunctionEnd