Installing GitHub for Windows

后端 未结 15 1107
深忆病人
深忆病人 2020-12-24 12:49

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 a

相关标签:
15条回答
  • 2020-12-24 13:04

    I too faced a similar issue. The root cause was two fold. 1. Proxy: I was behind a corporate proxy, which prevented me from connecting to the download center. 2. Firewall: I was using a corporate laptop in which Symantec network access control was enabled (Firewall related settings are present here)

    I disabled the Symantec network access control and used my personal internt connection to download and install. Did not face any issues after that.

    0 讨论(0)
  • 2020-12-24 13:04

    To resolve this issue :

    1. Goto Windows Firewall => Advanced section
    2. Goto Action > Properties
    3. set firwall state to off in domain, private and public.
    4. Disable windows defender or any other antivirus.
    5. Open run window by clicking Windows + R button
    6. Paste "%LocalAppData%\Apps"
    7. Delete the folder named "2.0".
    8. Open Microsoft edge or Internet Explorer
    9. Open "https://github-windows.s3.amazonaws.com/GitHub.application"
    10. Click on Install.

    This process will be slower than usual but let it run for as long as it takes. And then you should have an Github icon and Shell window icon in your desktop when it ends.

    0 讨论(0)
  • 2020-12-24 13:05

    I was just having this same problem, I was able to download the installer but after the installer (GitHubSetup.exe) finished doing it's downloading, the program wouldn't launch, it crashed with an error log. I'm using Windows 8.1; I have never had any trouble in Windows 7. So I tried right-clicking and "Run as Administrator", it again did it's downloading thing and then launched just fine.

    0 讨论(0)
  • 2020-12-24 13:07

    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
    
    0 讨论(0)
  • 2020-12-24 13:13

    I opened Microsoft edge and navigated to:

    https://github-windows.s3.amazonaws.com/GitHub.application

    worked first time !

    might also work in internet explorer

    got the idea from: stimpy77

    https://stackoverflow.com/a/33021657/606724

    0 讨论(0)
  • 2020-12-24 13:17

    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.

    0 讨论(0)
提交回复
热议问题