Every time I see a .NET update, I clutch. I admit it. Ask WebGizmos what happens with a bad .NET update/installation. We were on the phone for hours. From then on he refused to update. I don’t blame him.
Before trying to update/install .NET 4.0 (W7 SP1 comes with .NET 3.5) run the following: sfc /scannow as Administrator. If your system files have become corrupted, that could cause problems. If you have installed and are running into problems, do the following:
- Click on Start and under search type in appwiz.cpl
- Then Click on Turn Windows Feature On or Off
- Uncheck on .NET Frameworks and click OK
- Restart you System
- Now click on Start and under search type in CMD
- Right Click on CMD and Run as administrator
- Next type in SFC /SCANNOW
- Click on Start and under search type in appwiz.cpl
- Then Click on Turn Windows Feature On or Off
- Check on .NET Frameworks and click OK
- Then Test it and see if that work
Well, as penance for what they did to Giz, MS has made and released the .NET Framework Repair Tool [http://www.microsoft.com/en-us/download/details.aspx?id=30135]
The tool is a troubleshooter which deals with common problems with setup and updates of MS .NET Framework installation. The tool also can apply fixes to known problems, and will carry out:
- Re-register Windows Installer service. It unregisters and re-registers the Windows Installer service using MsiExec.exe. Applicable regardless of the diagnosis results.
- Restart Windows Installer service. It stops and restarts the Windows Installer service. Applicable regardless of the diagnosis results.
You can also manually troubleshoot with the System Update Readiness Tool which cleans up problems which would cause problems on installation: http://windows.microsoft.com/en-GB/windows7/What-is-the-System-Update-Readiness-Tool?SignedIn=1
Finally, There’s an additional tool. .NET Framework Setup Cleanup Utility.
That is a tool of last resort, and you should do all the steps listed here before using it.
Aaron Stebner has also published a “What to do if other .NET Framework setup troubleshooting steps do not help” . This is the updated instruction, as well as his guide here , which is the Unified Guide.
I hope this helps someone in the future…
.NET Framework Repair Tool download link: http://www.microsoft.com/en-us/download/details.aspx?id=30135
Sources:
http://www.thewindowsclub.com/microsoft-net-framework-repair-tool
http://www.thewindowsclub.com/the-net-framework-removal-cleanup-tool
http://www.thewindowsclub.com/troubleshoot-net-frameworks-4-0-install-issues-on-windows-7
http://www.thewindowsclub.com/system-update-readiness-tool-for-windows-vista-windows-7-86-64
http://windows.microsoft.com/en-GB/windows7/What-is-the-System-Update-Readiness-Tool?SignedIn=1
http://blogs.msdn.com/b/astebner/archive/2005/08/22/unified-net-framework-troubleshooting-guide.aspx
http://blogs.msdn.com/b/astebner/archive/2008/03/07/8108332.aspx