LoginSignup
2
0

More than 5 years have passed since last update.

インスールしたてのWindows Server 2012R2に「Visual Studio 2015 の Visual C++」するとインストール失敗する

Last updated at Posted at 2018-06-28

インスールしたてのWindows Server 2012R2に
「Visual Studio 2015 の Visual C++」するとインストール失敗する

原因はWindowsUpdateを行っていない事が原因のようだが、
検証環境の構築等で

WindowsUpdateを一から全てインストールする時間がない!

という場合は
特定のWindowsUpdateだけを手動でインストールする事で
「Visual Studio 2015 の Visual C++」をインストール可能にします。

手順は下記の通り

1.Windows8.1-KB2919442-x64.msuを実行する

(下記のURLよりダウンロード)
https://www.microsoft.com/en-us/download/details.aspx?id=42153

2.KB2919355をアンインストールする

管理者プロンプトから「dism /online /remove-package /packagename:Package_for_KB2919355~31bf3856ad364e35~amd64~~6.3.1.14」を実行する

3.StartComponentCleanup タスクによる、不要な更新プログラムの削除を実行する

管理者プロンプトから「dism /online /cleanup-image /startcomponentcleanup」を実行する

4.Windows8.1-KB2919355-x64.msuを実行する

(下記のURLよりダウンロード)
https://www.microsoft.com/en-us/download/details.aspx?id=42334

5.Windows8.1-KB2999226-x64.msuを実行する

(下記のURLよりダウンロード)
https://www.microsoft.com/ja-JP/download/details.aspx?id=49063

6.Windows8.1-KB3118401-x64.msuを実行する

(下記のURLよりダウンロード)
https://www.microsoft.com/en-us/download/details.aspx?id=51171

7.vc_redist.x64.exeを実行する

(下記のURLよりダウンロード)
https://www.microsoft.com/ja-jp/download/details.aspx?id=48145

以上で終了。

Apache 2.4の実行に「Visual Studio 2015 の Visual C++」が必要となる為、
インストールしようとしたが、失敗した為、上記の方法で解消
Apache 2.4の起動まで確認済

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0