Windows SDK for Windows 7のインストール時に発生した問題と解決方法


最近VS 2010+Qt開発プログラムを使ってみると、VS 2010にはデバッガcdbが別途提供されていないことがわかり、Qt Creatorを使うとブレークポイントデバッグが設定できず不便です.Windows SDK for Windows 7にcdbがあることを思い出します.そこでWindows SDK for Windows 7をダウンロードしてインストールします.しかし、途中で問題にぶつかった.エラーメッセージは次のとおりです.
    A problem occurred while installing selected Windows SDK components.
    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.
    Please attempt to resolve the problem and then start Windows SDK setup again. If you continue to have problems with this issue, please visit the SDK team support page at http://go.microsoft.com/fwlink/?LinkId=130245.
    Click the View Log button to review the installation log.
    To exit, click Finish.

このエラーメッセージは何の役にも立たないと言えます.SDKがインストールされていないので、SamplesSetupHTMLConfigDetailsがありません.htmというファイル.Googleは、解決策を見つけたとして、ここに記録しておきます.
次のウェブサイトはこの問題について議論して、興味のある人はよく読むことができます.
http://stackoverflow.com/questions/1901279/windows-7-sdk-installation-failure
パソコンにインストールされているVisual C++2010 Redistributableは、SDKに付属しているバージョンよりも高い(10.0.30319)場合はエラーとなります.最も簡単な解決策は、既にインストールされているVisual C++2010 Redistributableを削除し、SDKで提供されているVisual C++2010 Redistributableをインストールすることです.私が採用したこの方法は、実行可能です.最後にVisual C++2010 Redistributableをアップグレードすればいいです.
もう1つの方法は面倒で、このサイトは具体的な操作手順を提供しています.
http://ctrlf5.net/?p=184
興味があればやってみてください.