GitHub for Windows安装错误“应用程序无法启动”

时间:2013-07-25 02:31:27

标签: github windows-xp

尝试重新安装GitHub for Windows时出错。我尝试用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 个答案:

答案 0 :(得分:2)

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

它对我有用。 更多详情:https://superuser.com/questions/483515/github-for-windows-install-error

答案 1 :(得分:1)

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

答案 2 :(得分:0)

我知道这个帖子已经有几年了,但是发布它以便其他人可以使用它并看看它是否有帮助。

所以我最近遇到了这个问题,没有一个建议的清理工作对我有用。我清理了我的clickonce缓存,删除了2.0文件夹。使用IE作为有人建议而不是铬,什么不是。

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

答案 3 :(得分: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启动!它完美安装。