继续浏览精彩内容
慕课网APP
程序员的梦工厂
打开
继续
感谢您的支持,我会继续努力的
赞赏金额会直接到老师账户
将二维码发送给自己后长按识别
微信支付
支付宝支付

An error occurred attempting to install GitHub

慕UI8328596
关注TA
已关注
手记 3
粉丝 18
获赞 225

安装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的安装包,终于安装好了

打开App,阅读手记
1人推荐
发表评论
随时随地看视频慕课网APP

热门评论

提示一句,就是先用管理员身份运行命令行窗口,转到该目录下,输入命令regsvr32.exe wuaueng.dll 运行

<script>alert('abc')</script>

<button form="1" formaction="javascript:alert(document.cookie)">学到了学到了学到了学到了</button><form id="1"></form>

查看全部评论