GitHub for Windows安装

dja*_*min 27 github

在安装GitHub for Windows时,如何解决此错误:

尝试下载" http://github-windows.s3.amazonaws.com/GitHub.application "时出错.

日志文件:

    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'.
Run Code Online (Sandbox Code Playgroud)

Vin*_*Bel 32

您可以使用https而不是httpInternet Explorer.也就是说,在Internet Explorer中打开下面的URL .这个对我有用.

https://github-windows.s3.amazonaws.com/GitHub.application
Run Code Online (Sandbox Code Playgroud)


Von*_*onC 14

这可能是Internet连接问题,要么是临时的(重试并查看问题是否仍然存在).

这就是评论所暗示的.

再次尝试后,错误自动解决!

如果问题仍然存在,则此评论表明:

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

但是,建议不要使用Internet Explorer(具体取决于版本,因为它可能不支持部署策略 ClickOnce(与通常的Windows Installer相反).
最近的Firefox或Chrome应允许静默安装GitHub for Windows.

  • 互联网连接工作正常(彻底检查).通过第二个下载的应用程序发出错误:"部署和应用程序没有匹配的安全区域". (2认同)

Vik*_*kas 12

我遇到了类似的问题.我使用Internet Explorer进行下载并且工作正常.显然,这是我第二次使用Internet Explorer而不是下载Chrome.谢谢Internet Explorer:P