安装GitHub桌面版的时候报错
An error occurred attempting to install GitHub.
解决思路:
Details中告诉我们了可以在install.log这个日志文件看到更多的信息,那我们就去看看。开打发现最后是这样的话:
‘Windows Installer 4.5‘ RunCheck result: No Install Needed
Launching Application.
URLDownloadToCacheFile failed with HRESULT ‘-2146697208‘
Error: An error occurred trying to download ‘http://github-windows.s3.amazonaws.com/GitHub.application‘.
Windows Installer 4.5?windows软件安装工具4.5版本?先不管
继续向下看发现了有用的信息,如下:
Running checks for package ‘Microsoft .NET Framework 4.5 (x86 and x64)‘, phase BuildList.......
‘Microsoft .NET Framework 4.5 (x86 and x64)‘ RunCheck result: No Install Needed Running checks for package ‘Windows Installer 4.5‘, phase BuildList
原来是Microsoft .NET Framework 4.5 安装失败了,而它需要这个.NET 4.5版本。(难道是用C#写的?)
那就安装一下
已经有了....什么情况?
然后去百度找解决办法,运气不错,找到了:
Try running the following command as an administrator:
%SYSTEMROOT%\SYSTEM32\REGSVR32.EXE
%SYSTEMROOT%\SYSTEM32\WUAUENG.DLL
注意是as an administrator
重新运行github的安装包,终于安装好了
共同学习,写下你的评论
评论加载中...
作者其他优质文章