Installer: Error out when run on XP SP2

This commit is contained in:
Birunthan Mohanathas 2014-06-01 09:33:18 +03:00
parent 8fc6e5030c
commit cd01247250

View File

@ -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