在 Windows 上安裝 GitHub

在 Windows 上安裝 GitHub

我下載了 Windows 版 GitHub 並嘗試安裝它。安裝中斷並顯示以下訊息:

Windows 應用程式驗證未成功,無法繼續。

如何解決此錯誤並完成安裝?

這些是詳細資訊:

PLATFORM VERSION INFO
    Windows             : 6.2.9200.0 (Win32NT)
    Common Language Runtime     : 4.0.30319.34014
    System.Deployment.dll       : 4.0.30319.34243 built by: FX452RTMGDR
    clr.dll             : 4.0.30319.34014 built by: FX45W81RTMGDR
    dfdll.dll           : 4.0.30319.34243 built by: FX452RTMGDR
    dfshim.dll          : 6.3.9600.16384 (winblue_rtm.130821-1623)

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

IDENTITIES
    Deployment Identity     : GitHub.application, Version=2.13.2.4, Culture=neutral, PublicKeyToken=317444273a93ac29, processorArchitecture=x86
    Application Identity    : GitHub.exe, Version=2.13.2.4, Culture=neutral, PublicKeyToken=317444273a93ac29, 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:
        + Reference in the manifest does not match the identity of the downloaded assembly Microsoft.Expression.Effects.resources.dll.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
    No transaction error was detected.

WARNINGS
    There were no warnings during this operation.

OPERATION PROGRESS STATUS
    * [5/15/2015 10:09:29 PM] : Activation of http://github-windows.s3.amazonaws.com/GitHub.application has started.
    * [5/15/2015 10:09:29 PM] : Processing of deployment manifest has successfully completed.
    * [5/15/2015 10:09:29 PM] : Installation of the application has started.
    * [5/15/2015 10:09:29 PM] : Processing of application manifest has successfully completed.
    * [5/15/2015 10:09:32 PM] : Found compatible runtime version 4.0.30319.
    * [5/15/2015 10:09:32 PM] : Request of trust and detection of platform is complete.

ERROR DETAILS
    Following errors were detected during this operation.
    * [5/15/2015 10:10:24 PM] System.Deployment.Application.InvalidDeploymentException (RefDefValidation)
        - Reference in the manifest does not match the identity of the downloaded assembly Microsoft.Expression.Effects.resources.dll.
        - Source: System.Deployment
        - Stack trace:
            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.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)

COMPONENT STORE TRANSACTION DETAILS
    No transaction information is available.

答案1

對我來說,使用 Internet Explorer,並且https而不是 http 做到了。即將以下內容貼到 IE 中:

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

我還將安裝可執行檔添加到我的防火牆中,如下所述,但這並沒有殺死它。 https://stackoverflow.com/questions/16671390/installing-github-for-windows

完成所有這些步驟就可以了。謝謝!希望有幫助。

答案2

第一的

嘗試這個:

  1. 開啟 Internet Explorer(是的,Internet Explorer)
  2. 將此連結貼到 IE 中,然後選擇「執行」。 http://github-windows.s3.amazonaws.com/GitHub.application

介紹

我也遇到類似的問題:檔案下載到 75% 後,就卡住了。大約 5 分鐘後,我收到了與您完全相同的錯誤訊息。我是如何解決的

正如上面 Geogrgios 所提到的,您需要在防火牆中新增例外。

Go to "Control Panel" and click on "System and Security" (make sure that "View by:" is set to "Category" and not to "Large icons" or "Small icons").

選擇Windows 防火牆(右側選單中的第二個選項)。然後,左側選單中將顯示“允許程式或功能通過Windows防火牆”,請按一下它。點擊“更改設定”以新增例外。點擊已啟用的“允許另一個程式..”,然後在新視窗中按一下“瀏覽..”。選擇“GithubSetup.exe”文件,按“開啟”,然後“新增”和“確定”。運行“GithubSetup.exe”並祝一切順利。

可以在這裡找到更好的說明(帶有螢幕截圖)

從:https://stackoverflow.com/questions/16671390/installing-github-for-windows


編輯

嘗試安裝.Net Framework 4.5,然後重試

相關內容