mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-23 22:04:55 +02:00
Fix regression of installer which cannot be launched
The regression is due to commit "Drop XP in installer" (ca1bcb1ec0bedbb4aad227c369667aef30624618).
This commit is contained in:
parent
541b4d1c7a
commit
a4d7f77016
@ -127,19 +127,21 @@ Function preventInstallInWin9x
|
|||||||
MessageBox MB_OK "Notepad++ does not support your OS. The installation will be aborted."
|
MessageBox MB_OK "Notepad++ does not support your OS. The installation will be aborted."
|
||||||
Abort
|
Abort
|
||||||
|
|
||||||
StrCmp $WinVer "XP" 0 +3 ; XP
|
StrCmp $WinVer "XP" 0 xp_endTest ; XP
|
||||||
MessageBox MB_YESNO "This version of Notepad++ doesn't support Windows XP. The installation will be aborted.$\nDo you want to go to Notepad++ download page for downloading the last version which supports XP (v7.9.2)?" IDYES xp_openDlPage IDNO xp_goQuit
|
MessageBox MB_YESNO "This version of Notepad++ doesn't support Windows XP. The installation will be aborted.$\nDo you want to go to Notepad++ download page for downloading the last version which supports XP (v7.9.2)?" IDYES xp_openDlPage IDNO xp_goQuit
|
||||||
xp_openDlPage:
|
xp_openDlPage:
|
||||||
ExecShell "open" "https://notepad-plus-plus.org/downloads/v7.9.2/"
|
ExecShell "open" "https://notepad-plus-plus.org/downloads/v7.9.2/"
|
||||||
xp_goQuit:
|
xp_goQuit:
|
||||||
Abort
|
Abort
|
||||||
|
xp_endTest:
|
||||||
|
|
||||||
StrCmp $WinVer "2003" 0 +3 ; Windows Server 2003
|
StrCmp $WinVer "2003" 0 ws2003_endTest ; Windows Server 2003
|
||||||
MessageBox MB_YESNO "This version of Notepad++ doesn't support Windows Server 2003. The installation will be aborted.$\nDo you want to go to Notepad++ download page for downloading the last version which supports this OS?" IDYES ws2003_openDlPage IDNO ws2003_goQuit
|
MessageBox MB_YESNO "This version of Notepad++ doesn't support Windows Server 2003. The installation will be aborted.$\nDo you want to go to Notepad++ download page for downloading the last version which supports this OS?" IDYES ws2003_openDlPage IDNO ws2003_goQuit
|
||||||
ws2003_openDlPage:
|
ws2003_openDlPage:
|
||||||
ExecShell "open" "https://notepad-plus-plus.org/downloads/v7.9.2/"
|
ExecShell "open" "https://notepad-plus-plus.org/downloads/v7.9.2/"
|
||||||
ws2003_goQuit:
|
ws2003_goQuit:
|
||||||
Abort
|
Abort
|
||||||
|
ws2003_endTest:
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
|
|
||||||
Var noUserDataChecked
|
Var noUserDataChecked
|
||||||
|
Loading…
x
Reference in New Issue
Block a user