While mining the Microsoft Website for any reference to CPUGrab.exe (See my Open Source Replacement CPUGrab.NET) I tried installing the Microsoft Windows 7 SDK. Seemed straightforward enough, until I ran into a string of errors which prevented me from performing a successful installation. Here are the errors I had to overcome to get the SDK to install correctly:
This (brief) article explains how to install the Windows SDK and either avoid or solve these errors.
On my Dev box I have installed both Visual Studio 2010 SP1 and Visual Studo 2012. They are stock with no plugins. Before beginning the install of the Windows SDK I completely closed out of all instances of Visual Studio (just in case the SDK install needed to replace a file that VS uses).
To avoid the errors listed above while performing a Windows SDK 7.1 installation or upgarde:
There are more details in the KB articles listed above that may help you if the specific details of your error messages differ from mine.
If you run into any errors, Click the View Log button at the end of the install. It will take you to a log page which includes detailed information about what went wrong during the install. At that point google / msdn are your friend.
I took the time to document this since the most visible error message seen during this process was this one:
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
That error tells me nothing since the file ConfigDetails.htm does not exist (not installed yet). If I run across this issue again I'd like a one-stop page where I can remember how to fix the problem