Created
October 12, 2015 14:03
-
-
Save Ovis/089bbe6e810ee044cf6b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$client = new-object System.Net.WebClient | |
New-Item -Path C:\Temp -ItemType directory | |
#Visual C++ 2005 SP1 再頒布可能ライブラリ | |
$client.DownloadFile("http://download.microsoft.com/download/8/B/4/8B42259F-5D70-43F4-AC2E-4B208FD8D66A/vcredist_x64.exe","C:\Temp\vcredist_x64_2005_1.exe") | |
C:\Temp\vcredist_x64_2005_1.exe /q | |
$client.DownloadFile("http://download.microsoft.com/download/0/d/8/0d8a1fc4-50f5-4017-879b-e1f5b55bae36/vcredist_x86.exe","C:\Temp\vcredist_x86_2005.exe") | |
C:\Temp\vcredist_x86_2005.exe /q:a /c:"VCREDI~2.EXE /q:a /c:""msiexec /i vcredist.msi /qn"" " | |
$client.DownloadFile("http://download.microsoft.com/download/1/8/e/18ea5601-3cd3-4597-b38a-c8c38f3390f4/vcredist_x64.exe","C:\Temp\vcredist_x64_2005.exe") | |
C:\Temp\vcredist_x64_2005.exe /q:a /c:"VCREDI~2.EXE /q:a /c:""msiexec /i vcredist.msi /qn"" " | |
#Visual C++ 2008 SP1 再頒布可能ライブラリ | |
$client.DownloadFile("http://download.microsoft.com/download/1/b/2/1b2312a1-b2e5-479c-9103-d9616e6761d9/vcredist_x86.exe","C:\Temp\vcredist_x86_2008.exe") | |
C:\Temp\vcredist_x86_2008.exe /q | |
$client.DownloadFile("http://download.microsoft.com/download/7/8/7/787633d5-fdd6-424b-8576-e7bf382a7f46/vcredist_x64.exe","C:\Temp\vcredist_x64_2008.exe") | |
C:\Temp\vcredist_x64_2008.exe /q | |
#Microsoft Visual C++ 2010 SP1 再頒布可能パッケージ | |
$client.DownloadFile("http://download.microsoft.com/download/C/6/D/C6D0FD4E-9E53-4897-9B91-836EBA2AACD3/vcredist_x86.exe","C:\Temp\vcredist_x86_2010.exe") | |
C:\Temp\vcredist_x86_2010.exe /q | |
$client.DownloadFile("http://download.microsoft.com/download/A/8/0/A80747C3-41BD-45DF-B505-E9710D2744E0/vcredist_x64.exe","C:\Temp\vcredist_x64_2010.exe") | |
C:\Temp\vcredist_x64_2010.exe /q | |
#Visual Studio 2012 更新プログラム 4 の Visual C++ 再頒布可能パッケージ | |
$client.DownloadFile("http://download.microsoft.com/download/C/A/F/CAF5E118-4803-4D68-B6B5-A1772903D119/VSU4/vcredist_x86.exe","C:\Temp\vcredist_x86_2012.exe") | |
C:\Temp\vcredist_x86_2012.exe /q | |
$client.DownloadFile("http://download.microsoft.com/download/C/A/F/CAF5E118-4803-4D68-B6B5-A1772903D119/VSU4/vcredist_x64.exe","C:\Temp\vcredist_x64_2012.exe") | |
C:\Temp\vcredist_x64_2012.exe /q | |
$client.DownloadFile("http://download.microsoft.com/download/C/6/D/C6DF4616-2D85-43AD-A4FF-C9DC1F94D026/vcredist_x86.exe","C:\Temp\vcredist_x86_2013.exe") | |
C:\Temp\vcredist_x86_2013.exe /q | |
$client.DownloadFile("http://download.microsoft.com/download/C/6/D/C6DF4616-2D85-43AD-A4FF-C9DC1F94D026/vcredist_x64.exe","C:\Temp\vcredist_x64_2013.exe") | |
C:\Temp\vcredist_x64_2013.exe /q | |
$client.DownloadFile("http://download.microsoft.com/download/8/B/4/8B42259F-5D70-43F4-AC2E-4B208FD8D66A/vcredist_x64.exe","C:\Temp\vcredist_x64_2013_.exe") | |
C:\Temp\vcredist_x64_2013_.exe /q |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment