Windows SDK For Windows 7 – Installation

Background

Once again, I will be the first to admit most of what I post is someone else’s thought that I wanted to place in the public space.

Here is one that really perplexed me for a few days.

 

Microsoft GACUtil.exe

Need

I wanted to get a copy of Microsoft’s GACUtil.exe.

The premise is that I have a failing Application and wanted to be sure that all the required . Net modules are in GAC ( C:\Windows\assembly )

Once .Net 4.0 is installed on a machine, we are unable to launch Explorer and simple copy the DLL over; we have to use GACUtil or an Application.

 

Install Options

To install GACUtil.exe on a Windows 7 machine, there are a couple of choices.

Inclusive are:

  • Windows SDK For Windows 7
  • Windows Visual Studio
    • Installshield Project

 

Windows SDK for Windows 7 ( Attempt # 1)

Download ISO and Prepare Install Files

Download “Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1” ISO from here.

Mount the downloaded ISO or extract using 7-Zip.

 

Folder Layout

extractISO__20180104__0717PM

 

Run Installer

Run setup.exe to initiate the installer.

 

Install Steps

Screens

Warnings
Some components cannot be installed.

Some Windows SDK components required the RTM .Net Framework 4.

Setup detected a pre-release version of the .Net Framework.

If you continue with Setup, these components will not be installed.

If you want these components, click Cancel, then install the .Net Framework 4.

 

warning_preReleaseVersionOfDOTNetFramework4

 

Interpretation

We are been told that a pre-release version of .Net Framework 4 is installed.

 

Welcome

welcome_20180104_0452PM

 

End-User License Agreement

EndUserLicenseAgreement_20180104_0452PM

 

Install Locations

installLocations_20180104_0452PM

 

Installation Options
Image

installableOptions_20180104_0454PM

 

Explanation
  1. .Net Development
    • From the screen above, we can see that the “.Net Development” feature is not available

 

Installation Options – .Net Development
Image

warning_DotNet4ZeroIsNotInstalled_20180104_0458PM

Explanation
  1. .Net Development
    • If we try to select “.Net Development”, we are told
      • This feature is disabled because required .Net Framework is not installed

.Net Framework 4.x.y – Uninstall

Programs & Features

Launched Control Panel, Program and Features to review versions of .Net Framework 4 installed.

Uninstalling Microsoft .Net 4.0 proved to be along and punishing endeavor; and worthy of separate posts.

Root Cause

  1. Microsoft .Net 4.7.1
    • With Microsoft .Net 4.7.1 Microsoft broke with earlier .Net 4 installers.  That breakage has the side effect of having “Windows 7 SDK” misidentify “Microsoft .Net 4.7.1” has a pre-RTM install

 

.Net Framework 4.0

Download

Our next key step is download .Net 4.0, the baseline version.

Download “Microsoft .NET Framework 4 (Standalone Installer)” from here.

Install

Install the product.

 

Windows SDK for Windows 7 ( Attempt 2 )

Install Steps

Installation Option

Once we uninstalled .Net 4.0 Version 4.6.1 and installed .Net 4.0, we are able to choose .Net Development.

Issues

We had so many setbacks trying to install this product and they are documented here:

  1. “Windows SDK for Windows 7” – Installation – Error – “Setup could not find the file WinSDK_amd64\WinSDK_amd64.msi at any of the specified source locations”
    Link

    • Remediation :- Download Windows SDK for Windows 7 ISO from here.
  2. “Windows SDK for Windows 7” – Installation – Error – “DeleteFileSafe failed”
    Link

    • Remediation :- Uninstall Microsoft Visual 2010

 

Validate Install

Let us validate our install.

Start Menu

The Start Menu is updated with a new “Microsoft Windows SDK v7.1” sub menu.

Targeted Folder

As we directed our install unto Drive C:, the install files are placed in “C:\Program Files\Microsoft SDKs\Windows\v7.1“.

 

Command Shell

Launched Command Shell and changed folder to “C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin”.

Ran gacutil.exe /?

 

“Windows SDK for Windows 7” – Installation – Error – “DeleteFileSafe failed”

 

Background

Quick follow-up from our last post.

Downloaded the ISO and install is progressing until ran into a new error.

 

Error

Error Message

Delete File Safe

Image

Textual

Installation of the “Microsoft Windows SDK for Windows 7” product has reported the following error: DeleteFileSafe failed (10th try)

 

 

Crediting

Jaime Hablutzel

Link

Remediation

 

Microsoft Visual C++ 2010

Program and Features

Accessed Programs and Features and zeroed in on the “Microsoft Visual C++ 2010…

Uninstall or Change a program

Application  List – Current

Application  List – Uninstall – Microsoft Visual C++ 2010 x64 Redistributable

Application  List – Uninstall – Microsoft Visual C++ 2010 x86 Redistributable

Application  List – Uninstall – Microsoft Visual C++ 2010 x86 Runtime

Application  List – Post

 

References

  1. Stack Overflow
    • Error when installing windows SDK 7.1
      Link

“Windows SDK for Windows 7” – Installation – Error – “Setup could not find the file WinSDK_amd64\WinSDK_amd64.msi at any of the specified source locations”

 

Background

Trying to install “Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1“.

BTW, download it from here.

Error

Error Message

Image

Textual

A problem occurred while installing selected Windows SDK components.

Setup could not find the file WinSDK_amd64\WinSDK_amd64.msi at any of the specified source locations C:\downloads\Microsoft\WindowsSDK\WindowsSDKForWindows7\extract\GRMSDK_EN_DVD\Setup

Trouble Shooting

Folder View

Image

Explanation

Reviewed our extract and confirmed that WinSDK_amd64 is not present.

And, since that base AMD64 bit folder is not present, we will not have WinSDK_amd64\WinSDK_amd64.msi either.

Remediation

Murali Krishna ( Link )

downloaded the iso file from the below path:-

http://download.microsoft.com/download/F/1/0/F10113F5-B750-4969-A255-274341AC6BCE/GRMSDKX_EN_DVD.iso ( Link )

extracted using winzip and installed the executable its works fine.

Folder View

Image

Explanation

Once the new ISO is downloaded and extracted, we have the WinSDK_amd64 folder.