3

尝试重新安装适用于 Windows 的 GitHub 时出现错误。我试过用 Firefox 和 Chrome 下载安装文件。我还删除了 $USER\Local Settings\Apps 中的 2.0 文件夹。这是日志。

PLATFORM VERSION INFO
    Windows             : 5.1.2600.196608 (Win32NT)
    Common Language Runtime     : 4.0.30319.1008
    System.Deployment.dll       : 4.0.30319.1 (RTMRel.030319-0100)
    clr.dll             : 4.0.30319.1008 (RTMGDR.030319-1000)
    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_52_0/GitHub.exe.manifest
                        Server      : AmazonS3

IDENTITIES
    Deployment Identity     : GitHub.application, Version=1.0.52.0, Culture=neutral, PublicKeyToken=, processorArchitecture=x86
    Application Identity        : GitHub.exe, Version=1.0.52.0, Culture=neutral, PublicKeyToken=, 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:
        + Failed to load the runtime. (Exception from HRESULT: 0x80131700)

COMPONENT STORE TRANSACTION FAILURE SUMMARY
    No transaction error was detected.

WARNINGS
    There were no warnings during this operation.

OPERATION PROGRESS STATUS
    * [7/24/2013 4:25:30 PM] : Activation of http://github-windows.s3.amazonaws.com/GitHub.application has started.
    * [7/24/2013 4:25:31 PM] : Processing of deployment manifest has successfully completed.
    * [7/24/2013 4:25:31 PM] : Installation of the application has started.
    * [7/24/2013 4:25:32 PM] : Processing of application manifest has successfully completed.
    * [7/24/2013 4:25:33 PM] : Found compatible runtime version 4.0.30319.
    * [7/24/2013 4:25:33 PM] : Request of trust and detection of platform is complete.
    * [7/24/2013 4:28:57 PM] : Downloading of subscription dependencies is complete.
    * [7/24/2013 4:28:57 PM] : Commit of the downloaded application has started.

ERROR DETAILS
    Following errors were detected during this operation.
    * [7/24/2013 4:28:57 PM] System.Runtime.InteropServices.COMException
        - Failed to load the runtime. (Exception from HRESULT: 0x80131700)
        - Source: System.Deployment
        - Stack trace:
            at System.Deployment.Application.NativeMethods.GetRequestedRuntimeInfo(String pExe, String pwszVersion, String pConfigurationFile, UInt32 startupFlags, UInt32 runtimeInfoFlags, StringBuilder pDirectory, UInt32 dwDirectory, UInt32& dwDirectoryLength, StringBuilder pVersion, UInt32 cchBuffer, UInt32& dwLength)
            at System.Deployment.Application.Win32InterOp.SystemUtils.CheckSupportedImageAndCLRVersions(String path)
            at System.Deployment.Application.SubscriptionStore.CheckApplicationPayload(CommitApplicationParams commitParams)
            at System.Deployment.Application.SubscriptionStore.CommitApplication(SubscriptionState& subState, CommitApplicationParams commitParams)
            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.
4

4 回答 4

2

您可以删除 2.0 文件夹: : %userprofile%\AppData\Local\Apps (例如 C:\users\Username\AppData\Local\Apps)

这个对我有用。更多细节:https ://superuser.com/questions/483515/github-for-windows-install-error

于 2014-01-20T07:54:05.587 回答
1

更新后我遇到了类似的问题。我从控制面板卸载了该应用程序,然后您可以从这里恢复到以前的工作版本。

于 2014-11-19T17:38:15.753 回答
0

我知道这篇文章已经有几年的历史了,但是发布它以便其他人可以使用它并查看它是否有帮助。

所以我最近遇到了这个问题,建议的清理方法都不适合我。我清理了 clickonce 缓存,删除了 2.0 文件夹。像有人建议的那样使用 IE 而不是 chrome 等等。

我终于找到了问题。访问 C:/Windows/Temp/Deployment。访问 Temp 文件夹为我解决了这个问题。

于 2016-01-11T19:00:27.993 回答
0

临时内存清理解决方案对我不起作用。我通过以下步骤解决了我的问题:

  1. 事实证明,在 Windows 任务管理器的进程选项卡中,一个 ClickOnce 进程 dfsvc.exe 正在运行。此过程在 Visual Studio 作为 VS 实例打开时开始。它需要作为 GitHub Desktop 实例启动。

  2. 诀窍是关闭所有 Visual Studio 并从任务管理器停止 dfsvc.exe 进程。

  3. 然后点击 GitHub for Desktop EXE,你会看到一个 dfsvc.exe 进程。dfsvc.exe 需要作为 GitHub Desktop 安装过程和 Wala 一样启动!它安装完美。

于 2016-05-09T10:13:24.527 回答