分享

安装 Windows SDK for Windows 7 时遇到的一个问题及解决办法

 小各ncepu 2017-12-17

最近试着用 VS2010 + Qt 开发程序,发现 VS2010 里面没有提供单独的调试器 cdb,这样用 Qt Creator 时就无法设置断点调试,很不方便。想起 Windows SDK for Windows 7 中是有cdb。因此就将 Windows SDK for Windows 7 下载下来安装。但是装到一半却遇到了问题。错误提示如下:

  1. A problem occurred while installing selected Windows SDK components.  
  2. 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.  
  3. 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.  
  4. Click the View Log button to review the installation log.  
  5. To exit, click Finish.  

这个错误提示可以说没啥用,SDK 没装完,根本就没有 Samples\Setup\HTML\ConfigDetails.htm 这个文件。Google 了一番,算是找到了解决办法,这里记录一下。

下面的网址对这个问题做了一番讨论,感兴趣的可以仔细读读。

http:///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就行了。

另一种方法比较麻烦,这个网站提供了具体的操作步骤:

http:///?p=184

有兴趣的可以试试。

 

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多