mirror of https://github.com/PCSX2/pcsx2.git
[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:
parent
400ed82715
commit
3231e79566
|
@ -41,8 +41,11 @@ Name "${APP_NAME}"
|
||||||
Function IsUserAdmin
|
Function IsUserAdmin
|
||||||
!include WinVer.nsh
|
!include WinVer.nsh
|
||||||
# No user should ever have to experience this pain ;)
|
# No user should ever have to experience this pain ;)
|
||||||
${IfNot} ${AtLeastWin8.1}
|
${IfNot} ${AtLeastWinVista}
|
||||||
MessageBox MB_OK "Your operating system is unsupported by PCSX2. Please upgrade your operating system or install PCSX2."
|
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
|
Quit
|
||||||
${EndIf}
|
${EndIf}
|
||||||
|
|
||||||
|
@ -61,7 +64,7 @@ Pop $UserPrivileges
|
||||||
|
|
||||||
${If} $UserPrivileges == "Admin"
|
${If} $UserPrivileges == "Admin"
|
||||||
StrCpy $IsAdmin 1
|
StrCpy $IsAdmin 1
|
||||||
${ElseIf} $UserPrivileges == "User"
|
${ElseIf} $UserPrivileges == "User"
|
||||||
StrCpy $IsAdmin 0
|
StrCpy $IsAdmin 0
|
||||||
${EndIf}
|
${EndIf}
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
|
|
Loading…
Reference in New Issue