From 4dfb4dafc5f732f00d565af2ef1f9d26c8c9b170 Mon Sep 17 00:00:00 2001 From: Useful Stuffs <157041205+usefulstuffs@users.noreply.github.com> Date: Thu, 28 Mar 2024 09:34:51 +0100 Subject: [PATCH] Add KB3102810 --- setup/DownloadVista7.nsh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup/DownloadVista7.nsh b/setup/DownloadVista7.nsh index 3cfe4e7..2ab58b2 100644 --- a/setup/DownloadVista7.nsh +++ b/setup/DownloadVista7.nsh @@ -94,6 +94,7 @@ FunctionEnd !insertmacro MSUHandler "KB4493730" "2019-04 Servicing Stack Update for Windows Server 2008" "Package_1_for_KB4493730" ; Windows 7 Servicing Stack Update +!insertmacro MSUHandler "KB3102810" "Update for Windows 7" "Package_for_KB3102810" !insertmacro MSUHandler "KB3138612" "2016-03 Servicing Stack Update for Windows 7" "Package_for_KB3138612" !insertmacro MSUHandler "KB4474419" "SHA-2 Code Signing Support Update for Windows 7" "Package_for_KB4474419" !insertmacro MSUHandler "KB4490628" "2019-03 Servicing Stack Update for Windows 7" "Package_for_KB3138612" @@ -128,15 +129,18 @@ Function NeedsWin7SHA2 ${If} $0 == 1 Push 0 ${Else} + Call NeedsKB3102810 Call NeedsKB3138612 Call NeedsKB4474419 Call NeedsKB4490628 Pop $0 Pop $1 Pop $2 + Pop $3 ${If} $0 == 1 ${OrIf} $1 == 1 ${OrIf} $2 == 1 + ${OrIf} $3 == 1 Push 1 ${Else} Push 0