Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
timmy-wright committed Jan 17, 2025
1 parent f81f12d commit 10a4e8e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions vhdbuilder/packer/configure-windows-vhd.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,11 @@ function Install-WindowsPatches {
3010 {
WRite-Log "Finished install of $fileName. Reboot required"
}
2359302 {
# https://learn.microsoft.com/en-gb/windows/win32/wua_sdk/wua-success-and-error-codes-?redirectedfrom=MSDN
# this number is 0x00240006 and means already installed
Write-Log "The update was already installed. Ignoring $fileName"
}
default {
Write-Log "Error during install of $fileName. ExitCode: $($proc.ExitCode)"
throw "Error during install of $fileName. ExitCode: $($proc.ExitCode)"
Expand Down

0 comments on commit 10a4e8e

Please sign in to comment.