/
vcredist2010.json
27 lines (27 loc) · 1.45 KB
/
vcredist2010.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
"version": "10.0.40219.473",
"description": "Microsoft Visual C++ Redistributable for Visual Studio 2010",
"homepage": "https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads",
"license": {
"identifier": "Freeware",
"url": "https://www.microsoft.com/en-us/legal/intellectualproperty/copyright/default.aspx"
},
"notes": "You can now remove this installer with 'scoop uninstall vcredist2010'",
"url": [
"https://download.microsoft.com/download/E/E/0/EE05C9EF-A661-4D9E-BCE2-6961ECDF087F/vcredist_x64.exe",
"https://download.microsoft.com/download/E/E/0/EE05C9EF-A661-4D9E-BCE2-6961ECDF087F/vcredist_x86.exe"
],
"hash": [
"7ba40e8c2dbcec6d0b83b94e719ea9291c2ebc4fd9d4f34dce6f852739841ed7",
"1df24320ae1b974a42fc37f852d962c0e2f0e62bb339585fc862bb15d5a5d216"
],
"post_install": [
"# For error codes, see https://docs.microsoft.com/en-us/windows/win32/msi/error-codes",
"$ec = @{",
" 1638 = 'This product is already installed';",
" 3010 = 'A restart is required to complete the installation';",
"}",
"Invoke-ExternalCommand -FilePath \"$dir\\vcredist_x64.exe\" -ArgumentList '/fo', '/quiet', '/norestart' -ContinueExitCodes $ec -RunAs | Out-Null",
"Invoke-ExternalCommand -FilePath \"$dir\\vcredist_x86.exe\" -ArgumentList '/fo', '/quiet', '/norestart' -ContinueExitCodes $ec -RunAs | Out-Null"
]
}