How to fix this error while installing GitHub on W

2019-07-07 01:50发布

问题:

http://picsmashup.com/images/jnasdh.JPG

Component Microsoft .NET Framework 4 (x86 and x64) has failed to install with the following error message: "A failure occurred attempting to install the .NET Framework 4 Full."

The following components failed to install: - Microsoft .NET Framework 4 (x86 and x64)

See the setup log file located at 'C:\Users\Ck7\AppData\Local\Temp\VSDCD4.tmp\install.log' for more information.

How do I fix this problem?

回答1:

I had similar problems, but I fixed them by following the steps in Problem installing .NET Framework 4 (HRESULT 0xc8000222).

Probably .NET communicates on Windows 7 with a folder named 'SDold' which is named 'Software Distribution'.



回答2:

Try running the following command as an administrator:

%SYSTEMROOT%\SYSTEM32\REGSVR32.EXE %SYSTEMROOT%\SYSTEM32\WUAUENG.DLL

Then install .NET Framework 4.5 individually. Then install GitHub. I was having the same issue, and this fixed it for me.