From cd01247250c4ea9fdfd5b50bc7d547de61d9a6c5 Mon Sep 17 00:00:00 2001 From: Birunthan Mohanathas Date: Sun, 1 Jun 2014 09:33:18 +0300 Subject: [PATCH] Installer: Error out when run on XP SP2 --- Build/Installer/Installer.nsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Build/Installer/Installer.nsi b/Build/Installer/Installer.nsi index 11f925d7..f3d0aa8c 100644 --- a/Build/Installer/Installer.nsi +++ b/Build/Installer/Installer.nsi @@ -108,11 +108,11 @@ Function .onInit ${IfNot} ${UAC_IsInnerInstance} ${If} ${IsWin2000} ${OrIf} ${IsWinXP} - ${AndIf} ${AtMostServicePack} 1 + ${AndIf} ${AtMostServicePack} 2 ${OrIf} ${IsWin2003} ${AndIf} ${AtMostServicePack} 0 ${IfNot} ${Silent} - MessageBox MB_OK|MB_ICONSTOP "Rainmeter requires Windows XP SP2 or later." + MessageBox MB_OK|MB_ICONSTOP "Rainmeter requires Windows XP SP3 or later." ${EndIf} SetErrorLevel ${ERROR_UNSUPPORTED} Quit