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

编程知识 更新时间:2023-04-11 10:09:30

最近试着用 VS2010 + Qt 开发程序,发现 VS2010 里面没有提供单独的调试器 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/fwlink/?LinkId=130245.
    Click the View Log button to review the installation log.
    To exit, click Finish.

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

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

http://stackoverflow/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://ctrlf5/?p=184

有兴趣的可以试试。

 

更多推荐

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

本文发布于:2023-04-10 03:30:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/bcd3c2a7693ed618f80520165ba43dc7.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:一个问题   解决办法   Windows   SDK

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!

  • 63345文章数
  • 14阅读数
  • 0评论数