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.
错误反馈信息最重要的是我加了下划线的部分,那现在就来说说怎样解决吧!
====================================part2========================================
这个问题有以下几种情况会造成,
1、但是一般来说是我们已经安装了高版本的vs2010 redistributables导致的。致使sdk for win7到了这一步时候因为这个组件安装不成功而停止安装进程。
Microsoft Visual C++ 2010 x86 Redistributable
Microsoft Visual C++ 2010 x64 Redistributable
因而我们的解决方案是:
将以上两个组件卸载即可,不用重启!(对于我自己来说,只需要卸载前两者即可)
补充:假如卸载以上两个组件还不行,请再把这几个组件删除
Microsoft Visual C++ 2010 x64 Runtime
Microsoft Visual C++ 2010 x86 Runtime
2、假如不是以上的原因造成,那么我们可以尝试一下两种方法
分别是修改注册表的权限
修改TEMP环境变量的值
修改注册表的权限
Open Registry Editor (run RegEdit.Exe)
Browse to the following key. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components
Right Click on Components select permissions and then Click Advanced
Select the "Owner" Tab. Select Administrators (Group) . Click Apply.
Then Select Checkbox that says "Replace owner on sub containers and objects". Click apply.
Browse back to the Permissions tab, select the Check box that says "Replace all child objects with inheritable permissions from this object". Click apply
You might see some warnings after applying permissions and owner settings. This is normal. Some windows components are restricted to changing owner.
之后再重新安装sdk,假如还是无法进行安装,请进行下一个步骤 修改TEMP环境变量的值
简单说明:一般只包含一个路径,假如有其它路径,则会造成安装失败
To verify your %temp% location
Open command prompt (Click Start, type cmd.exe and click enter)
Type in SET
From the resulting output, look at what Temp= is pointing to
Verify that “Temp=” has a value similar to C:\Users\[UserName]\AppData\Local\Temp (Assuming your System Drive is C and Replace [UserName] in above path with your username)
This “Temp=” value should only have one location pointing to your local temp. Any additional paths in the value or different locations will cause a problem. If you find that this “Temp” has some unexpected or additional paths in its value change it to point to the expected value. To change the value of your “temp” environment variable follow the below steps.
Click Start and Right click on computer and Select Properties
Click on Advanced System Settings
Click on Environment Variables in the opened window
Select Temp under User variable. Click edit and change it to C:\Users\[UserName]\AppData\Local\Temp (Assuming your system drive is C and Replace [UserName] in above path with your user name). Use only one path. Remove any additional paths or other paths.
Do the same for TMP environment variable
假如还是不能解决这个问题的话,那建议来认真看看这篇文章下的评论,我的方法便是从文章下的评论学习到的!(任意门)
======================================part3================================================
其它关于sdk for win7安装过程中出错的解决办法可以阅读下面这篇文章
这上面已经包含足够多的情况。假如你还是不能解决,欢迎留言,我会尽力帮忙的
(任意门)
=======================================写在最后============================================