2013-07-25 101 views
3

嘗試重新安裝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

可以刪除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文件夾再次 –

1

更新後有類似的問題。我去控制面板卸載應用程序,從這裏你可以恢復到以前的工作版本。

+0

任何想法更新發生了什麼?這是我第二次得到這個。 –

0

我知道這個帖子是一個幾歲,但發佈它,以便其他人可以使用它,看看是否有幫助。

所以我最近有這個問題,並沒有建議清理ups爲我工作。我清理了我的clickonce緩存,刪除了2.0文件夾。使用IE作爲有人建議,而不是鉻,什麼不是。

我終於找到了問題。訪問C:/ Windows/Temp/Deployment。訪問Temp文件夾爲我解決了它。

0

臨時內存清理解決方案對我無效。我解決了我這個下面的步驟問題:

  1. 事實證明,在Windows任務管理器的進程選項卡中的ClickOnce進程dfsvc.exe運行。當Visual Studio作爲VS實例打開時,此過程開始。它需要以GitHub Desktop實例啓動。

  2. 關鍵是關閉所有Visual Studio並停止任務管理器中的dfsvc.exe進程。

  3. 然後點擊桌面EXE的GitHub,你會看到一個dfsvc.exe進程。 dfsvc.exe需要啓動爲GitHub桌面安裝過程和Wala!它完美安裝。

相關問題