Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

I can’t install Atom - newbie #4583

Closed

Description

@Jessica-Ferreira

Hi, guys.
I've started to learn how to code and found out about Atom. I downloaded the installer and when I run it shows a error message "Instalation has failed/Failed to extract installer", even if I run as admin. Downloaded the installer twice. Am I doing something wrong? My os is win8 x64.
Thanks.

Activity

  1. kevinsawicki commented on Dec 12, 2014

    @kevinsawicki
    Contributor
  2. added
    windows
    on Dec 12, 2014
  3. benogle commented on Dec 12, 2014

    @benogle
    Contributor

    Can you take a screenshot? Is there any other information? Does the loading gif show?

  4. kevinsawicki commented on Dec 12, 2014

    @kevinsawicki
    Contributor

    And you just double-clicked it to launch it and that is when you saw the "Instalation has failed/Failed to extract installer" message?

  5. Jessica-Ferreira commented on Dec 12, 2014

    @Jessica-Ferreira
    Author

    Yes, I did. First time using it.

  6. Jessica-Ferreira commented on Dec 12, 2014

    @Jessica-Ferreira
    Author

    sem titulo

    When I try "open setup log" just opens a windows explorer window.

  7. kevinsawicki commented on Dec 12, 2014

    @kevinsawicki
    Contributor

    /cc @paulcbetts any tips on this one?

  8. Jessica-Ferreira commented on Dec 12, 2014

    @Jessica-Ferreira
    Author

    And the loading gif doesn't show. After the open file safety warning the error message appears.

  9. winstliu commented on Dec 12, 2014

    @winstliu
    Contributor

    What antiviruses do you have installed? There's been a lot of false positives going around when trying to install Atom, so it could be that your antivirus is preventing/deleting the installer.

  10. anaisbetts commented on Dec 13, 2014

    @anaisbetts
    Contributor

    @kevinsawicki I think that @50Wliu probably has the right idea, if you get that message it means that the initial extract fails, which consists of:

    1. Creating %LocalAppData%\SquirrelTemp
    2. Extracting a zip file from resources to that folder
    3. Executing update.exe

    It could be possible that you don't have access to your own %LocalAppData% directory? Is this on a corporate or IT-managed machine?

  11. Jessica-Ferreira commented on Dec 13, 2014

    @Jessica-Ferreira
    Author

    sem titulo2

    I use Kaspersky Pure 3.0. I've disabled it but still can't install. This is my personal notebook and I'm the only user (admin).

    I double-clicked update.exe, it flashed a dos window and created a SquirrelSetup.log that shows only "Program: Starting Squirrel Updater:"

  12. anaisbetts commented on Dec 13, 2014

    @anaisbetts
    Contributor

    @Jessica-Ferreira This is a total pain in the ass, but can you try the following to see if this is the bug I'm thinking it is:

    1. Create a new fake user account, without spaces (i.e. just a single word)
    2. Run the installer under that account

    If it works, then I am indeed a dummy, and you can get the app installed via the following command under your regular account (Open "Command Prompt" from the start menu):

    cd "%LocalAppData%\SquirrelTemp"
    .\Update.exe --install .
  13. mirhec commented on Dec 18, 2014

    @mirhec

    @paulcbetts I had the same problem, but the commandline you've given did not work for me. I've tried a little bit and came over to this command that actually installed atom in %LocalAppData%\atom directory:

    .\Update.exe --install . --packagesDir .\atom-0.161.0-full.nupkg
    
  14. mirhec commented on Dec 18, 2014

    @mirhec

    @paulcbetts Btw: The right click context menu that the installer automatically adds does not work as well. I needed to surround the atom command (Standard) in the registry HKCR\*\shell\Atom\command with quotation marks so it matches "C:\Users\My Username with Spaces\AppData\Local\atom\app-0.161.0\atom.exe" "%1"

    Some information: In my case I already opened Atom and then wanted to open another file, did a right click on that file and chose Open with Atom but this results in this error message:
    image
    After changing the registry key (as mentioned above) everything works well.

  15. anaisbetts commented on Dec 18, 2014

    @anaisbetts
    Contributor

    @mirhec Oops, I forgot that --install wants a directory, not a file

  16. 15 remaining items

  17. winstliu commented on Feb 5, 2015

    @winstliu
    Contributor

    @CSharpFan see #5109 for details.

    I'm going to close this bug because it seems a bit generic and issues aren't going to where they should be going.

  18. anaisbetts commented on Feb 5, 2015

    @anaisbetts
    Contributor

    @CSharpFan Hm, now that's interesting.

  19. jcs224 commented on Mar 10, 2015

    @jcs224

    Having this same issue now as well. I do happen to run this on a corporate computer.

  20. anaisbetts commented on Mar 10, 2015

    @anaisbetts
    Contributor

    @jcs224 Do you have the same issue, or do you just have an issue? Can you paste in your log file?

  21. jcs224 commented on Mar 10, 2015

    @jcs224

    Hey @paulcbetts , sorry to cause all this commotion, I also posted on thread #5881. The issue on this thread actually matches my issue, "Failed to extract installer" rather than a generic error message.

    Unfortunately, same deal, no log file present. Just opens up my Documents folder. Permissions issue, perhaps? Maybe I should check that.

    I will note that a co-worker just installed Atom on his machine a few minutes ago, near-identical setup and it works fine, so my issue might be more unique to me.

  22. pingween commented on Mar 16, 2015

    @pingween

    I ran into this issue (trying to install with chocolately first, then running the downloaded setup directly) with the same results - no log file, nothing useful in %LocalAppData%\SquirrelTemp.

    I tried to run update.exe from the command line and it turns out the Active directory Group Policy blockes update.exe (company notebook), but it only tells when you run directly update.exe. You might wanna check this with your system administrator if that's the case.

    A possible workaround is to rename the nupkg to a .zip and unzip lib\net45's contents to %LocalAppData%\atom\app-{version}.

    Due to the Group Policies it won't update automatically anyhow, so, it works for me.

  23. mikememo commented on Mar 25, 2015

    @mikememo

    For me, Group Policy blocks any executables running from AppData, temp folders, Downloads, etc.

  24. anaisbetts commented on Mar 25, 2015

    @anaisbetts
    Contributor

    @mikememo Oh yeah, don't do that :)

  25. mikememo commented on Mar 26, 2015

    @mikememo

    @paulcbetts Corporate GP -- it's saved our butts several times :) (notably, cryptolocker!)

  26. stajs commented on Mar 29, 2015

    @stajs

    I've hit the Group Policy block too (not with Atom, but another Squirrel-based installer):

    C:\Users\<Name>\AppData\Local\SquirrelTemp>Update.exe --install. --packagesDir .\<Package>.nupkg
    This program is blocked by group policy. For more information, contact your system administrator.
    
  27. winstliu commented on Mar 30, 2015

    @winstliu
    Contributor

    @stajs @paulcbetts has stated that he might work on an installer that will write to Program Files instead, but it'll be in the distant future.


    I'm locking this issue because it's drawn a lot of generic "the installer isn't working" comments when usually it's better to create a new issue or find a recently-closed/still-open issue to comment on.

    If you have an issue with the installer, first please check for duplicates using the installer label. If there's nothing that matches your error, feel free to create a new issue containing the following info:

    • Your Atom version
    • The Squirrel setup log
    • Your Windows version
    • Whether or not you're behind a proxy
    • Whether or not your company is restricting installations through group policy (Squirrel will have better error messages for this in the future for some cases)
    • What antiviruses you're running
    • Any other info that you feel like might be useful

    Thanks! 😄

  28. locked and limited conversation to collaborators on Mar 30, 2015
  29. anaisbetts commented on Mar 30, 2015

    @anaisbetts
    Contributor

    Whether or not your company is restricting installations through group policy (this should be reported automatically in future versions of Atom)

    This is tough if we can't run any code on the box :(

  30. winstliu commented on Mar 30, 2015

    @winstliu
    Contributor

    Sorry, misread one of your Squirrel commits. Updated slightly 😉.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    windows

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions