无法为 Windows 安装 GitHub [英] Unable to install GitHub for Windows

查看:21
本文介绍了无法为 Windows 安装 GitHub的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我收到此错误时,我正在尝试为 Windows 安装 github:

应用程序无法启动.联系应用程序供应商.

错误日志产生了这个:

平台版本信息视窗:6.2.9200.0 (Win32NT)公共语言运行时:4.0.30319.34014System.Deployment.dll:4.0.30319.33440 构建者:FX45W81RTMRELclr.dll:4.0.30319.34014 构建者:FX45W81RTMGDRdfdll.dll:4.0.30319.33440 构建者:FX45W81RTMRELdfshim.dll : 6.3.9600.16384 (winblue_rtm.130821-1623)来源部署网址:http://github-windows.s3.amazonaws.com/GitHub.application错误总结下面是错误的摘要,这些错误的详细信息在日志后面列出.* 激活 http://github-windows.s3.amazonaws.com/GitHub.application 导致异常.检测到以下失败消息:+ 引用的程序集未安装在您的系统上.(来自 HRESULT 的异常:0x800736B3)组件商店交易失败总结没有检测到交易错误.警告在此操作期间没有警告.操作进度状态* [8/22/2014 12:51:27 AM]:http://github-windows.s3.amazonaws.com/GitHub.application 的激活已经开始.错误详情在此操作期间检测到以下错误.* [8/22/2014 12:51:28 AM] System.Runtime.InteropServices.COMException- 引用的程序集未安装在您的系统上.(来自 HRESULT 的异常:0x800736B3)- 来源:System.Deployment- 堆栈跟踪:在 System.Deployment.Internal.Isolation.IStore.GetAssemblyInformation(UInt32 Flags, IDefinitionIdentity DefinitionIdentity, Guid& riid)在 System.Deployment.Application.ComponentStore.GetSubscriptionStateInternal(DefinitionIdentity subId)在 System.Deployment.Application.SubscriptionStore.GetSubscriptionStateInternal(SubscriptionState subState)在 System.Deployment.Application.SubscriptionState.Validate()在 System.Deployment.Application.SubscriptionStore.CheckAndReferenceApplication(SubscriptionState subState, DefinitionAppId appId, Int64 transactionId)在 System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirectBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification 通知, DownloadOptions options, ServerInformation& serverInformation)在 System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification 通知, DownloadOptions 选项)在 System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)在 System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(对象状态)组件商店交易详情没有可用的交易信息.

根据 https://status.github.com/messages ,目前服务器没有问题.我在个人电脑上,所以连接应该没有任何问题.我尝试直接从 http://github-windows.s3.amazonaws.com/GitHub.application 下载应用程序a> ,但结果是一样的.

我运行的是 Windows 8.1 Pro x64.

<小时>

编辑 1:目前我正在解决无法通过首先在另一个系统上安装 GitHub for Windows,然后从 %appdata%\Local\Apps\2.0 获取新安装的文件,并将它们移动到系统的问题安装有问题.(完整目录为 %appdata%\Local\Apps\2.0\EWG9HYRR.BKG\2XKOJCRD.XRD\gith..tion_317444273a93ac29_0002.0002_f44dcb2e9d4cde94).

此解决方法的主要警告之一是,在有问题的系统上,Windows 版 GitHub 将报告这不是联网部署的应用程序".因此不会自动更新.

解决方案

在联系支持人员后,他们给我发了电子邮件并帮助我解决了阻止 GitHub for windows 安装的问题.

这是 ClickOnce 应用程序缓存的问题.

<块引用>

  1. 在继续之前,请确保您已连接.
  2. 有时防火墙可能会阻止此*.application
  3. 因此,请关闭私有公共配置文件的防火墙,然后重试.
  4. 如果问题仍然存在,您可以使用下面指定的流程.

  1. 按住 Windows 键并输入 R.
  2. 在运行对话框中输入 rundll32 %SystemRoot%\system32\dfshim.dll CleanOnlineAppCache 并点击 Enter.

然后尝试安装应用程序.

如果这不起作用,还有一种更手动的方法来确保清除缓存 - 您可以直接删除 ClickOnce Application 文件夹.在 Windows Vista 或更高版本上,这将是 %LocalAppData%\Apps\2.0 目录.只需删除 %LocalAppData%\Apps\2.0 目录并重新启动 github for windows.

如果运行安装程序后似乎没有任何反应,您可能需要重新启动 Windows 或 explorer.exe(如果使用 .msi 安装程序,应用程序可能位于:%LocalAppData%\GitHubDesktop)

I'm trying to install github for windows when I received this error:

Application cannot be started. Contact the application vendor.

The error log produced this:

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

SOURCES
    Deployment url          : http://github-windows.s3.amazonaws.com/GitHub.application

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:
        + The referenced assembly is not installed on your system. (Exception from HRESULT: 0x800736B3)

COMPONENT STORE TRANSACTION FAILURE SUMMARY
    No transaction error was detected.

WARNINGS
    There were no warnings during this operation.

OPERATION PROGRESS STATUS
    * [8/22/2014 12:51:27 AM] : Activation of http://github-windows.s3.amazonaws.com/GitHub.application has started.

ERROR DETAILS
    Following errors were detected during this operation.
    * [8/22/2014 12:51:28 AM] System.Runtime.InteropServices.COMException
        - The referenced assembly is not installed on your system. (Exception from HRESULT: 0x800736B3)
        - Source: System.Deployment
        - Stack trace:
            at System.Deployment.Internal.Isolation.IStore.GetAssemblyInformation(UInt32 Flags, IDefinitionIdentity DefinitionIdentity, Guid& riid)
            at System.Deployment.Application.ComponentStore.GetSubscriptionStateInternal(DefinitionIdentity subId)
            at System.Deployment.Application.SubscriptionStore.GetSubscriptionStateInternal(SubscriptionState subState)
            at System.Deployment.Application.SubscriptionState.Validate()
            at System.Deployment.Application.SubscriptionStore.CheckAndReferenceApplication(SubscriptionState subState, DefinitionAppId appId, Int64 transactionId)
            at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirectBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
            at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options)
            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.

According to https://status.github.com/messages , there are no issues currently with the servers. I am on a personal computer so there shouldn't be any issues with the connection. I tried downloading the application directly from http://github-windows.s3.amazonaws.com/GitHub.application , but the result was the same.

I am running Windows 8.1 Pro x64.


Edit 1: Currently I'm working around being unable to install GitHub for Windows by first installing it on another system, then taking the newly installed files from %appdata%\Local\Apps\2.0, and moving them to the system that is having trouble installing. (The full directory is %appdata%\Local\Apps\2.0\EWG9HYRR.BKG\2XKOJCRD.XRD\gith..tion_317444273a93ac29_0002.0002_f44dcb2e9d4cde94).

One of the major caveats of this workaround is that on the problem system, GitHub for Windows will report "This isn't a networked deployed app." and therefor not automatically update.

解决方案

After contacting support, they emailed me and helped me work through the problem preventing GitHub for windows from installing.

This is a problem with the ClickOnce Application Cache.

  1. Before proceeding make sure that you have connectivity.
  2. Sometimes Firewall may be blocking this *.application
  3. So turn off you firewall for private and public profile and then retry.
  4. If the issue persists, you can use the process specified below.

  1. Hold down the Windows key and type R.
  2. Type in rundll32 %SystemRoot%\system32\dfshim.dll CleanOnlineAppCache in the run dialog and hit Enter.

Then try installing the application.

If that doesn't work, there's a more manual approach to ensuring the cache is cleared - you can delete the ClickOnce Application folder directly. On Windows Vista or higher, this will be the %LocalAppData%\Apps\2.0 directory. Simply delete the %LocalAppData%\Apps\2.0 directory and restart github for windows.

If nothing seems to happen after running the installer, you may need to restart Windows, or explorer.exe (if using the .msi installer, the app may be in: %LocalAppData%\GitHubDesktop)

这篇关于无法为 Windows 安装 GitHub的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆