Skip to content

Commit

Permalink
Add KB2919442 as .NET 4.6 prerequisites
Browse files Browse the repository at this point in the history
KB2919355 is a prerequisites of .NET46 but it requires KB2919442.
Fix #24!
  • Loading branch information
Annih committed Jul 18, 2016
1 parent ef695ce commit 4aa80d3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion libraries/package_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,13 @@ def packages
checksum: x64? ? 'bf850afc7e7987d513fd2c19c9398d014bcbaaeb1691357fa0400529975edace' : '41e675937d023828d648c7a245e19695ed12f890c349d8b6f2b620e6e58e038e',
not_if: 'reg query "HKLM\SOFTWARE\Microsoft\Updates\Microsoft .NET Framework 4.6\KB3083186" | FindStr /Ec:"ThisVersionInstalled +REG_SZ +Y"',
},
'KB2919442' => {
name: 'Update for Microsoft Windows (KB2919442)',
url: x64? ? 'https://download.microsoft.com/download/D/6/0/D60ED3E0-93A5-4505-8F6A-8D0A5DA16C8A/Windows8.1-KB2919442-x64.msu'
: 'https://download.microsoft.com/download/9/D/A/9DA6C939-9E65-4681-BBBE-A8F73A5C116F/Windows8.1-KB2919442-x86.msu',
options: '/norestart /quiet',
checksum: x64? ? 'c10787e669b484674584a990e069295e8b81b5366f98508010a3ae181b729482' : '3368c3a329f402fd982b15b399368627b96973f008a5456b5286bdfc10c1169b',
},
'KB2919355' => {
name: 'Update for Microsoft Windows (KB2919355)',
url: x64? ? 'https://download.microsoft.com/download/2/5/6/256CCCFB-5341-4A8D-A277-8A81B21A1E35/Windows8.1-KB2919355-x64.msu'
Expand All @@ -118,7 +125,7 @@ def packages
when 6.2
{ '4.5.2' => 'KB2901982', '4.6' => 'KB3045562', '4.6.1' => 'KB3102439' }
when 6.3
{ '4.5.2' => 'KB2934520', '4.6' => 'KB3045563', '4.6.1' => 'KB3102467', 'KB2919355' => 'KB2919355' }
{ '4.5.2' => 'KB2934520', '4.6' => 'KB3045563', '4.6.1' => 'KB3102467', 'KB2919442' => 'KB2919442', 'KB2919355' => 'KB2919355' }
when 10
{ '4.6.1' => 'KB3102495' }
else
Expand Down
2 changes: 1 addition & 1 deletion libraries/v4_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def package_setup
def prerequisite_names
@patch_names ||= case nt_version
when 6.3
prerequisites_46 = %w(KB2919355)
prerequisites_46 = %w(KB2919442 KB2919355)
{ '4.6' => prerequisites_46, '4.6.1' => prerequisites_46 }
else
{}
Expand Down

0 comments on commit 4aa80d3

Please sign in to comment.