mirror of
https://github.com/LegacyUpdate/LegacyUpdate.git
synced 2025-01-22 22:22:20 -05:00
Link to WUR when run on an incompatible OS 🤝
This commit is contained in:
parent
d5881502b4
commit
6809f7ba8c
1 changed files with 8 additions and 1 deletions
|
@ -187,7 +187,14 @@ FunctionEnd
|
|||
|
||||
!macro EnsureAdminRights
|
||||
${IfNot} ${AtLeastWin2000}
|
||||
MessageBox MB_USERICON "Legacy Update requires at least Windows 2000." /SD IDOK
|
||||
MessageBox MB_USERICON|MB_OKCANCEL \
|
||||
"Legacy Update supports Windows 2000 and later.$\r$\n\
|
||||
$\r$\n\
|
||||
You might be interested in Windows Update Restored instead.$\r$\n\
|
||||
Would you like to go to http://windowsupdaterestored.com/ now?" \
|
||||
/SD IDCANCEL \
|
||||
IDCANCEL +2
|
||||
ExecShell "" "http://windowsupdaterestored.com/"
|
||||
SetErrorLevel ${ERROR_OLD_WIN_VERSION}
|
||||
Quit
|
||||
${EndIf}
|
||||
|
|
Loading…
Reference in a new issue