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

问题描述:

尝试重新安装GitHub for Windows时出现错误。我试着用Firefox和Chrome下载安装文件。我还删除了$ USER \ Local Settings \ Apps中的2.0文件夹。这是日志。GitHub for Windows安装错误“应用程序无法启动”

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. 
+0

你有没有解决过这个问题? – Dano007

可以删除2.0文件夹:%USERPROFILE%\应用程序数据\本地\应用程序(例如C:\ Users \用户名\ AppData的\本地\ APPS)

它为我工作。 更多详细信息:https://superuser.com/questions/483515/github-for-windows-install-error

+0

-1。删除2.0文件夹将删除使用ClickOnce部署的所有应用程序,而不仅仅是Windows的GitHub。这就像建议删除程序文件,因为一个应用程序不工作... –

+0

我删除了2.0文件夹....但在我的情况下,虽然我仍然无法安装Github ...每当我尝试安装它创建2.0文件夹再次 –

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

+0

任何想法更新发生了什么?这是我第二次得到这个。 –

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

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

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

临时内存清理解决方案对我无效。我解决了我这个下面的步骤问题:

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

  2. 关键是关闭所有Visual Studio并停止任务管理器中的dfsvc.exe进程。

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