2012-07-30 39 views
7

我正在嘗試爲Windows安裝Github。在下載數據的30.6MB的點,我收到以下錯誤:Github for Windows安裝出現錯誤「無法檢索應用程序文件,文件在部署中損壞」

Unable to retrieve application files, Files corrupt in deployment"

我試着做了幾次,但下載始終是30.6MB數據,它總是顯示此錯誤。我很困惑。

我已經包含更多詳情如下:

PLATFORM VERSION INFO Windows : 6.1.7600.0 (Win32NT) Common Language Runtime : 4.0.30319.269 System.Deployment.dll : 4.0.30319.1 (RTMRel.030319-0100) clr.dll : 4.0.30319.269 (RTMGDR.030319-2600) dfdll.dll : 4.0.30319.1 (RTMRel.030319-0100) dfshim.dll : 4.0.31106.0 (Main.031106-0000)

SOURCES Deployment url : http://github-windows.s3.amazonaws.com/GitHub.application Server : AmazonS3 Application url : http://github-windows.s3.amazonaws.com/Application%20Files/GitHub_1_0_20_2/GitHub.exe.manifest Server : AmazonS3

IDENTITIES Deployment Identity : GitHub.application, Version=1.0.20.2, Culture=neutral, PublicKeyToken=8f45a2159c87c850, processorArchitecture=x86 Application Identity : GitHub.exe, Version=1.0.20.2, Culture=neutral, PublicKeyToken=8f45a2159c87c850, processorArchitecture=x86, type=win32

APPLICATION SUMMARY * Installable application. * Trust url parameter is set. ERROR SUMMARY Below is a summary of the errors, details of these errors are listed later in the log. * Activation of http://github-windows.s3.amazonaws.com/GitHub.application resulted in exception. Following failure messages were detected: + Exception occurred loading manifest from file Markdown.dll: the manifest may not be valid or the file could not be opened. + Cannot load internal manifest from component file.

COMPONENT STORE TRANSACTION FAILURE SUMMARY No transaction error was detected.

WARNINGS There were no warnings during this operation.

OPERATION PROGRESS STATUS * [2012/7/30 22:52:00] : Activation of http://github-windows.s3.amazonaws.com/GitHub.application has started. * [2012/7/30 22:52:02] : Processing of deployment manifest has successfully completed. * [2012/7/30 22:52:02] : Installation of the application has started. * [2012/7/30 22:52:03] : Processing of application manifest has successfully completed. * [2012/7/30 22:52:08] : Found compatible runtime version 4.0.30319. * [2012/7/30 22:52:09] : Request of trust and detection of platform is complete.

ERROR DETAILS Following errors were detected during this operation. * [2012/7/30 23:01:14] System.Deployment.Application.InvalidDeploymentException (ManifestLoad) - Exception occurred loading manifest from file Markdown.dll: the manifest may not be valid or the file could not be opened. - Source: System.Deployment - Stack trace: at System.Deployment.Application.Manifest.AssemblyManifest.ManifestLoadExceptionHelper(Exception exception, String filePath) at System.Deployment.Application.Manifest.AssemblyManifest.LoadFromInternalManifestFile(String filePath) at System.Deployment.Application.Manifest.AssemblyManifest..ctor(String filePath) at System.Deployment.Application.DownloadManager.ProcessDownloadedFile(Object sender, DownloadEventArgs e) at System.Deployment.Application.FileDownloader.DownloadModifiedEventHandler.Invoke(Object sender, DownloadEventArgs e) at System.Deployment.Application.FileDownloader.OnModified() at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next) at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles() at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState) at System.Deployment.Application.DownloadManager.DownloadDependencies(SubscriptionState subState, AssemblyManifest deployManifest, AssemblyManifest appManifest, Uri sourceUriBase, String targetDirectory, String group, IDownloadNotification notification, DownloadOptions options) at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp) at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState& subState, ActivationDescription actDesc) at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl) at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state) --- Inner Exception --- System.Deployment.Application.DeploymentException (InvalidManifest) - Cannot load internal manifest from component file. - Source: - Stack trace:

COMPONENT STORE TRANSACTION DETAILS No transaction information is available.

+0

發送電子郵件至[email protected]舉報此問題 – nulltoken 2012-07-30 16:29:29

+1

對我而言也不適用......儘管所有嘗試都是如此! – aakashbhowmick 2012-12-02 20:32:45

+0

我已經多次安裝GitHub for Windows,今天它不適用於我。我收到這個報告的錯誤。我希望有一個替代下載。 – djangofan 2012-12-27 21:14:02

回答

3

您的下載簡直是損壞。請再試一次。

+1

也許他的防火牆會破壞下載,如果每次都在同一個地方出現故障,那麼他的防火牆就會崩潰。我們也有這個問題,我們通過vpn隧道解決了這個問題,所以防火牆看不到我們嘗試下載的惡意可執行文件。 – 2012-12-06 08:48:12

+0

我已經嘗試了一個月的每一天! – 2015-04-28 23:25:37

3

我通過切換瀏覽器並再次下載解決了這個問題。我用IE瀏覽器下載它。它現在運作良好。 您可以在最後一個問題的答案中找到關於此here的討論。

+1

它神奇的作品。我已經嘗試並通過Chrome成功下載了該文件,但安裝仍然失敗。我剛剛打開一個IE窗口,試圖下載http://github-windows.s3.amazonaws.com/GitHub.application,原始設置就像那樣工作。 – Entrodus 2013-03-13 09:21:35

+0

這是2016年,這對我很有用。 – 2016-12-06 04:16:04

1

在這裏復活一個古老的問題,因爲我認爲有些人可能因近期不同的原因而經歷同樣的錯誤。所以它很可能不是下載簡單的腐敗。我有同樣的問題,並從許多來源下載審查,並得到相同的錯誤,無論使用的網絡。這可能是你的.NET框架的一個問題。經過一些研究和實證檢驗,這就是我發現的。

.NET 4.5取代了.NET 4.0,但它不包含.NET 4.0作爲包的一部分。 4.5安裝時,它將覆蓋它與4.0共享的任何二進制文件,但不會填寫4.0中可能丟失的任何二進制文件。

我從一臺全新的機器開始。我安裝了.NET 4.5.1,嘗試使用github進行windows安裝並收到錯誤消息。我卸載了.NET 4.5.1,安裝了4.0,然後安裝了4.5.1,併成功地重新嘗試了github進行windows安裝。

0

也添加了這個問題,但在我的情況下,它只是簡單的反病毒屏蔽它。在更新期間禁用了AV,並且它工作正常。

AV阻止了此文件GitHub.UI.dll,並設法通過詳細的安裝日誌找到它。在日誌中的確切消息是

File GitHub.UI.dll is not a valid Portable Executable (PE) file. 
0

我得到這個問題與我的工作地點防火牆設備,這是一個檢查點防火牆。我們也有一個微軟的域名。

我通過更改Windows IE連接設置來避開它,因此它直接連接到互聯網而不是自動配置腳本,或自動檢測設置或代理。

全部取消,然後按確定,(你也可以嘗試使用加密的外部已知良好的代理HTTPS)

然後粘貼此http://github-windows.s3.amazonaws.com/GitHub.application到URL,不重新啓動IE瀏覽器。 (一些工作場所重新配置,即在程序開始時) 下載程序將使用IE的當前LAN設置。這對我的工作時,我的下載將停止在34 MB像發條。

相關問題