From 8cbbabc6334c878f138dcbb9e7263b45bdd6579d Mon Sep 17 00:00:00 2001 From: Joppe Catsburg Date: Fri, 19 Oct 2018 10:22:46 +0200 Subject: [PATCH] Work around Boxstarter issue for KB packages --- manual/kb2670838/Tools/ChocolateyInstall.ps1 | 2 +- manual/kb2670838/kb2670838.nuspec | 2 +- manual/kb2999226/kb2999226.nuspec | 3 ++- manual/kb2999226/tools/chocolateyinstall.ps1 | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/manual/kb2670838/Tools/ChocolateyInstall.ps1 b/manual/kb2670838/Tools/ChocolateyInstall.ps1 index 5b5e35b5821..a8000130e4a 100644 --- a/manual/kb2670838/Tools/ChocolateyInstall.ps1 +++ b/manual/kb2670838/Tools/ChocolateyInstall.ps1 @@ -16,4 +16,4 @@ $servicePackRequirements = @{ '6.1' = @{ ServicePackNumber = 1; ChocolateyPackage = 'KB976932' } } -Install-WindowsUpdate -Id 'KB2670838' -MsuData $msuData -ChecksumType 'sha256' -ServicePackRequirements $servicePackRequirements +chocolateyInstaller\Install-WindowsUpdate -Id 'KB2670838' -MsuData $msuData -ChecksumType 'sha256' -ServicePackRequirements $servicePackRequirements diff --git a/manual/kb2670838/kb2670838.nuspec b/manual/kb2670838/kb2670838.nuspec index 97413d91346..2d2343408a8 100644 --- a/manual/kb2670838/kb2670838.nuspec +++ b/manual/kb2670838/kb2670838.nuspec @@ -3,7 +3,7 @@ KB2670838 - 1.0.20170428 + 1.0.20181019 https://github.com/chocolatey/chocolatey-coreteampackages/tree/master/manual/kb2670838 chocolatey Platform update for Windows 7 SP1 and Windows Server 2008 R2 SP1 diff --git a/manual/kb2999226/kb2999226.nuspec b/manual/kb2999226/kb2999226.nuspec index 04c798c4c00..269d145b535 100644 --- a/manual/kb2999226/kb2999226.nuspec +++ b/manual/kb2999226/kb2999226.nuspec @@ -3,7 +3,7 @@ KB2999226 - 1.0.20170509 + 1.0.20181019 Update for Universal C Runtime in Windows (KB2999226) Microsoft chocolatey,RB @@ -16,6 +16,7 @@ This update applies to the following operating systems: Windows Server 2012 R2 Datacenter, Windows Server 2012 R2 Standard, Windows Server 2012 R2 Essentials, Windows Server 2012 R2 Foundation, Windows 8.1 Enterprise, Windows 8.1 Pro, Windows 8.1, Windows RT 8.1, Windows Server 2012 Datacenter, Windows Server 2012 Standard, Windows Server 2012 Essentials, Windows Server 2012 Foundation, Windows 8 Enterprise, Windows 8 Pro, Windows 8, Windows RT, Windows Server 2008 R2 Service Pack 1, Windows 7 Service Pack 1, Windows Server 2008 Service Pack 2, Windows Vista Service Pack 2 Update for Universal C Runtime (CRT) in Windows. Before you install this update, check out the prerequisites section. +* 1.0.20181019: Ensure the correct Install-WindowsUpdate function is called (work around [Boxstarter issue](https://github.com/chocolatey/boxstarter/issues/293)) * 1.0.20170509: Fixed KB id in install script * 1.0.20170422: Changed to use chocolatey-windowsupdate.extension * 1.0.20161201: Fixed installation for windows 10 versions diff --git a/manual/kb2999226/tools/chocolateyinstall.ps1 b/manual/kb2999226/tools/chocolateyinstall.ps1 index b799609a5d9..869721d400d 100644 --- a/manual/kb2999226/tools/chocolateyinstall.ps1 +++ b/manual/kb2999226/tools/chocolateyinstall.ps1 @@ -48,4 +48,4 @@ $servicePackRequirements = @{ '6.1' = @{ ServicePackNumber = 1; ChocolateyPackage = 'KB976932' } } -Install-WindowsUpdate -Id 'KB2999226' -MsuData $msuData -ChecksumType 'sha256' -ServicePackRequirements $servicePackRequirements +chocolateyInstaller\Install-WindowsUpdate -Id 'KB2999226' -MsuData $msuData -ChecksumType 'sha256' -ServicePackRequirements $servicePackRequirements