我正在尝试为Windows安装GitHub。我尝试以正常方式安装它并收到此错误:
Application installation did not succeed. Cannot locate application files on the server. Contact the application vendor or your administrator for assistance.
点击Details...
给了我这个:
PLATFORM VERSION INFO
Windows : 6.1.7601.65536 (Win32NT)
Common Language Runtime : 4.0.30319.18034
System.Deployment.dll : 4.0.30319.17929 built by: FX45RTMREL
clr.dll : 4.0.30319.18034 built by: FX45RTMGDR
dfdll.dll : 4.0.30319.17929 built by: FX45RTMREL
dfshim.dll : 4.0.41209.0 (Main.041209-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_47_0/GitHub.exe.manifest
Server : AmazonS3
IDENTITIES
Deployment Identity : GitHub.application, Version=1.0.47.0, Culture=neutral, PublicKeyToken=317444273a93ac29, processorArchitecture=x86
Application Identity : GitHub.exe, Version=1.0.47.0, Culture=neutral, PublicKeyToken=317444273a93ac29, 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:
+ Downloading http://github-windows.s3.amazonaws.com/Application Files/GitHub_1_0_47_0/msvcp100.dll.deploy did not succeed.
+ The remote server returned an error: (403) Forbidden.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [5/21/2013 8:19:19 AM] : Activation of http://github-windows.s3.amazonaws.com/GitHub.application has started.
* [5/21/2013 8:19:19 AM] : Processing of deployment manifest has successfully completed.
* [5/21/2013 8:19:19 AM] : Installation of the application has started.
* [5/21/2013 8:19:20 AM] : Processing of application manifest has successfully completed.
* [5/21/2013 8:19:24 AM] : Found compatible runtime version 4.0.30319.
* [5/21/2013 8:19:24 AM] : Request of trust and detection of platform is complete.
ERROR DETAILS
Following errors were detected during this operation.
* [5/21/2013 8:19:25 AM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
- Downloading http://github-windows.s3.amazonaws.com/Application Files/GitHub_1_0_47_0/msvcp100.dll.deploy did not succeed.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)
at System.Deployment.Application.DownloadManager.DownloadDependencies(SubscriptionState subState, AssemblyManifest deployManifest, AssemblyManifest appManifest, Uri sourceUriBase, String targetDirectory, String group, IDownloadNotification notification, DownloadOptions options)
at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp)
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)
--- Inner Exception ---
System.Net.WebException
- The remote server returned an error: (403) Forbidden.
- Source: System
- Stack trace:
at System.Net.HttpWebRequest.GetResponse()
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
我按照this post上的建议,并使用最新版本的Chrome下载了github-windows.s3.amazonaws.com/GitHub.application。当我试图运行它时,我收到了这个错误:
Application cannot be started. Contact the application vendor.
有了这个细节:
PLATFORM VERSION INFO
Windows : 6.1.7601.65536 (Win32NT)
Common Language Runtime : 4.0.30319.18034
System.Deployment.dll : 4.0.30319.17929 built by: FX45RTMREL
clr.dll : 4.0.30319.18034 built by: FX45RTMGDR
dfdll.dll : 4.0.30319.17929 built by: FX45RTMREL
dfshim.dll : 4.0.41209.0 (Main.041209-0000)
SOURCES
Deployment url : file:///C:/Users/SESA277661/Downloads/GitHub.application
IDENTITIES
Deployment Identity : GitHub.application, Version=1.0.47.0, Culture=neutral, PublicKeyToken=317444273a93ac29, processorArchitecture=x86
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 C:\Users\SESA277661\Downloads\GitHub.application resulted in exception. Following failure messages were detected:
+ Deployment and application do not have matching security zones.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [5/21/2013 8:29:33 AM] : Activation of C:\Users\SESA277661\Downloads\GitHub.application has started.
* [5/21/2013 8:29:33 AM] : Processing of deployment manifest has successfully completed.
* [5/21/2013 8:29:33 AM] : Installation of the application has started.
ERROR DETAILS
Following errors were detected during this operation.
* [5/21/2013 8:29:33 AM] System.Deployment.Application.InvalidDeploymentException (Zone)
- Deployment and application do not have matching security zones.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, IDownloadNotification notification, DownloadOptions options, Uri& appSourceUri, String& appManifestPath)
at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, Uri& appSourceUri, String& appManifestPath)
at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp)
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 :(得分:36)
https://github-windows.s3.amazonaws.com/GitHub.application
答案 1 :(得分:6)
我遇到了完全相同的问题,结果发现Web内容过滤系统的许多git客户端文件都出现了错误,其中一些文件包含在下面。
欺骗文件
http://github-windows.s3.amazonaws.com/Application Files/GitHub_1_0_48_0/msvcp100.dll.deploy
http://github-windows.s3.amazonaws.com/Application Files/GitHub_1_0_48_0/sqlite3.dll.deploy
http://github-windows.s3.amazonaws.com/Application Files/GitHub_1_0_48_0/7za.exe.deploy
http://github-windows.s3.amazonaws.com/Application Files/GitHub_1_0_48_0/RestSharp.dll.deploy
http://github-windows.s3.amazonaws.com/Application Files/GitHub_1_0_48_0/git2.dll.deploy
http://github-windows.s3.amazonaws.com/Application Files/GitHub_1_0_48_0/ReactiveUI.Xaml.dll.deploy
http://github-windows.s3.amazonaws.com/Application Files/GitHub_1_0_48_0/zh-Hant/Microsoft.Expression.Interactions.resources.dll.deploy
http://github-windows.s3.amazonaws.com/Application Files/GitHub_1_0_48_0/GitHub.UI.dll.deploy
http://github-windows.s3.amazonaws.com/Application Files/GitHub_1_0_48_0/GitHub.exe.deploy
缺少数字签名
http://github-windows.s3.amazonaws.com/Application Files/GitHub_1_0_48_0/chromium-pack.7z.deploy
包含的文件数量超出限制
http://github-windows.s3.amazonaws.com/Application Files/GitHub_1_0_48_0/PortableGit.7z.deploy
我想你应该联系你的网络管理员并让他为这些文件设置例外,甚至更好地为整个http://github-windows.s3.amazonaws.com设置例外。恕我直言,这不应该发生。我将尝试与Github支持联系。
答案 2 :(得分:6)
我刚刚遇到同样的问题,我能够下载安装程序,但是在安装程序(GitHubSetup.exe)完成下载之后,程序将无法启动,它会在错误日志中崩溃。 我正在使用Windows 8.1;我在Windows 7中从未遇到任何麻烦。 所以我尝试右键单击并“以管理员身份运行”,它再次进行了下载,然后启动就好了。
答案 3 :(得分:4)
我遇到了类似的问题:75%的文件被下载后,它就被卡住了。 然后5分钟左右,我收到了你所做的完全相同的错误信息。
当Geogrgios提及above时,您需要向防火墙添加例外。
可以找到更好的说明(带截图)here
答案 4 :(得分:4)
我打开了Microsoft边缘并导航到:
https://github-windows.s3.amazonaws.com/GitHub.application
第一次工作!
也可以在Internet Explorer中使用
得到了这个想法: stimpy77
答案 5 :(得分:2)
我也面临类似的问题。根本原因是两倍。 1.代理:我是公司代理的后面,这阻止我连接到下载中心。 2.防火墙:我使用的是企业级笔记本电脑,其中启用了Symantec网络访问控制(此处存在防火墙相关设置)
我禁用了Symantec网络访问控制,并使用我的个人内部连接进行下载和安装。之后没有遇到任何问题。
答案 6 :(得分:2)
从Chrome切换到Internet Explorer为我做了诀窍=)我不知道为什么,但它确实有帮助。下载了95%(!!)的文件后,它就卡住了。
答案 7 :(得分:1)
如果您正在使用卡巴斯基,请先禁用保护和控制。 Kaspersky Antivirus以静默方式删除所有部署文件,给出这样的错误(来自install.log
):
Launching Application.
URLDownloadToCacheFile failed with HRESULT '-2146697211'
Error: An error occurred trying to download 'http://github-windows.s3.amazonaws.com/GitHub.application'.
或者像这样(下载http://github-windows.s3.amazonaws.com/GitHub.application并手动启动):
* [15/09/2015 11:58:50] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
- Unsuccessfull download at file:///C:/Users/user/Downloads/Application Files/GitHub_3_0_5_2/GitHub.exe.manifest.
- Source: System.Deployment
- Stack trace:
in System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
in System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
in System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)
in System.Deployment.Application.DownloadManager.DownloadManifestAsRawFile(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
in System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, IDownloadNotification notification, DownloadOptions options, Uri& appSourceUri, String& appManifestPath)
in System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp)
in System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState& subState, ActivationDescription actDesc)
in System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
in System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
--- Internal exception ---
答案 8 :(得分:1)
如果您使用的是Windows 10:
答案 9 :(得分:0)
我遇到了同样的问题,当我试图在我的Windows 8 Pro上安装github时,得到了20次以上的问题。
在不知不觉中发现的解决方案是 - 登录Github帐户,然后下载软件包,尝试安装而不注销直到安装complition。
它对我有用..请尝试提供,如果你有更好的方法来处理这个。
感谢。
答案 10 :(得分:0)
原来问题是我的公司网络阻止了网络级别的下载。我通过个人VPN超越公司的网络政策解决了这个问题。
当我尝试下载GitHub时,ClickOnce应用程序将安装时出现以下错误:
错误摘要 下面是错误的摘要,这些错误的详细信息将在后面的日志中列出。 *激活C:\ Users \ Judah \ AppData \ Roaming \ Microsoft \ Windows \ Start Menu \ Programs \ GitHub,Inc \ GitHub.appref-ms |导致例外。检测到以下失败消息:
+ Downloading http://github-windows.s3.amazonaws.com/Application Files/GitHub_3_1_1_4/libGLESv2.dll.deploy did not succeed. + Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. + An existing connection was forcibly closed by the remote host
错误消息显示无法下载http://github-windows.s3.amazonaws.com/Application Files/GitHub_3_1_1_4/libGLESv2.dll.deploy
。尝试使用Chrome,IE和Edge直接下载该文件都失败了。
我开始怀疑这是阻止下载的企业网络政策。
所以,我连接到个人VPN,再次下载,它工作。您可以在手机上使用VPN或网络共享,也可以在公司网络外部使用其他网络进行下载。
答案 11 :(得分:0)
当我尝试安装它时,我也遇到了同样的问题。即使我使用VPN,由于网络配置问题,我也无法安装它。所以我关闭了防火墙并尝试安装它。它在某些供应商问题上并没有为我工作,我尝试重新安装它。最后,它对我有用。
答案 12 :(得分:0)
感谢this帖子,我刚刚使用了Internet Explorer并导航到:
https://github-windows.s3.amazonaws.com/GitHub.application
它完全安装了Github for Windows(我有Windows 8.1)。
在此之前,使用我使用Chrome下载的安装程序,我无法安装适用于Windows的Github(我曾经获得上述"未成功"错误)。
答案 13 :(得分:0)
对以前的答案稍作阐述:
1-打开Windows资源管理器(按“ Windows + E ”)
2-在地址栏中输入%LocalAppData%\ Apps ,然后按Enter键。
3-它应该找到一个文件夹“ 2 ”。删除文件夹“2”。
4-打开任务管理器(“开始”菜单,然后键入任务管理器并选择它。 或者按Ctrl + Alt + Delete并选择任务管理器。
5-点击“详细信息”标签。
6-杀死所有名为 dfsvc.exe 的文件(对我来说有两个)。
7-打开Internet Explorer(IE)
8-将此地址粘贴到地址栏中,然后按Enter键:
9-它将开始为Wiindows安装Github。
答案 14 :(得分:0)
要解决此问题:
Windows Firewall
=> Advanced
部分Action
> Properties
firwall state
设置为off
。 windows defender
或任何其他防病毒软件。run
按钮Windows + R
窗口
%LocalAppData%\Apps
" Microsoft edge
或Internet Explorer
此过程将比平时慢,但让它运行的时间可以长。然后,当桌面结束时,你应该在桌面上有一个Github图标和Shell窗口图标。