2012-11-21 39 views
27

雖然安裝Windows GitHub上,我該如何解決這個錯誤:的GitHub for Windows安裝

An error occurred trying to download ' 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'. 

回答

14

這可能是互聯網連接問題,無論是臨時的(重試和看問題是否仍然存在)。

那就是this comment suggests

After trying again, The error was resolved automatically!

如果問題仍然存在,this comments提示:

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

但是,不建議使用互聯網 瀏覽器爲(取決於版本,因爲它可能不支持deployment strategyClickOnce(相對於通常的Windows安裝程序)
最近的Firefox或Chrome應該允許靜默安裝適用於Windows的GitHub

+2

互聯網連接工作正常(徹底檢查)。 通過第二個應用程序下載的應用程序出現錯誤: 「部署和應用程序沒有匹配的安全區域」。 – djadmin

+1

@djadmin您使用的是哪種瀏覽器。你可以看到使用最新的Chrome瀏覽器時問題是否存在?因爲與IE ...它似乎有問題:http://www.hikaruyuuki.com/en/blog/internet-explorer-cannot-connect-to-the-internet-but-firefox-downloader-does.html(按順序以支持部署策略點擊一次,而不是Windows安裝程序:http://msdn.microsoft.com/en-us/library/e2444w33.aspx) – VonC

+0

謝謝。這工作 – djadmin

3

我得到同樣的問題。這是由於我的代理設置。

12

我有類似的問題。我用互聯網 資源管理器進行下載,它工作。顯然這是我第二次使用互聯網 資源管理器,除了下載Chrome瀏覽器。謝謝互聯網 資源管理器:P

0

使用本地代理,我的解決方案是將地址從localhost更改爲127.0.0.1

由於某些原因,Internet Explorer(和此下載程序)未能解決localhost,而Chrome正常工作。

32

您可以使用https而不是httpInternet Explorer。也就是說,打開下面的網址Internet   Explorer。這個對我有用。

https://github-windows.s3.amazonaws.com/GitHub.application 
+1

只是切換到IE做了我的伎倆。 – Banjer

+0

我認爲我們的防火牆上的入侵防禦軟件是造成這個問題的原因。但是,它不掃描https流量,所以這爲我工作! –

+0

愚蠢的防火牆在工作是我的原因,https修復它。謝謝。 – Bohn

0

這可能會幫助你。這些是我用來解決它的步驟。

。窗口 + R或開始→運行。然後 寫入(userprofile%\ Local Settings \ Apps)或(%userprofile%\ AppData \ Local \ Apps)。

如果操作系統是Windows XP  使用第一個或使用第二個,如果操作系統是Windows   Vista或Windows 7  

然後單擊確定。

最後刪除(2.0)文件夾。

然後再次運行。這個對我有用。

0

這很可能是因爲互聯網速度慢或連接中斷。該下載是使用基本的下載程序完成的,即它不具有像大多數種子一樣暫停和修復服務器斷開連接的功能。這個軟件位於亞馬遜服務器上,他們的確沒有限制。嘗試/試圖在某一天從一臺計算機上下載該軟件。當您嘗試運行該程序時,它會從亞馬遜服務器上產生要求下載的請求。並且如果亞馬遜服務器不允許您在特定機器上嘗試失敗的次數下載。 這個問題的解決方案是等一段時間說幾天,並嘗試與穩定的Internet連接相同的過程,它會下載沒有任何錯誤。 感謝您閱讀答案,我嘗試了所有其他的選項,但沒有一個工作,所以我想通了這可能是最好的解決方案。

0

錯誤的主要原因是亞馬遜服務器只爲每個系統分配一次下載,因此在一天後嘗試。另一件事是使用相同的互聯網服務提供商進行下載。在下載應用程序之前,請繼續打開github帳戶。爲了我。

-1

我的殺毒軟件的網絡防火牆被終止後,我的安裝問題到Windows 10解決了。這通常會帶來麻煩,限制互聯網連接。