You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
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.
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.
@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:
Create a new fake user account, without spaces (i.e. just a single word)
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):
@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:
@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:
After changing the registry key (as mentioned above) everything works well.
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.
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.
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.
@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)
Activity
kevinsawicki commentedon Dec 12, 2014
So you downloaded
AtomSetup.exefrom https://atom.io ?benogle commentedon Dec 12, 2014
Can you take a screenshot? Is there any other information? Does the loading gif show?
kevinsawicki commentedon Dec 12, 2014
And you just double-clicked it to launch it and that is when you saw the "Instalation has failed/Failed to extract installer" message?
Jessica-Ferreira commentedon Dec 12, 2014
Yes, I did. First time using it.
Jessica-Ferreira commentedon Dec 12, 2014
When I try "open setup log" just opens a windows explorer window.
kevinsawicki commentedon Dec 12, 2014
/cc @paulcbetts any tips on this one?
Jessica-Ferreira commentedon Dec 12, 2014
And the loading gif doesn't show. After the open file safety warning the error message appears.
winstliu commentedon Dec 12, 2014
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.
anaisbetts commentedon Dec 13, 2014
@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:
It could be possible that you don't have access to your own %LocalAppData% directory? Is this on a corporate or IT-managed machine?
Jessica-Ferreira commentedon Dec 13, 2014
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:"
anaisbetts commentedon Dec 13, 2014
@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:
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):
mirhec commentedon Dec 18, 2014
@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%\atomdirectory:mirhec commentedon Dec 18, 2014
@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 registryHKCR\*\shell\Atom\commandwith 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:

After changing the registry key (as mentioned above) everything works well.
anaisbetts commentedon Dec 18, 2014
@mirhec Oops, I forgot that
--installwants a directory, not a file15 remaining items
winstliu commentedon Feb 5, 2015
@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.
anaisbetts commentedon Feb 5, 2015
@CSharpFan Hm, now that's interesting.
jcs224 commentedon Mar 10, 2015
Having this same issue now as well. I do happen to run this on a corporate computer.
anaisbetts commentedon Mar 10, 2015
@jcs224 Do you have the same issue, or do you just have an issue? Can you paste in your log file?
jcs224 commentedon Mar 10, 2015
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.
pingween commentedon Mar 16, 2015
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 directlyupdate.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.
mikememo commentedon Mar 25, 2015
For me, Group Policy blocks any executables running from AppData, temp folders, Downloads, etc.
anaisbetts commentedon Mar 25, 2015
@mikememo Oh yeah, don't do that :)
mikememo commentedon Mar 26, 2015
@paulcbetts Corporate GP -- it's saved our butts several times :) (notably, cryptolocker!)
stajs commentedon Mar 29, 2015
I've hit the Group Policy block too (not with Atom, but another Squirrel-based installer):
winstliu commentedon Mar 30, 2015
@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:
Thanks! 😄
anaisbetts commentedon Mar 30, 2015
This is tough if we can't run any code on the box :(
winstliu commentedon Mar 30, 2015
Sorry, misread one of your Squirrel commits. Updated slightly 😉.