none
Visual Studio Community 2017 がインストールできない RRS feed

  • 質問

  • タイトルの通り、Visual Studio Community 2017 をインストールしようとしたのですが、

    「申し訳ございません。製品定義を読み込めませんでした。」

    と表示され、インストールすることができません。なお、その際の画像はここに直接載せることができなかったので、以下のリンクに示します。

    (画像のリンク→https://www.fastpic.jp/images.php?file=9321049061.jpg)

    OSはWindows7 (64bit) 、インストーラーはMicrosoft公式サイトからダウンロードしました「vs_Community.exe」を用いました。(ダウンロード元のリンク→https://www.visualstudio.com/ja/thank-you-downloading-visual-studio/?sku=Community&rel=15)

    なお、インストーラーのファイル名が「vs_Community__(version number)」.exe」となっている、との情報も見かけましたが、自分の環境では先に示した通りのファイル名でした。

    どなたか、解決方法が分かる方がいらっしゃいましたら、お教えいただけると幸いです。

    また、インストールしようとした際に生成されたログファイル(「dd_client_20170617153133.log」)がありますので、以下に示します。


    (---ここからログファイル---)

    2017-06-17T15:31:33 : Verbose : Visual Studio Installer (1.10.30640.0 : update2) ["C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\vs_installershell.exe","/finalizeInstall","install","--in","C:\\ProgramData\\Microsoft\\VisualStudio\\Packages\\_bootstrapper\\vs_setup_bootstrapper.json","--locale","ja-JP","--activityId","c86f4622-7e0d-4402-8e50-17dd45fcf1ee"]
    2017-06-17T15:31:34 : Verbose : Creating VS Telemetry Survey
    2017-06-17T15:31:35 : Verbose : Received the application ready notification
    2017-06-17T15:31:35 : Verbose : Starting ServiceHub Experimentation client.
    2017-06-17T15:31:38 : Error : Experiments Ipc Service creation failed.
     error: [undefined] Request locate failed with message: Cannot execute 'getHostId'. The underlying stream has closed. at undefined
    2017-06-17T15:31:38 : Verbose : ExperimentsIpcRpcService listening to ipc channel: ExperimentsProxy
    2017-06-17T15:31:38 : Verbose : Experiments Ipc Service started.
    2017-06-17T15:31:38 : Verbose : Telemetry Session ID: c107bc6d-f604-4c56-81cd-741dcfd9eb89
    2017-06-17T15:31:39 : Verbose : Getting installed product summaries. [installerId: SetupEngine]
    2017-06-17T15:31:39 : Verbose : Starting the installed products provider service.
    2017-06-17T15:31:39 : Verbose : Starting the products provider service.
    2017-06-17T15:31:39 : Verbose : Getting product summaries. [installerId: SetupEngine]
    2017-06-17T15:31:39 : Verbose : Starting the installer service.
    2017-06-17T15:31:40 : Verbose : Calling SetupEngine.Installer.Initialize. [locale: ja-JP]
    2017-06-17T15:31:40 : Verbose : Connected to Hub Controller's client watch 'net.pipe://1d38952e49c1071b00075089ecf61f62'
    2017-06-17T15:31:41 : Verbose : SetupEngine.Installer.Initialize succeeded. [locale: ja-JP]
    2017-06-17T15:31:41 : Verbose : Started the installer service.
    2017-06-17T15:31:41 : Verbose : Calling SetupEngine.Installer.IsElevated.
    2017-06-17T15:31:41 : Verbose : SetupEngine.Installer.IsElevated succeeded.
    2017-06-17T15:31:45 : Verbose : [InstallerImpl]: Rpc connection was closed.
    2017-06-17T15:31:45 : Error : The installer service stream was closed.
    2017-06-17T15:31:45 : Verbose : [ProductsProviderImpl]: Rpc connection was closed.
    2017-06-17T15:31:45 : Error : Failed to start the products provider service. error: Cannot execute 'Initialize'. The underlying stream has closed. at Error: Cannot execute 'Initialize'. The underlying stream has closed.
        at Function.JsonRpcConnection.createStreamClosedError (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\microsoft-servicehub\jsonRpc.js:127:22)
        at JsonRpcConnection.cancelPendingRequests (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\microsoft-servicehub\jsonRpc.js:101:69)
        at JsonRpcConnection.onConnectionClosed (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\microsoft-servicehub\jsonRpc.js:123:14)
        at CallbackList.invoke (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\vscode-jsonrpc\lib\events.js:103:39)
        at Emitter.fire (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\vscode-jsonrpc\lib\events.js:167:36)
        at closeHandler (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\vscode-jsonrpc\lib\main.js:70:26)
        at CallbackList.invoke (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\vscode-jsonrpc\lib\events.js:103:39)
        at Emitter.fire (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\vscode-jsonrpc\lib\events.js:167:36)
        at StreamMessageWriter.AbstractMessageWriter.fireClose (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\vscode-jsonrpc\lib\messageWriter.js:38:27)
        at Socket.<anonymous> (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\vscode-jsonrpc\lib\messageWriter.js:61:62)
        at emitOne (events.js:101:20)
        at Socket.emit (events.js:188:7)
        at Pipe._handle.close [as _onclose] (net.js:492:12)
    From previous event:
        at Function.defer (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:582:19)
        at JsonRpcConnection.sendRequest (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\microsoft-servicehub\jsonRpc.js:45:28)
        at ProductsProviderImpl.ServiceHubClient.invoke (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\lib\service-hub\service-hub-client.js:57:26)
        at C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\lib\SetupEngine\ProductsProvider.js:39:47
        at ProductsProviderImpl.initialize (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\lib\SetupEngine\ProductsProvider.js:34:16)
        at C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\lib\SetupEngine\ProductsProvider.js:167:34
        at _fulfilled (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:834:54)
        at self.promiseDispatch.done (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:863:30)
        at Promise.promise.promiseDispatch (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:796:13)
        at C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:604:44
        at runSingle (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:137:13)
        at flush (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:125:13)
        at _combinedTickCallback (internal/process/next_tick.js:67:7)
        at process._tickCallback (internal/process/next_tick.js:98:9)
    2017-06-17T15:31:45 : Error : Failed to start the installed products provider service. error: Cannot execute 'Initialize'. The underlying stream has closed. at Error: Cannot execute 'Initialize'. The underlying stream has closed.
        at Function.JsonRpcConnection.createStreamClosedError (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\microsoft-servicehub\jsonRpc.js:127:22)
        at JsonRpcConnection.cancelPendingRequests (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\microsoft-servicehub\jsonRpc.js:101:69)
        at JsonRpcConnection.onConnectionClosed (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\microsoft-servicehub\jsonRpc.js:123:14)
        at CallbackList.invoke (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\vscode-jsonrpc\lib\events.js:103:39)
        at Emitter.fire (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\vscode-jsonrpc\lib\events.js:167:36)
        at closeHandler (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\vscode-jsonrpc\lib\main.js:70:26)
        at CallbackList.invoke (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\vscode-jsonrpc\lib\events.js:103:39)
        at Emitter.fire (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\vscode-jsonrpc\lib\events.js:167:36)
        at StreamMessageWriter.AbstractMessageWriter.fireClose (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\vscode-jsonrpc\lib\messageWriter.js:38:27)
        at Socket.<anonymous> (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\vscode-jsonrpc\lib\messageWriter.js:61:62)
        at emitOne (events.js:101:20)
        at Socket.emit (events.js:188:7)
        at Pipe._handle.close [as _onclose] (net.js:492:12)
    From previous event:
        at Function.defer (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:582:19)
        at JsonRpcConnection.sendRequest (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\microsoft-servicehub\jsonRpc.js:45:28)
        at ProductsProviderImpl.ServiceHubClient.invoke (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\lib\service-hub\service-hub-client.js:57:26)
        at C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\lib\SetupEngine\ProductsProvider.js:39:47
        at ProductsProviderImpl.initialize (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\lib\SetupEngine\ProductsProvider.js:34:16)
        at C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\lib\SetupEngine\ProductsProvider.js:167:34
        at _fulfilled (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:834:54)
        at self.promiseDispatch.done (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:863:30)
        at Promise.promise.promiseDispatch (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:796:13)
        at C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:604:44
        at runSingle (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:137:13)
        at flush (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:125:13)
        at _combinedTickCallback (internal/process/next_tick.js:67:7)
        at process._tickCallback (internal/process/next_tick.js:98:9)
    2017-06-17T15:31:45 : Error : Failed to get product summaries. [installerId: SetupEngine, error: Cannot execute 'Initialize'. The underlying stream has closed. at Error: Cannot execute 'Initialize'. The underlying stream has closed.
        at Function.JsonRpcConnection.createStreamClosedError (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\microsoft-servicehub\jsonRpc.js:127:22)
        at JsonRpcConnection.cancelPendingRequests (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\microsoft-servicehub\jsonRpc.js:101:69)
        at JsonRpcConnection.onConnectionClosed (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\microsoft-servicehub\jsonRpc.js:123:14)
        at CallbackList.invoke (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\vscode-jsonrpc\lib\events.js:103:39)
        at Emitter.fire (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\vscode-jsonrpc\lib\events.js:167:36)
        at closeHandler (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\vscode-jsonrpc\lib\main.js:70:26)
        at CallbackList.invoke (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\vscode-jsonrpc\lib\events.js:103:39)
        at Emitter.fire (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\vscode-jsonrpc\lib\events.js:167:36)
        at StreamMessageWriter.AbstractMessageWriter.fireClose (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\vscode-jsonrpc\lib\messageWriter.js:38:27)
        at Socket.<anonymous> (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\vscode-jsonrpc\lib\messageWriter.js:61:62)
        at emitOne (events.js:101:20)
        at Socket.emit (events.js:188:7)
        at Pipe._handle.close [as _onclose] (net.js:492:12)
    From previous event:
        at Function.defer (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:582:19)
        at JsonRpcConnection.sendRequest (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\microsoft-servicehub\jsonRpc.js:45:28)
        at ProductsProviderImpl.ServiceHubClient.invoke (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\lib\service-hub\service-hub-client.js:57:26)
        at C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\lib\SetupEngine\ProductsProvider.js:39:47
        at ProductsProviderImpl.initialize (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\lib\SetupEngine\ProductsProvider.js:34:16)
        at C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\lib\SetupEngine\ProductsProvider.js:167:34
        at _fulfilled (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:834:54)
        at self.promiseDispatch.done (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:863:30)
        at Promise.promise.promiseDispatch (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:796:13)
        at C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:604:44
        at runSingle (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:137:13)
        at flush (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:125:13)
        at _combinedTickCallback (internal/process/next_tick.js:67:7)
        at process._tickCallback (internal/process/next_tick.js:98:9)]
    2017-06-17T15:31:45 : Error : Failed to get installed product summaries. [installerId: SetupEngine, error: Cannot execute 'Initialize'. The underlying stream has closed. at Error: Cannot execute 'Initialize'. The underlying stream has closed.
        at Function.JsonRpcConnection.createStreamClosedError (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\microsoft-servicehub\jsonRpc.js:127:22)
        at JsonRpcConnection.cancelPendingRequests (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\microsoft-servicehub\jsonRpc.js:101:69)
        at JsonRpcConnection.onConnectionClosed (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\microsoft-servicehub\jsonRpc.js:123:14)
        at CallbackList.invoke (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\vscode-jsonrpc\lib\events.js:103:39)
        at Emitter.fire (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\vscode-jsonrpc\lib\events.js:167:36)
        at closeHandler (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\vscode-jsonrpc\lib\main.js:70:26)
        at CallbackList.invoke (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\vscode-jsonrpc\lib\events.js:103:39)
        at Emitter.fire (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\vscode-jsonrpc\lib\events.js:167:36)
        at StreamMessageWriter.AbstractMessageWriter.fireClose (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\vscode-jsonrpc\lib\messageWriter.js:38:27)
        at Socket.<anonymous> (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\vscode-jsonrpc\lib\messageWriter.js:61:62)
        at emitOne (events.js:101:20)
        at Socket.emit (events.js:188:7)
        at Pipe._handle.close [as _onclose] (net.js:492:12)
    From previous event:
        at Function.defer (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:582:19)
        at JsonRpcConnection.sendRequest (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\microsoft-servicehub\jsonRpc.js:45:28)
        at ProductsProviderImpl.ServiceHubClient.invoke (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\lib\service-hub\service-hub-client.js:57:26)
        at C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\lib\SetupEngine\ProductsProvider.js:39:47
        at ProductsProviderImpl.initialize (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\lib\SetupEngine\ProductsProvider.js:34:16)
        at C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\lib\SetupEngine\ProductsProvider.js:167:34
        at _fulfilled (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:834:54)
        at self.promiseDispatch.done (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:863:30)
        at Promise.promise.promiseDispatch (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:796:13)
        at C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:604:44
        at runSingle (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:137:13)
        at flush (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:125:13)
        at _combinedTickCallback (internal/process/next_tick.js:67:7)
        at process._tickCallback (internal/process/next_tick.js:98:9)]

    (---ここまでログファイル---)

    2017年6月17日 6:44

回答

すべての返信

  • なかなか解決が難しそうな状態とお見受けします。

    ログを読んだり、実験したものと比較したりする限り、ネットワーク系のトラブルというよりは、プロセス間の通信サービス(RPC)が早々に終了してしまうトラブルのようです。
    なぜ、それらのサービスが終了してしまうのかは、このログに情報はなさそうです。

    ・.NET Framework のバージョンがいくつなのか
    ・Windows のイベントログの方には同じ時間帯にエラー、警告と言った情報が残されていないか

    このあたりは気になりますね。

    2017年6月17日 22:59
    モデレータ
  • JsonRpcConnection.createStreamClosedError で検索すると、Windows 7 64bit で同じ症状が幾つかヒットしますね。
    インストーラに不具合のある可能性が高いと思われます。
    2017年6月18日 12:02
  • JsonRpcConnection.createStreamClosedError で検索すると、Windows 7 64bit で同じ症状が幾つかヒットしますね。
    インストーラに不具合のある可能性が高いと思われます。

    それらと同じ原因かどうかわかりませんし、同じだったとしても開発チームに必要な情報が届いていない場合はいつまでも直らないので、フィードバックしてみることをおすすめしておきます。

    例1:Not a bug でクローズしている
    例2:情報収集ツールの結果をアップしてくれと依頼があったものの、動きなし?

    例2の方で別の人がコメントしているログは、今回の事象に大分近いようですが、4/13 から特に進展はないようなので、事実上、死に報告ですかね…。

    2017年6月18日 12:35
    モデレータ
  • ご回答いただき、ありがとうございます。返信が遅れてしまい、申し訳ございません。

    ・.NET Framework のバージョンは 4.7 です。

    ・イベントログを確認したところ、エラーが1件出ていました。内容を以下に示します。

    (――以下、イベントログのエラー――)

    障害が発生しているアプリケーション名: vs_installerservice.exe、バージョン: 1.0.223.34901、タイム スタンプ: 0x9cc788fd
    障害が発生しているモジュール名: ntdll.dll、バージョン: 6.1.7601.23807、タイム スタンプ: 0x5915fdce
    例外コード: 0xc0000005
    障害オフセット: 0x000000000004b2f5
    障害が発生しているプロセス ID: 0x1634
    障害が発生しているアプリケーションの開始時刻: 0x01d2e733607a82f3
    障害が発生しているアプリケーション パス: C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Hosts\Microsoft.ServiceHub.Host.CLR\vs_installerservice.exe
    障害が発生しているモジュール パス: C:\Windows\SYSTEM32\ntdll.dll
    レポート ID: a06025e1-5326-11e7-a609-c8f733d92fe1

    (――以上、イベントログのエラー――)

    以上です、よろしくお願いします。

    2017年6月21日 12:41