Improved installer operating system check to include Windows XP x64 Edition.
This commit is contained in:
parent
75c0b29558
commit
66920db9d8
@ -291,17 +291,28 @@ Function .onInit
|
||||
Quit
|
||||
${EndIf}
|
||||
|
||||
# If on Windows XP, is Service Pack 3 installed?
|
||||
# If on Windows XP, is the required Service Pack installed?
|
||||
${If} ${IsWinXP}
|
||||
${AndIf} ${AtMostServicePack} 2
|
||||
${AndIfNot} ${RunningX64}
|
||||
MessageBox MB_TOPMOST|MB_ICONEXCLAMATION "This application requires Windows XP with Service Pack 3 installed.$\nWindows XP *without* Service Pack 3 reached end-of-life on 2010-07-13.$\nCurrent Windows XP (Service Pack 3) will be supported until 2014-04-08.$\n$\nPlease install Service Pack 3 now or just run Windows Update!"
|
||||
${If} ${Cmd} `MessageBox MB_TOPMOST|MB_ICONQUESTION|MB_YESNO "Do you want to download Service Pack 3 for Windows XP now?" IDYES`
|
||||
ExecShell "open" "http://www.microsoft.com/en-us/download/details.aspx?id=24"
|
||||
${Else}
|
||||
ExecShell "open" "http://windowsupdate.microsoft.com/"
|
||||
${IfNot} ${RunningX64} # Windows XP 32-Bit, requires Service Pack 3
|
||||
${AndIf} ${AtMostServicePack} 2
|
||||
MessageBox MB_TOPMOST|MB_ICONEXCLAMATION "This application requires Windows XP with Service Pack 3 installed.$\nWindows XP *without* Service Pack 3 reached end-of-life on 2010-07-13.$\nCurrent Windows XP (Service Pack 3) will be supported until 2014-04-08.$\n$\nPlease install Service Pack 3 now or just run Windows Update!"
|
||||
${If} ${Cmd} `MessageBox MB_TOPMOST|MB_ICONQUESTION|MB_YESNO "Do you want to download Service Pack 3 for Windows XP now?" IDYES`
|
||||
ExecShell "open" "http://www.microsoft.com/en-us/download/details.aspx?id=24"
|
||||
${Else}
|
||||
ExecShell "open" "http://windowsupdate.microsoft.com/"
|
||||
${EndIf}
|
||||
Quit
|
||||
${EndIf}
|
||||
${If} ${RunningX64} # Windows XP 64-Bit, requires Service Pack 2
|
||||
${AndIf} ${AtMostServicePack} 1
|
||||
MessageBox MB_TOPMOST|MB_ICONEXCLAMATION "This application requires Windows XP x64 Edition with Service Pack 2 installed.$\nWindows XP x64 Edition *without* Service Pack 2 reached end-of-life on 2009-04-14.$\nCurrent Windows XP x64 Edition (Service Pack 2) will be supported until 2014-04-08.$\n$\nPlease install Service Pack 2 now or just run Windows Update!"
|
||||
${If} ${Cmd} `MessageBox MB_TOPMOST|MB_ICONQUESTION|MB_YESNO "Do you want to download Service Pack 2 for Windows XP x64 Edition now?" IDYES`
|
||||
ExecShell "open" "http://www.microsoft.com/en-us/download/details.aspx?id=17791"
|
||||
${Else}
|
||||
ExecShell "open" "http://windowsupdate.microsoft.com/"
|
||||
${EndIf}
|
||||
Quit
|
||||
${EndIf}
|
||||
Quit
|
||||
${EndIf}
|
||||
|
||||
; --------
|
||||
|
Loading…
x
Reference in New Issue
Block a user