用于Windows安装的GitHub [英] GitHub for Windows installation

查看:138
本文介绍了用于Windows安装的GitHub的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当安装GitHub for Windows时,我该如何解决这个错误:


尝试下载' http://github-windows.s3.amazonaws.com/GitHub.application '。


日志文件:

 以下属性已设置:
属性:[AdminUser] = true {布尔}
属性:[InstallMode] = HomeSite {字符串}
属性:[ProcessorArchitecture] = AMD64 {字符串}
属性:[VersionNT] = 6.2.0 {版本}
运行对包'Windows Installer 3.1'的检查,阶段BuildList
为包'Windows Installer 3.1'设置了以下属性:
运行对命令WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe的检查
在属性VersionMsi和值3.1上运行运算符'VersionGreaterThanOrEqualTo'的结果:true
Resu检查命令'WindowsInstaller3_1 \WindowsInstaller-KB893803-v2-x86.exe'是'Bypass'
'Windows Installer 3.1'RunCheck结果:无需安装
运行包检查'Microsoft .NET框架4(x86和x64),阶段BuildList
注册表项HKLM \ Software \ Microsoft \ NET Framework Setup\NDP\v4\ Full'的读取值'b $'b $ b读取字符串值'4.5.50709'
属性'DotNet40Full_TargetVersion'的设置值'4.5.50709 {字符串}'
已为包'Microsoft .NET Framework 4(x86和x64) ':
属性:[DotNet40Full_TargetVersion] = 4.5.50709 {字符串}
运行检查命令'DotNetFX40 \dotNetFx40_Full_x86_x64.exe'
在属性'InstallMode'上运行运算符'ValueEqualTo'和值'HomeSite':true
检查命令'DotNetFX40 \dotNetFx40_Full_x86_x64.exe'的结果是'Bypa ss'
运行检查命令'DotNetFX40 \dotNetFx40_Full_setup.exe'
在属性'InstallMode'和值'HomeSite'上运行运算符'ValueNotEqualTo'的结果:false
运行运算符' (DotNet40Full_TargetVersion)和值'4.0.30129':True
命令'DotNetFX40 \dotNetFx40_Full_setup.exe'的检查结果是'绕过'
'Microsoft .NET Framework 4(x86和x64)'RunCheck结果:无需安装
启动应用程序。
URLDownloadToCacheFile失败,HRESULT'-2146697208'
错误:尝试下载'http://github-windows.s3.amazonaws.com/GitHub.application'时发生错误。


解决方案

这可能是Internet连接问题,重试并查看问题是否仍然存在)。

这就是


重试后,错误自动解决了!

p>

如果问题仍然存在,此评论建议:


然后你可以尝试直接在Internet Explorer中打开github-windows.s3.amazonaws.com/GitHub.application,然后它应该可以正常工作。

然而,Internet Explorer并不推荐使用(取决于版本,因为它可能不支持部署策略 ClickOnce (与通常的Windows安装程序相反)。

最近的Firefox或Chrome应允许静默安装GitHub for Windows。


While installing GitHub for Windows, how do I resolve this error:

An error occurred trying to download 'http://github-windows.s3.amazonaws.com/GitHub.application'.

Log file:

    The following properties have been set:
Property: [AdminUser] = true {boolean}
Property: [InstallMode] = HomeSite {string}
Property: [ProcessorArchitecture] = AMD64 {string}
Property: [VersionNT] = 6.2.0 {version}
Running checks for package 'Windows Installer 3.1', phase BuildList
The following properties have been set for package 'Windows Installer 3.1':
Running checks for command 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe'
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '3.1': true
Result of checks for command 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe' is 'Bypass'
'Windows Installer 3.1' RunCheck result: No Install Needed
Running checks for package 'Microsoft .NET Framework 4 (x86 and x64)', phase BuildList
Reading value 'Version' of registry key 'HKLM\Software\Microsoft\NET Framework Setup\NDP\v4\Full'
Read string value '4.5.50709'
Setting value '4.5.50709 {string}' for property 'DotNet40Full_TargetVersion'
The following properties have been set for package 'Microsoft .NET Framework 4 (x86 and x64)':
Property: [DotNet40Full_TargetVersion] = 4.5.50709 {string}
Running checks for command 'DotNetFX40\dotNetFx40_Full_x86_x64.exe'
Result of running operator 'ValueEqualTo' on property 'InstallMode' and value 'HomeSite': true
Result of checks for command 'DotNetFX40\dotNetFx40_Full_x86_x64.exe' is 'Bypass'
Running checks for command 'DotNetFX40\dotNetFx40_Full_setup.exe'
Result of running operator 'ValueNotEqualTo' on property 'InstallMode' and value 'HomeSite': false
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'DotNet40Full_TargetVersion' and value '4.0.30129': true
Result of checks for command 'DotNetFX40\dotNetFx40_Full_setup.exe' is 'Bypass'
'Microsoft .NET Framework 4 (x86 and x64)' 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'.

解决方案

This is likely an Internet connection issue, either temporary (retry and see if the issue persists).

That is what this comment suggests.

After trying again, The error was resolved automatically!

If the issue persists, this comments suggests:

then you can try opening github-windows.s3.amazonaws.com/GitHub.application directly in internet explorer and then it should work fine.

However, Internet Explorer is not recommended for that (depending on the version, as it might not support the deployment strategy ClickOnce (as opposed to the usual Windows Installer).
A recent Firefox or Chrome should allow a silent installation of GitHub for Windows.

这篇关于用于Windows安装的GitHub的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆