无法安装 Windows 版 GitHub

2024-01-28

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

Application cannot be started. Contact the application vendor.

错误日志产生了这样的结果:

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.

根据https://status.github.com/messages https://status.github.com/messages,目前服务器没有问题。 我使用的是个人计算机,因此连接应该不会有任何问题。我尝试直接从下载应用程序http://github-windows.s3.amazonaws.com/GitHub.application http://github-windows.s3.amazonaws.com/GitHub.application,但结果是一样的。

我运行的是 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. 有时防火墙可能会阻止此操作*。应用
  3. 所以关闭你的防火墙private and public配置文件,然后重试。
  4. 如果问题仍然存在,您可以使用下面指定的流程。
  1. 按住Windows键和类型R.
  2. Type in rundll32 %SystemRoot%\system32\dfshim.dll CleanOnlineAppCache在运行对话框中并点击Enter.

然后尝试安装该应用程序。

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

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

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

无法安装 Windows 版 GitHub 的相关文章

  • Git 说是最新的,尽管更改是远程进行的

    使用 git bash 我在我的主分支上工作 推送它并决定我想要实现一个新功能 我为此创建了一个新分支 后来我添加了另一个功能 创建了另一个分支 我测试了所有内容并且它正常工作 所以我决定将所有内容合并到我的主分支 我将两个新分支推送到远程
  • Windows 客户端的 GitHub 中的拉/推命令在哪里?

    我在 Mac 上使用 GitHub 一段时间了 正准备帮助同 事在 Windows 上安装它 我找不到任何菜单或任何按钮来启动 推 或 拉 就像在 Mac 上一样 我看到它的唯一方法是打开外壳并执行git pull 但那么 UI 的意义何在
  • GitHub for Windows/Mac 的“发布”功能是什么?

    Like in GitHub for Windows 的 同步 有什么作用 https stackoverflow com questions 12104513 what does github for windows sync do Gi
  • 在 WINRT 应用程序中禁用邮件正文

    我有一个date picker and time picker在我的应用程序中 我正在尝试按照描述发送邮件here https stackoverflow com questions 12732263 how do i send an em
  • 我可以同时使用 SourceTree 和 GitHub 应用程序吗?

    作为一名新手 我更喜欢 GitHub 应用程序本身的简单性来处理我们 GitHub 托管的 git 项目 但是 要同步 推拉另一个遥控器 我需要尝试 SourceTree 我没有足够的信心将所有内容都保留在命令行中 我可以使用 GitHub
  • Windows 8.1 Metro 应用程序 - 捏合和缩放图像

    有没有办法在 Windows 8 1 中的 XAML 中实现捏合和缩放图像控件 我正在尝试操作增量事件 但该事件没有被触发 我也尝试设置 ManipulationMode All
  • RestSharp:无法创建 SSL/TLS 安全通道

    我尝试在全新安装的 Windows 8 1 上使用 Visual Studio 2012 Express 中的 RestSharp 我尝试使用的 API 仅支持 SSL 的 RC4 SHA 证书有效 var client new RestC
  • 在 Windows 10 UWP 中处理挂起、恢复和激活

    在 Windows 8 1 通用应用程序中 挂起 恢复模式是使用NavigationHelper cs ans SuspensionManager csAPP 模板中包含的类 Windows 10 UWP 应用程序中似乎不存在这些类 有没有
  • w8 默认平板电脑设置与 WPF 布局冲突

    我有一个 WPF 桌面应用程序 我收到 W8 用户的报告 称我们应用程序中的代码完成窗口未正确对齐 我调查发现它是W8平板电脑设置中的一个设置与wpf中弹出窗口的位置冲突 Default is right handed and then t
  • 在 Windows 8、python 3.3 中创建虚拟环境时出现问题

    我正在尝试在 Python 中创建虚拟环境 但无论重新安装 python setuptools 和 pip 多少次 我总是会收到错误 我的计算机运行的是 Windows 8 并且使用的是 Python 3 3 E Documents pro
  • C# CultureInfo.CurrentCulture 显示 en_US 但我的 Windows 设置设置为南非

    我将 Windows 8 1 控制面板中的区域 位置更改为南非 当我从 Visual Studio 2013 启动我的应用程序并获取 CultureInfo CurrentUICulture 时 它 仍然显示 en US public Cu
  • ssl 证书代码异常

    我与 sslStream 建立了客户端服务器套接字连接 但当代码到达行时 服务器上出现异常作为服务器进行身份验证我在互联网上搜索 但找不到为什么会发生这种情况的好答案 我在项目中创建了 pfx 测试文件 并为其设置了一个简单的密码 我不知道
  • Windows 下以 cygwin 和 Github 结尾的行

    我希望能够使用 Windows 应用程序的 Github 以及使用 Cygwin 在 Windows 上 的命令行中的 git 来处理我的 git 项目 但当我从一种切换到另一种时 我不断遇到行尾问题 如果使用命令行工具存储库没有更改 它将
  • 是否可以从 Visual Studio 2013 创建 Windows 8 应用商店应用程序?

    因此 我有一台安装了 Visual Studio 2013 的 Windows 8 1 计算机 每当我去创建新的 Windows 应用商店项目时 我都看不到任何创建新的 Windows 8 应用商店应用程序的选项 而不是 Windows 8
  • http客户端在Windows 8.1中取消请求

    我正在开发一个 Windows Phone 8 1 项目 Windows 8 1 中有两个版本的 http 客户端 system net http and windows web http Microsoft 建议使用后者 所以 我决定接受
  • 是否可以将 Firebase 与 Windows 8 应用结合使用?

    我希望在使用 WinJS 制作的 Windows 8 应用程序中使用 Firebase 以下是我尝试写入 Firebase 根目录的方式 var dataRef new Firebase https
  • 如何检测Windows 8.1开始菜单?

    当我们在 Windows 8 1 上按下开始菜单时 它会以磁贴的形式显示所有新的开始菜单以及应用程序 该菜单显示在整个屏幕上 有没有办法检测这个菜单是否在 C 中打开 8 1 SDK 中是否有 winAPI 可以执行此操作 提前致谢 调用
  • Git:从 master 以外的分支克隆

    我正在尝试从 Github 的存储库中提取数据 但我不想克隆主分支 我想克隆其他一些分支 当我尝试时git clone
  • 依赖遍历器挂起

    当 my xll 插件加载到我的客户端 PC 上时 我遇到了问题 它在启动时使 Excel 崩溃 可能是因为缺少依赖的 dll 我知道可以在配置文件模式下使用 dependency walker 来找出 exe 运行时加载了哪些 dll 当
  • 未生成 appxupload 包。仅生成测试包

    我正在开发一个通用的 Windows 应用程序 当我尝试使用商店 gt 创建应用程序包创建包时 它仅创建测试包 在AppPackages目录中 我只能找到一个带有 test的文件夹 如何确保创建的 appxupload 包可以上传到 Win

随机推荐