OSDN Git Service

Updated copyright year.
[x264-launcher/x264-launcher.git] / etc / setup / setup.nsi
index a7a3d85..4244e6e 100644 (file)
@@ -1,6 +1,6 @@
 ; ///////////////////////////////////////////////////////////////////////////////
 ; // Simple x264 Launcher
-; // Copyright (C) 2004-2017 LoRd_MuldeR <MuldeR2@GMX.de>
+; // Copyright (C) 2004-2019 LoRd_MuldeR <MuldeR2@GMX.de>
 ; //
 ; // This program is free software; you can redistribute it and/or modify
 ; // it under the terms of the GNU General Public License as published by
@@ -127,7 +127,7 @@ VIAddVersionKey "Comments" "This program is free software; you can redistribute
 VIAddVersionKey "CompanyName" "Free Software Foundation"
 VIAddVersionKey "FileDescription" "Simple x264 Launcher [Build #${X264_BUILD}]"
 VIAddVersionKey "FileVersion" "${PRODUCT_VERSION_DATE}.${X264_BUILD}"
-VIAddVersionKey "LegalCopyright" "Copyright 2004-2017 LoRd_MuldeR"
+VIAddVersionKey "LegalCopyright" "Copyright 2004-2019 LoRd_MuldeR"
 VIAddVersionKey "LegalTrademarks" "GNU"
 VIAddVersionKey "OriginalFilename" "x264_x64.${X264_DATE}.exe"
 VIAddVersionKey "ProductName" "Simple x264 Launcher"
@@ -317,35 +317,21 @@ Function .onInit
                Quit
        ${EndIf}
 
-       # Running on Windows XP or later?
-       ${If} ${AtMostWin2000}
-               MessageBox MB_TOPMOST|MB_ICONSTOP "Sorry, but your operating system is *not* supported anymore.$\nInstallation will be aborted!$\n$\nThe minimum required platform is Windows XP (Service Pack 3)."
+       # Running on Windows Vista or later?
+       ${If} ${AtMostWinXP}
+               MessageBox MB_TOPMOST|MB_ICONSTOP "Sorry, but your operating system is *not* supported anymore.$\nInstallation will be aborted!$\n$\nThe minimum supported platform is Windows Vista (Service Pack 2)."
                ExecShell "open" "http://windows.microsoft.com/"
                Quit
        ${EndIf}
 
-       # If on Windows XP, is the required Service Pack installed?
-       ${If} ${IsWinXP}
-               ${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
+       # If on Windows Vista, is the required Service Pack installed?
+       ${If} ${IsWinVista}
+       ${AndIf} ${AtMostServicePack} 1
+               MessageBox MB_TOPMOST|MB_ICONEXCLAMATION "This application requires Windows Vista with Service Pack 2 installed."
+               ${If} ${Cmd} `MessageBox MB_TOPMOST|MB_ICONQUESTION|MB_YESNO "Do you want to download Service Pack 2 for Windows Vista now?" IDYES`
+                       ExecShell "open" "https://www.microsoft.com/en-us/download/details.aspx?id=16468"
                ${EndIf}
+               Quit
        ${EndIf}
 
        ; --------