Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing GitHub for Windows

I'm trying to install GitHub for Windows. I tried installing it the normal way and got this error:

Application installation did not succeed. Cannot locate application files on the server. Contact the application vendor or your administrator for assistance.

Clicking on Details... gave me this:

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. 

I followed the advice on this post and downloaded github-windows.s3.amazonaws.com/GitHub.application with the latest version of Chrome. When I tried to run it, I got this error:

Application cannot be started. Contact the application vendor.

With this detail:

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. 

From here I'm stuck. Any advice would be much appreciated.

I'm on a work computer, so there may be some security settings blocking something, but I don't know about all that.

Thanks, Chris

like image 543
Chris Avatar asked May 21 '13 13:05

Chris


People also ask

Can I install Git via the command line on Windows?

To install Git, navigate to your command prompt shell and run the following command: sudo dnf install git-all . Once the command output has completed, you can verify the installation by typing: git version .

Can I install GitHub locally?

You can also install GitHub CLI to use GitHub from the command line. For more information, see "About GitHub CLI." If you want to work with Git locally, but do not want to use the command line, you can instead download and install the GitHub Desktop client.


2 Answers

Setup was stalling at around 85MB for me, after repeated attempts. After trying all these answers with no success, the one found here is the one that finally worked for me. I canceled, killed dfsvc.exe from Task Manager (I'm using Windows 10), deleted C:\Users\{username}\AppData\Local\Apps\2.0, opened up Internet Explorer (not Chrome or Firefox) and navigated to this exact URL:

https://github-windows.s3.amazonaws.com/GitHub.application 
like image 187
Jon Davis Avatar answered Sep 22 '22 06:09

Jon Davis


I had the exact same problem and it turned out that a Web Content Filtering system was getting errors for many of the git client files, some of them are included below.

Spoofed files

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 

Missing Digital Signature

http://github-windows.s3.amazonaws.com/Application Files/GitHub_1_0_48_0/chromium-pack.7z.deploy 

Number of contained files exceeds limit

http://github-windows.s3.amazonaws.com/Application Files/GitHub_1_0_48_0/PortableGit.7z.deploy 

I suppose you should contact your network admin and get him to set up exceptions for these files, or even better for the whole http://github-windows.s3.amazonaws.com. Still, IMHO, this shouldn't be happening. I'll try to get in touch with Github support.

like image 40
George Avatar answered Sep 24 '22 06:09

George