在 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,然后重试

相关内容