Skip to content

Commit

Permalink
feat: update links and informationa about vcredist
Browse files Browse the repository at this point in the history
  • Loading branch information
Xyueta committed Oct 6, 2023
1 parent 40dd4ad commit 3ed81fa
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions src/playbook/Executables/SOFTWARE.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -56,20 +56,19 @@ $legacyArgs2 = '/q /norestart'
$modernArgs = "/install /quiet /norestart"

$vcredists = @{
# 2005
"https://download.microsoft.com/download/8/B/4/8B42259F-5D70-43F4-AC2E-4B208FD8D66A/vcredist_x64.EXE" = $legacyArgs1
# 2008
# 2005 - version 8.0.50727.6195 (MSI 8.0.61000/8.0.61001)
"https://download.microsoft.com/download/8/B/4/8B42259F-5D70-43F4-AC2E-4B208FD8D66A/vcredist_x64.exe" = $legacyArgs1
# 2008 - version 9.0.30729.6161 (EXE 9.0.30729.5677) SP1
"https://download.microsoft.com/download/5/D/8/5D8C65CB-C849-4025-8E95-C3966CAFD8AE/vcredist_x64.exe" = $legacyArgs1
# 2010
"https://download.microsoft.com/download/1/6/5/165255E7-1014-4D0A-B094-B6A430A6BFFC/vcredist_x64.exe" = $legacyArgs2
# 2012
# 2010 - version 10.0.40219.473 SP1
"https://download.microsoft.com/download/E/E/0/EE05C9EF-A661-4D9E-BCE2-6961ECDF087F/vcredist_x64.exe" = $legacyArgs2
# 2012 - version 11.0.61030.0
"https://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/vcredist_x64.exe" = $modernArgs
# 2013
# 2013 - version 12.0.40664.0
"https://aka.ms/highdpimfc2013x64enu" = $modernArgs
# 2015+
# 2015-2022 (2015+) - latest version
"https://aka.ms/vs/17/release/vc_redist.x64.exe" = $modernArgs
}

$num = 0; foreach ($a in $vcredists.GetEnumerator()) {
$num++; $vcredist = "$tempDir\vcredist$num.exe"
# curl is faster than Invoke-WebRequest
Expand Down

0 comments on commit 3ed81fa

Please sign in to comment.