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

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

[plain]  view plain  copy
 
  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://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就行了。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值