当我收到此错误时,我试图为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,目前服务器没有问题。 我在个人电脑上,所以连接不应该有任何问题。我尝试直接从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)。
此解决方案的一个主要警告是,在问题系统上,GitHub for Windows将报告"这不是一个联网的部署应用程序。"因此不会自动更新。
答案 0 :(得分:26)
联系支持后,他们通过电子邮件发送给我,帮助我解决了阻止GitHub安装Windows的问题。
这是ClickOnce应用程序缓存的问题。
- 继续操作之前,请确保您已连接。
- 有时防火墙可能阻止此 *。应用程序
- 请关闭私有和公开个人资料的防火墙,然后重试。
- 如果问题仍然存在,您可以使用下面指定的流程。
醇>
Windows
键并输入R
。rundll32 %SystemRoot%\system32\dfshim.dll CleanOnlineAppCache
,然后点击Enter
。然后尝试安装该应用程序。
如果这不起作用,那么可以采用更加手动的方法来确保清除缓存 - 您可以直接删除ClickOnce Application文件夹。在Windows Vista
或更高版本,这将是%LocalAppData%\Apps\2.0
目录。只需删除%LocalAppData%\Apps\2.0
目录并重新启动github for windows。
如果在运行安装程序后似乎没有发生任何事情,您可能需要重新启动Windows,或explorer.exe
(如果使用.msi安装程序,应用程序可能位于:%LocalAppData%\GitHubDesktop
)
答案 1 :(得分:16)
我有这个问题以及在Windows 8 x64上安装github,我尝试了上面有关删除2.0目录但没有运气的所有建议。后来我发现一个博客说有一个人通过使用Internet Explorer下载安装程序解决了这个问题(奇怪吧?)令人惊讶的是,它起作用了! Hre是链接https://github-windows.s3.amazonaws.com/GitHub.application所以我建议你这样做,至少IE是值得的:)
最佳
答案 2 :(得分:12)
对于Windows 8.1 64位,
就我而言,这没有任何故障。我希望这可以帮助你
答案 3 :(得分:2)
它对我来说很好。真的删除目录工作正常。
如果在资源管理器窗口中直接找到目录副本%LocalAppData%\ Apps \ 2.0时遇到问题。删除您在那里找到的每个文件夹,它都可以使用。
很棒的回答,因为它对我来说真的很烦人。
答案 4 :(得分:0)
我今天在Windows 10上遇到过这个问题所以问题仍然存在。 @JoeC上面提供的解决方案解决了我的问题。我收到的错误是:
PLATFORM VERSION INFO
Windows : 10.0.10586.0 (Win32NT)
Common Language Runtime : 4.0.30319.42000
System.Deployment.dll : 4.6.1038.0 built by: NETFXREL2
clr.dll : 4.6.1063.1 built by: NETFXREL3STAGE
dfdll.dll : 4.6.1038.0 built by: NETFXREL2
dfshim.dll : 10.0.10586.0 (th2_release.151029-1700)
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
* [2016-02-01 06:29:55] : Activation of http://github-windows.s3.amazonaws.com/GitHub.application has started.
ERROR DETAILS
Following errors were detected during this operation.
* [2016-02-01 06:29:56] 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.Internal.Isolation.Store.GetAssemblyManifest(UInt32 Flags, IDefinitionIdentity DefinitionIdentity)
at System.Deployment.Application.ComponentStore.GetAssemblyManifest(DefinitionIdentity asmId)
at System.Deployment.Application.ComponentStore.GetSubscriptionStateInternal(DefinitionIdentity subId)
at System.Deployment.Application.SubscriptionStore.GetSubscriptionStateInternal(SubscriptionState subState)
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.
答案 5 :(得分:0)
我在这里看到答案并明白我做了蠢事。 我刚刚制作了一个小脚本,在安装过程中复制了所有tmp文件。
制作小型Windows copygithub.cmd
文件:
:loop
xcopy C:\Users\Stall\AppData\Local\Temp\Deployment C:\github /y /h /i /s
goto loop
它只是loop
中的副本。在安装github之前启动它。收到错误后关闭。
一旦失败,所有文件都将被删除。所以我不想错过任何文件。此副本位于无限循环中。所以你应该在出错后停止它。
它没有解决问题,但我收到了工作github。 这就是我想要的。
答案 6 :(得分:0)
我们遇到的问题是,在每台设备上控制公司防火墙的第三方安全应用程序阻止ClickOnce通过WiFi访问dfshim.dll,因此我们的一个潜在解决方案是让我们的检查员启动.NET应用程序通过以太网连接,然后在应用程序启动后,他们可以出去执行检查。