トップ回答者
Visual Studio 2017がエラーが出てしまってインストールできない。

質問
-
Visual Studio 2017をアップデートしたのですが、ブルー・スクリーンでクラッシュして再びインストールしようとすると、
https://answers.microsoft.com/ja-jp/windows/forum/windows_7-winapps/visual-studio/e1096405-3d1a-46b0-9280-5e18463a6c95?auth=1&rtAction=1504509860486
の方と同じ症状になりました。
そのサイトの回答にあった方法を試したのですが、やはりだめでした。
そこで、そのサイトの方に変わって質問させていただきます。
何か解決方法はないのでしょうか?
回答
-
その後の調べで、なんとか解決いたしました。
C:\ProgramData\Microsoft\VisualStudio
を削除すればだいたい治ると思います。
- 回答としてマーク 立花楓Microsoft employee, Moderator 2017年9月11日 5:17
すべての返信
-
似たような話は挙がっていますが、解決していませんね。
https://developercommunity.visualstudio.com/content/problem/98074/cannot-install-vs-2017-a-product-matching-the-foll.html開発チームの方も解決のための情報がないようなので、ご自身で Issue として report し、必要な情報提供を試みてください。
- 回答の候補に設定 立花楓Microsoft employee, Moderator 2017年9月6日 5:59
-
以前に書いたページの、Report a problem というボタンを押して表示される説明に従ってください。
バグに名前をつけるというのは、開発者チームからするとノイズに過ぎないので、そういった飾り付けはせず、シンプルにきちんとまとめるべきです。
開発チームにストレスを感じさせるような内容を書いても仕方がないので…。
- 編集済み AzuleanMVP, Moderator 2017年9月5日 13:06
-
その後の調べで、なんとか解決いたしました。
C:\ProgramData\Microsoft\VisualStudio
を削除すればだいたい治ると思います。
- 回答としてマーク 立花楓Microsoft employee, Moderator 2017年9月11日 5:17
-
下記URLに概ね公式と思われる内容を見つけたので、参考に案内させていただきます。
要点は下記のとおりです。VS2017のエディションは Enterprise 向けの説明ですが、全エディション共通の内容と理解しています。私が使っているのは Pro ですが、この内容で回復できました。
Please follow the cleanup steps and retry your VS install
- See if you have this file on your machine: "%programfiles(x86)%\Microsoft Visual Studio\Installer\resources\app\layout\InstallCleanup.exe"
- If so, please launch it from an admin command prompt with a -full param:
- If not, please manually delete the "%programfiles(x86)%\Microsoft Visual Studio\Installer” folder
- Relaunch the newly downloaded vs_enterprise.exe (or vs_professional.exe or vs_community.exe…)
- Allow the first step to install the installer
- Once the installer comes up and you can see workload choices (.net desktop and the like), close it
- Go launch the same InstallCleanup.exe to clean up old build of VS
- Then relaunch vs_enterprise.exe and install VS
InstallCleanup.exe -full
- 回答の候補に設定 立花楓Microsoft employee, Moderator 2017年10月17日 4:28