Fail to install the Windows SDK for Win7

Source: Internet
Author: User
Tags sha1 microsoft download center

after almost three weeks have not written blog, feel a write on the stop! Because the heart of the accumulation of many want to say, many of their own in the near period of time to think about the small harvest. But let's go back to this problem first.

Divided into three parts:

    1. An overview of the problems I have encountered

    2. Give the corresponding solution

    3. Attach the solution to other errors!

=====================================part1=====================================

My Computer Description:

Win7 64 system +intel processor


1, I encountered the first situation is: Do not know which version to download?

Description: There are two ways to download the SDK for Win7 in the Microsoft Download Center.

One is: Winsdk_web.exe, this is an online download mode that automatically recognizes the number of your system bits and processor architecture (However, the problem with Web installation is that it is missing files because of the need for file verification) (any door)

Another type is: download the appropriate ISO file . Remember to verify the SHA1 and CRC


Because the common notebook or computer is basically Intel's processor, so generally only the first two is good

The list below corresponds to 32-bit, 64-bit, and Itanium (this is more than our average computer bull)


    • x86 ISO File Name:

Grmsdk_en_dvd.iso
Crc#: 0xbd8f1237

sha1:0xcde254e83677c34c8fd509d6b733c32002fe3572

    • x64 ISO File Name:

Grmsdkx_en_dvd.iso

Crc#: 0x04f59e55

sha1:0x9203529f5f70d556a60c37f118a95214e6d10b5a

    • Itanium ISO File Name:

Grmsdkiai_en_dvd.iso

Crc#: 0x50efe61d

sha1:0x2093ee439193ef79a1629fd9a826ce8d4de9a93d


2, the second situation I encountered is:

A problem occurred while installing selected the Windows SDKcomponents.

Installation of the "Microsoft Windows SDK for Windows 7" product have reported the following error:please refer to Sample S\setup\html\configdetails.htm document for further information.

Attempt to resolve the problem and then start Windows SDK setup again. If you continue to has 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.

Error feedback information The most important thing is that I added the underlined part, so now say how to solve it!


====================================part2========================================

There are several situations where this problem can be caused,

1, but generally we have installed a high version of the vs2010 Redistributables caused. Causes the SDK for Win7 to stop the installation process at this point because the component was not installed successfully.

Microsoft Visual C + + x86 redistributable
Microsoft Visual C + + x64 Redistributable  


Thus our solutions are:

Uninstall the above two components without restarting! (For myself, only the first two can be uninstalled)

Add: If uninstalling the above two components is not enough, please remove these components

Microsoft Visual C + + x64 Runtime
Microsoft Visual C + + x86 Runtime


2, if not the cause of the above, then we can try two ways


    1. Permissions to modify the registry, respectively

    2. Modify the value of the TEMP environment variable


Permissions to modify the registry


  1. Open Registry Editor (Run RegEdit.Exe)

  2. Browse to the following key. hkey_local_machine\software\microsoft\windows\currentversion\installer\userdata\s-1-5-18\components

  3. Right Click on the components SELECT permissions and then Click advanced

  4. Select the "Owner" tab. Select Administrators (Group) . Click Apply.

  5. Then select Checkbox, that says "Replace owner on sub containers and objects". Click apply.

  6. Browse back to the Permissions tab, select the Check box that says "Replace all child objects with inheritable Permiss Ionsfrom the This object. Click Apply

  7. You might see some warnings after applying permissions and owner settings. This is normal. Some Windows Components is restricted to changing owner.


Then reinstall the SDK, if you still can't install it, take the next step

Modify the value of the TEMP environment variable

Simple description: Usually contains only one path, if there are other paths, it will cause installation failure


To verify your %temp% location

    1. Open command Prompt (click Start, type cmd.exe and click Enter)

    2. Type in SET

    3. From the resulting output, look at what temp= are pointing to

Verify that "temp=" have a value similar to c:\users\[username]\appdata\local\temp (assuming yo ur System drive are C and Replace [UserName] in above path with your UserName)
This"temp="Value should only has one location pointing to your local temp. Any additional paths in the value or different locations would cause a problem. If you find the This"Temp"Have 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.

    1. Click Start and right click on computer and Select Properties

    2. Click on the Advanced System Settings

    3. Click on Environment Variables in the opened window

    4. 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.

    5. Do the same for TMP environment variable

If still can not solve this problem, it is recommended to take a serious look at the comments under this article, my method is to learn from the comments under the article! (Any door)


======================================part3================================================

Other workarounds for errors during installation of the SDK for Win7 can be read in the following article

It already contains enough of the above-mentioned conditions. If you still can not solve, welcome message, I will try my best to help

(Any door)


======================================= written in the last ============================================


    1. When you see a foreign article there are so different people in sharing and provide their own solution to the problem, a bit of emotion! That atmosphere is no less than BBS and knowledge. If I didn't look at the comments carefully, I might have a problem that would be crazy. Especially like the feeling of sharing.

    2. What can Windows SDK for Win7 do? This does not need me to say, but I would like to recommend a book on the API, if you do not really know what to do with it? "A detailed description of Windows API development"----People's post and telecommunications press

    3. For the convenience of everyone, I uploaded the resources i downloaded to the grid to the portal.

This article is from the "line and enjoy" blog, please be sure to keep this source http://skytina.blog.51cto.com/6834539/1416610

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.