diff options
author | Martijn Kaijser <mcm.kaijser@gmail.com> | 2017-04-11 17:55:48 +0200 |
---|---|---|
committer | Martijn Kaijser <mcm.kaijser@gmail.com> | 2017-04-11 17:55:48 +0200 |
commit | 543816eea6985da07f3c69474a1d4780a4577382 (patch) | |
tree | 8f6b52eae8678e819c5a53b906945f72ed81d8b2 /project | |
parent | 7392884f11c8d0c731ebb6087360341a3ed651f1 (diff) |
[win32] Bye bye Windows Vista
Diffstat (limited to 'project')
-rw-r--r-- | project/Win32BuildSetup/genNsisInstaller.nsi | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/project/Win32BuildSetup/genNsisInstaller.nsi b/project/Win32BuildSetup/genNsisInstaller.nsi index d1c92bc54b..6b2bf8b7e1 100644 --- a/project/Win32BuildSetup/genNsisInstaller.nsi +++ b/project/Win32BuildSetup/genNsisInstaller.nsi @@ -331,24 +331,16 @@ SectionEnd SectionGroupEnd Function .onInit - ; WinVista SP2 is minimum requirement - ${IfNot} ${AtLeastWinVista} - ${OrIf} ${IsWinVista} - ${AndIfNot} ${AtLeastServicePack} 2 - MessageBox MB_OK|MB_ICONSTOP|MB_TOPMOST|MB_SETFOREGROUND "Windows Vista SP2 or above required.$\nInstall Service Pack 2 for Windows Vista and run setup again." - Quit - ${EndIf} ; Win7 SP1 is minimum requirement - ${If} ${IsWin7} + ${IfNot} ${AtLeastWin7} + ${OrIf} ${IsWin7} ${AndIfNot} ${AtLeastServicePack} 1 MessageBox MB_OK|MB_ICONSTOP|MB_TOPMOST|MB_SETFOREGROUND "Windows 7 SP1 or above required.$\nInstall Service Pack 1 for Windows 7 and run setup again." Quit ${EndIf} Var /GLOBAL HotFixID - ${If} ${IsWinVista} - StrCpy $HotFixID "971644" ; Platform Update for Windows Vista SP2 - ${ElseIf} ${IsWin7} + ${If} ${IsWin7} StrCpy $HotFixID "2670838" ; Platform Update for Windows 7 SP1 ${Else} StrCpy $HotFixID "" |