次の方法で共有


Windows 10 バージョン 21H2 のパッケージ 10 中に Visual Studio のインストールが停止する

現象

Windows 10 バージョン 21H2 コンピューターに Visual Studio をインストールすると、パッケージ 10 のインストール中に停止し、 setup.exeのイベント ビューアーに次のメッセージが表示されます。

Log Name: Application
Source: Application Hang
Event ID: 1002
Task Category: Hanging Events
Level: Error
Keywords: Classic
User: N/A
Description: The program setup.exe version 3.4.2246.31370 stopped interacting with Windows and was closed. To see if more information about the problem is available, check the problem history in the Security and Maintenance control panel.
Event Xml: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="Application Hang"/> <EventID Qualifiers="0">1002</EventID>

この問題は、Visual Studio インストーラーが破損しているか、起動に失敗した場合にも発生する可能性があります。

解決方法

この問題を解決するには、次の手順を実行します:

  1. Visual Studio インストーラー アプリケーションをアンインストールします。
  2. C:\Program Files (x86)\Microsoft Visual Studio\Installer にあるフォルダーとその内容を削除します。
  3. Visual Studio ページに移動し使用しているエディションをダウンロードします。
  4. 管理者として Visual Studio セットアップを実行します。