トップ回答者
Microsoft Windows SDK for Windows 7 and .NET Framework 4

質問
-
Microsoft Windows SDK for Windows 7 and .NET Framework 4をVisual Studio 2010 Express環境下にインストールしようとしているのですが
エラーが出てインストールできません。
logファイルからエラーを出しているのは
02/29/12 23:38:21 DDSet_CARetVal: 0
02/29/12 23:38:21 DDSet_Exit: ImmediateDispatch: DDSE_CA_Uninstall_InstallValidatePost exit
Action ended 23:38:21: DDSE_CA_Uninstall_InstallValidatePost_x86. Return value 1.
Action start 23:38:21: RemoveExistingProducts.
Action ended 23:38:21: RemoveExistingProducts. Return value 0.
Action start 23:38:21: DDSE_CA_Uninstall_InstallInitializePre_x86.
02/29/12 23:38:21 DDSet_Status: LANGID: 1033
02/29/12 23:38:21 DDSet_Entry: ImmediateDispatch: DDSE_CA_Uninstall_InstallInitializePre entry
02/29/12 23:38:21 DDSet_Error: Patch Hooks: Missing required property 'ProductFamily': Setup cannot continue.
02/29/12 23:38:21 DDSet_Warning: Setup failed while calling 'getDLLName'. System error: Cannot create a file when that file already exists.=== Logging stopped: 2012/02/29 23:38:23 ===
MSI (s) (AC:50) [23:38:23:254]: Product: Microsoft Windows SDK for Windows 7 (7.1) -- Removal completed successfully.MSI (s) (AC:50) [23:38:23:254]: Windows インストーラにより製品が削除されました。製品名: Microsoft Windows SDK for Windows 7 (7.1)、製品バージョン: 7.1.30514、製品の言語: 1033、削除の成功またはエラーの状態: 0
23:38:15 2012年2月29日: SFX C:\Program Files\Microsoft SDKs\Windows\v7.1\Setup\SFX\vcredist_x86.exe installation started with log file C:\Users\Administrator\AppData\Local\Temp\Microsoft Windows SDK for Windows 7_240a492f-bbcd-41c3-a2b2-a16337670bad_SFX.log
23:38:20 2012年2月29日: C:\Program Files\Microsoft SDKs\Windows\v7.1\Setup\SFX\vcredist_x86.exe installation failed with return code 5100
23:38:23 2012年2月29日: [SDKSetup:Error] Config_Products_Install: Installation of Product Microsoft Windows SDK for Windows 7 (failed): Please refer to Samples\Setup\HTML\ConfigDetails.htm document for further information. Stack: 場所 SDKSetup.Product.ConfigureRelatedSfx() 場所 SDKSetup.Product.ConfigureNewProduct(ManualResetEvent CancelEvent)
23:38:23 2012年2月29日: [SDKSetup:Info] Config_Products_InstallNew: End installation of new product: Microsoft Windows SDK for Windows 7
23:38:23 2012年2月29日: [SDKSetup:Error] Config_Products_Install: Windows SDK Setup (failed): Installation of the "Microsoft Windows SDK for Windows 7" product has reported the following error: Please refer to Samples\Setup\HTML\ConfigDetails.htm document for further information. Stack: 場所 SDKSetup.Product.ConfigureNewProduct(ManualResetEvent CancelEvent) 場所 SDKSetup.Product.SetupProduct(TaskMode taskMode, ManualResetEvent CancelEvent) 場所 SDKSetup.ProductCollection.SetupProducts(TaskMode taskMode, DownloadManager downloadManager, ManualResetEvent cancelEvent) 場所 SDKSetup.ConfigProducts.DoCurrentTask(TaskMode Task)こんな感じにエラーが出てしまいます。
どうすれば正常にインストール出来るのでしょうか?
回答
すべての返信
-
こんにちは、parn100 さん。
フォーラムのご利用ありがとうございます。オペレーターの山本です。
エラーの情報で検索してみたところ、似ている内容のスレッドがありましたので、もしかしたら参考になるかもしれません。
#すみません、正しい対処の方法はちょっと分かりません。。。
Error installing Windows 7 SDK 7.1 with VS2008, VS2010 Premium on Win 7 32bit
http://social.msdn.microsoft.com/Forums/en-US/windowssdk/thread/6e6c8a17-1666-42fa-9b5b-dfc21845d2f9
_____________________
日本マイクロソフト株式会社 フォーラム オペレーター 山本 春海 -
ありがとうございます。
そのURL先での解決法の説明はつまりは「Microsoft Windows SDK for Windows 7 and .NET Framework 4」に含まれている「Visual C++ 2010再頒布可能パッケージ」の方が
現在インストールされている「Visual C++ 2010再頒布可能パッケージ」より古いので
「Visual C++ 2010再頒布可能パッケージ」をいったん削除しなさいってことでいいのですよね?(英語が苦手ですが読んだ感じからして)現在「Visual C++ 2010再頒布可能パッケージ」関係だと思われる私の環境には
「Visual c++ 2010 x86 Redistributable」と「Visual c++ 2010 x86 Runtime」の二つがあるのですが両方とも削除する必要があるのでしょうか?
(Visual c++ 2010 x86 Runtimeの方はVisual C++ 2010 Express SP1 インストール時に入る物だからアンインストールするとまずい?) -
Visual c++ 2010 x86 Redistributableを削除して再度Microsoft Windows SDK for Windows 7 and .NET Framework 4のインストールをやって
最初の問題の箇所はクリアできたのですが今度は別の箇所でエラーが出ています。(前回のようにまったくインストール出てない状態ではない)インストーラの画面には
「Installation of the "Microsoft Windows SDK for Windows 7 Compilers for x86" product has reported the following error: インストール中に致命的なエラーが発生しました。」
と言うエラーが表示されるようになりログファイルには
=== Logging stopped: 2012/03/08 2:37:33 ===
MSI (s) (10:14) [02:37:33:071]: Product: Microsoft Visual C++ Compilers 2010 Standard - enu - x86 -- Installation failed.MSI (s) (10:14) [02:37:33:072]: Windows インストーラにより製品がインストールされました。製品名: Microsoft Visual C++ Compilers 2010 Standard - enu - x86、製品バージョン: 10.0.30319、製品の言語: 1033、インストールの成功またはエラーの状態: 1603
2:37:33 2012年3月8日: [SDKSetup:Error] Config_Products_Install: Installation of Product Microsoft Windows SDK for Windows 7 Compilers for x86 (failed): インストール中に致命的なエラーが発生しました。 Stack: 場所 Microsoft.WindowsInstaller.Installer.InstallProduct(String packagePath, String commandLine) 場所 SDKSetup.Product.ConfigureNewProduct(ManualResetEvent CancelEvent)
2:37:33 2012年3月8日: [SDKSetup:Info] Config_Products_InstallNew: End installation of new product: Microsoft Windows SDK for Windows 7 Compilers for x86
2:37:33 2012年3月8日: [SDKSetup:Error] Config_Products_Install: Windows SDK Setup (failed): Installation of the "Microsoft Windows SDK for Windows 7 Compilers for x86" product has reported the following error: インストール中に致命的なエラーが発生しました。 Stack: 場所 SDKSetup.Product.ConfigureNewProduct(ManualResetEvent CancelEvent) 場所 SDKSetup.Product.SetupProduct(TaskMode taskMode, ManualResetEvent CancelEvent) 場所 SDKSetup.ProductCollection.SetupProducts(TaskMode taskMode, DownloadManager downloadManager, ManualResetEvent cancelEvent) 場所 SDKSetup.ConfigProducts.DoCurrentTask(TaskMode Task)
と言うエラーが出るようになってしまいました。一応検索してみたところ
http://social.msdn.microsoft.com/Forums/en-BZ/vssetup/thread/9c8f8fcf-959e-4daf-b7b1-2c64d173e10d
これが見つかったのですが、
Visual C++ Compilersのチェックボックスを外すかSP1をいったんアンインストールしてMicrosoft Windows SDK for Windows 7 and .NET Framework 4をインストール後に
SP1は再度インストールする必要があると言うことでよろしいのでしょうか?
マイクロソフトはSP1適用済みのVS2010に対しの修正版のMicrosoft Windows SDK for Windows 7 and .NET Framework 4配布する気は無いのでしょうかね? -
こんにちは、parn100 さん。
フォーラムのご利用ありがとうございます。オペレーターの山本です。
回答になってなくて申し訳ないのですが、手元の環境でインストール確認してみた結果を記載いたしますね。
Visual Studio 2010 SP1 がインストールされている環境にて、Microsoft Windows SDK for Windows 7 and .NET Framework 4.0 をインストールしてみました。
インストール時には "Uninstall Options" 画面 (以下) が表示され、Microsoft Visual C++ Compilers 2010 Standard - enu -x86 の、現在インストールされているバージョンと、このインストーラーによってインストールされるバージョンが表示されて、アンインストールについて選択ができるようでした。(既定の設定ではアンインストールの要求はしないになっていました。)
その後 parn100 さんが確認されたスレッドの (Visual Studio 2010 SP1 Readmeの既知の問題の部分) ように、"Installation Options" の画面が表示されるので、Visual C++ Compilers のチェックボックスを外してインストールを行ったところ、正常にインストールが完了しました。
__________________________________
日本マイクロソフト株式会社 フォーラム オペレーター 山本 春海