Atom не устанавливается

Обновлено: 07.07.2024

I downloaded the installer from the official site and when I run it, I get the error message in the title. I've been researching this issue and I've found that problem may lie in Update.exe. When I go to

I find the Update.exe file. I can open and edit all other files in this directory, but when I try to open Update.exe, I get the error:

"Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item."

But when I look at the security tab in the properties dialog of Update.exe, it shows that my account has full access.

I have no idea how to fix this issue.

The text was updated successfully, but these errors were encountered:

And the log say:

After this error, i've found the full Atom app (0.182.0) inside the folder AppData\Local\atom\app-0.182.0. I've tried to run Atom.exe inside this folder and the app start regularly and i have linked the .exe file to desktop. The directory \bin does not exist in AppData\Local\atom

The text was updated successfully, but these errors were encountered:

50Wliu commented Feb 26, 2015

batjko commented Feb 26, 2015

equinusocio changed the title Atom installation and update error on Windows 8.1 Feb 26, 2015

anaisbetts commented Feb 26, 2015

Is this happening all the time? Usually this happens when you try to uninstall then immediately reinstall, but atom.exe is still hanging around

DavidA2014 commented Feb 27, 2015

I rebooted and repeated the install of 0.184. Again I saw the 'Install has failed' message box shown in equinusocio's post above.

anaisbetts commented Feb 27, 2015

Do you have an Antivirus product? Does it suck?

andischerer commented Feb 27, 2015

got the same Problem with the same logmessages. After killing the hole "%LOCALAPPDATA%\Temp" folder atom installs successfully.

basarat commented Feb 28, 2015

Getting the same error. Only since yesterday.

basarat commented Feb 28, 2015

The following worked:

Delete the whole of %LOCALAPPDATA%\Temp

DerekTurtleRoe commented Feb 28, 2015

Actually, I got the same error when I tried to install on Windows 7. Have no AV running, no other processes open, no firewall, nothing.

Using the zipped version worked fine though, so the installer is the problem.

I also tried it on my Windows 8 PC, with Windows Defender off and it still did that.

Anybody found a fix besides turning AVs off?

equinusocio commented Feb 28, 2015

The issue was fixed by purging the %LOCALAPPDATA%\Temp folder. In my temp folder there were a lot of temporary folders of atom. By deleting this folders the atom installer run ok. Try it.

I think that the installer crash when find others atom temp folders.

andischerer commented Feb 28, 2015

PS: I cam up to the solution of purging %LOCALAPPDATA%\Temp by looking at the callstack. System.IO.Path.InternalGetTempFileName(Boolean checkHost) is failing in case of a thrown IO-Exception.

  • The GetTempFileName method will raise an IOException if no unique temporary file name is available. To resolve this error, delete all unneeded temporary files.
  • The GetTempFileName method will raise an IOException if it is used to create more than 65535 files without deleting previous temporary files.

batjko commented Feb 28, 2015

Well, I wouldn't say it's the solution, since the actual root cause is
unknown and still needs to be looked into.
But at least there's an easy workaround now.

anaisbetts commented Mar 1, 2015

Windows Defender should be fine, you do not need to disable it.

DerekTurtleRoe commented Mar 2, 2015

I purged the temp directory and it still doesn't work.

Not sure what is causing the problem.

The application still works fine as I said, and it works great. The installer just keeps giving me trouble.

basarat commented Mar 2, 2015

@vgturtle127 which version is it. I had trouble with updating before 182. That's why I uninstalled on this machine but couldn't install anymore till I cleared my temp directory.

anaisbetts commented Mar 2, 2015

@vgturtle127 Can you paste the actual error you receive? A lot of people on these threads are self-diagnosing "the same error" when it's not actually the case

Trudko commented Mar 2, 2015

DavidA2014 commented Mar 2, 2015

Deleting the contents of "%LOCALAPPDATA%\Temp" fixed this issue for me.

DerekTurtleRoe commented Mar 2, 2015

I am using the 184 installer now. I tried running CCleaner and restarting my computer. It still doesn't work.

I thought it might have had something to do with previous Atom data getting in the way, so I used Revo Uninstaller to uninstall Atom and then ran CCleaner, BleachBit, and System Ninja (latest versions) all with Winapp2.ini. I deleted all portable versions of Atom as well. I also deleted all the installers and archives containing Atom. Then I restarted. After that, I re-downloaded the latest installer (184), and tried to re-run it. This time, the installer started and displayed the error message (pictured above) but this time the log was fresh, and it was fine until it started to write data to the AppData directory. That is when it crashed and displayed the error message.

Tried the same on my Windows 8 machine and it did the same thing.

Like I said, the zip folder works fine. Just not the installer.

anaisbetts commented Mar 2, 2015

@vgturtle127 Can you paste the actual error you receive on clean install please? You don't have to run all those crazy programs to reset Atom, just delete C:\Users\YOURNAME\AppData\Local\atom and C:\Users\YOURNAME\AppData\Local\SquirrelTemp and run the installer again.

DerekTurtleRoe commented Mar 3, 2015

Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\Turtle\AppData\Local\SquirrelTemp

in System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
in System.IO.__Error.WinIOError()

Then I get some more garbage about System.IO, but it crashes after that.

DerekTurtleRoe commented Mar 3, 2015

I also have the crash log if you would rather have that.

DerekTurtleRoe commented Mar 3, 2015

Squirrel Updater log:

Notice the access denied in the first AppData.

I am using an admin account and running as admin as well.

50Wliu commented Mar 3, 2015

Are you saying you right-clicked-->"Run as Administrator"? If so, please don't do that (in fact, in the next release of Squirrel, Squirrel will intentionally relaunch itself to run as a normal user if it detects that it has administrator permissions).

LibertyBeta commented Apr 3, 2015

I'm reporting a similar issues with the most recent installer, however it doesn't create a atom direction in the appdata or fail with a log body.

Note: I did try to uninstall after the borked update and it that didn't go well. I had to manually remove the registry for atom in several places.

DerekTurtleRoe commented Apr 4, 2015

After Revo Uninstalling leftover Atom installations, using CCleaner, BleachBit, and System Ninja with Winapp2.ini, going through my registry, AppData, and ProgramData and deleting everything Atom related, restarting, re-downloading the latest Atom installer, and running it NOT as Admin, it finally worked! I don't know what I did this time, but I guess maybe the issue has been fixed? I still had issues with this installer last time I tried, but whatever it works now.

I'm guessing a temporary file that was created was causing some issue when it started the installer because I ran it as admin the first time. UAC sucks. Anyway, it works now so try what I did and see if it works for you.

izuzak commented Apr 13, 2015

gvpinto commented Jun 3, 2015

Atom installer would just try to start-up and then disappear. I went ahead deleted C:\Users\YOURNAME\AppData\Local\atom and C:\Users\YOURNAME\AppData\Local\SquirrelTemp directories and ran the installer again. The directories were present because I had cancelled a previous installation. This resolved the issue.

DerekTurtleRoe commented Jun 4, 2015

Maybe the Atom installer should put all of the files in sub-directory instead of in ProgramData/AppData?

iUwej commented Jul 26, 2015

My installation worked after launching Atom set up as an admin.

joshburgess commented Dec 2, 2015

This is still a problem now in December 2015. Just ran into it while trying to install Atom on a fresh install Windows 8 machine at work.

ghost commented Jan 13, 2016

I deleted the folder %USERPROFILE%.atom and it worked for me, but I know that is not the best solution. =/

DerekTurtleRoe commented Jan 14, 2016

xiaoxinw commented Feb 16, 2016

I just closed the Atom editor and then install again

DerekTurtleRoe commented Feb 17, 2016

Can this be closed? I think this issue has been solved by now, right?

CreativeWebGuy commented Feb 18, 2016

DerekTurtleRoe commented Feb 19, 2016

@CreativeWebGuy Huh, I wish I could help debug this in some way.

I just started running into the errors and issues again, so I have uninstalled Atom, cleaned my PC again, and now have a portable version in C:\atom that I use.

Does anybody have any idea what is causing this?

From what I can gather, it is the installer either not being allowed access to something, or the installer just becomes self-aware and hates anybody with a face. 😥

Zireael07 commented Feb 19, 2016

That's your problem right here and there is a separate issue for 'path too long' problems.

CreativeWebGuy commented Feb 19, 2016

@Zireael07 - Completely missed that. I was hung up on the RELEASES folder in the "from scratch load" it's looking for not being there. Didn't go much further beyond that in the log. Where I'm now hung up on is how to correct this. If I'm using a standard Win7 install and the files are attempting to load into their default location the only variable in length is the userid in the path. I'm on a domain so the folder becomes userid.domain (currently 16 char in length). I guess at this point I just go on running in a folder in a portable format.

Zireael07 commented Feb 19, 2016

@CreativeWebGuy: Download the zip version from atom.io. It doesn't care about long paths.

CreativeWebGuy commented Feb 19, 2016

@Zireael07: That's what I'm doing. I just wanted to add this in here to help put a finger on it for others.

damieng commented Feb 23, 2016

I downloaded and installed the atom on windows 7.After installation it opened automatically and the next time i'm not able to open it. i"m basically not able to find the shortcut. Only .exe file is there on my downloads, and when I run it, it shows some error. can anyone please get the solution for this. :-)

damieng commented May 15, 2016

@meghanakshathra Please open a new issue and include the exact error message/screen shot of the error.

JohnTocher commented May 16, 2016

I had the same issue running the installer on Windows 10, 64 bit. Manually deleting most of the contents (Firefox had some files locked which couldn't be deleted) worked for me.

gideondsouza commented May 23, 2016

I had the same issues, tried all suggested solutions. I had a virus scanner that sucks, McAfee. I disabled it's on on access scan and now the installer worked.

jakedemianrosetta commented Jul 15, 2015

Yes, I can open and edit any and all files in AppData. I don’t know the answer to the temp folder question, however. As far as I know, I don't have any directory restrictions set up on this PC, but I could be wrong and I'm not entirely sure how to check for permissions of a folder I don't know the name and location of.

batjko commented Jul 15, 2015

cc @paulcbetts on this one.
Not sure which part of the installer may run into this error.

anaisbetts commented Jul 15, 2015

Log file? Should be in that SquirrelTemp directory

50Wliu commented Jul 16, 2015

Also, can you try to disable any antiviruses you have when running the installer?

jakedemianrosetta commented Jul 16, 2015

image

@paulcbetts Not seeing a log file in thar directory. This is everything in that directory:

batjko commented Jul 16, 2015

image

@jakedemianrosetta Can you check this one:

jakedemianrosetta commented Jul 16, 2015

@batjko That's the directory I was in in the image I posted.

ghost commented Jul 23, 2015

@paulcbetts So I managed to generate the SquirrelSetup.log file, by running the updater as administrator but not the setup. If I set both to run as administrator, I get caught in an infinite loop of windows asking me for permission to open AtomSetup.exe.

The log file only has one line, however:

Program: Starting Squirrel Updater:

shawmanz32na commented Aug 11, 2015

I would like to +1 this. Running the latest (1.0.5) installer fails immediately, and the only file in the

/AppData/Local/SquirrelTemp directory is an empty SquirrelSetup.log file. I'm running Windows 10 x64.

lijo-jacob commented Sep 5, 2015

I disabled my antivirus and it worked fine

FagnerMartinsBrack commented Oct 9, 2015

pgcm commented Oct 12, 2015

Had the same issue on Windows 7 x64. Disabling antivirus (Mcafee) worked for me.

ms31415a16 commented Oct 20, 2015

I also have the same problem.I run installer with administrator rights but still the message "Installation has failed; Failed to extract installer" appears.

*Update: has managed to run Atom by downloading .zip windows archive instead of installer.

lisboaxd commented Feb 7, 2016

I disabled my antivirus and it also worked

panchalnv commented Feb 19, 2016

damieng commented Feb 24, 2016

@lisboaxd and @lijo-jacob can you let me know which antivirus product you were using that interfered?

lijo-jacob commented Feb 24, 2016

damieng commented Feb 26, 2016

Appear to be issues with McAfee and Kapersky plain flat-out blocking our installer. Not much we can do here but right now but will continue to monitor reports.

dolkee commented Mar 16, 2016

In India its netprotector which is causing the problem I excluded atom exe to start it, now its working

damieng commented Mar 16, 2016

Thanks @dolkee it's good to know which antivirus programs are getting overprotective!

anaisbetts commented Mar 16, 2016

Appear to be issues with McAfee and Kapersky plain flat-out blocking our installer. Not much we can do here but right now but will continue to monitor reports.

We're enlisting in the whitelist program for Slack to try to resolve this - it should carry over to all Squirrel apps

damieng commented Mar 16, 2016

That's awesome news, thanks Paul!

ejubkadric94 commented Mar 26, 2016

Avast antivirus blocked the installation on my windows 7..

smallx commented Apr 8, 2016

Yeah, yeah. 关掉杀毒软件就行了。

laubianchi commented Jun 8, 2016

This message error occurs because I have not enough free space on my disk C:\

RANDALUZ commented Jul 21, 2016

Good afternoon , I have not heard very well if they said the solution to the problem , but also happens ami me , and I'm desperate means , PLEASE HELP .

damieng commented Jul 21, 2016

  1. Turn off anti virus temporarily
  2. If that doesn't work either try portable zip version or paste contents of squirrelsetup.log

ShivaShinde commented Jul 24, 2016

Same problem, I have uninstalled my macfee, I didnt find any options, So, I kicked off ;) Windows10 should be okay without anti-virus!!

Commenting on closed issues will make no difference since there will be no visibility and therefore the maintainers will not dedicate any effort to fix your error!

50Wliu commented Jul 24, 2016

Commenting on closed issues will make no difference since there will be no visibility and therefore the maintainers will not dedicate any effort to fix your error!

This is not true. I read all comments, including ones on closed issues. In addition, @damieng provided assistance just a bit further up, despite the issue being closed.

FagnerMartinsBrack commented Jul 24, 2016

This is not true. I read all comments, including ones on closed issues. In addition, @damieng provided assistance just a bit further up, despite the issue being closed.

Good to know that this project has enough capacity to follow closed issues, but does it really helps if someone just posts that the problem is happening and no evidence that it is the same issue? Wouldn't be better to encourage creating a new issue with log errors so that the maintainers can analyze objectively if the problem is the same or not?

I am saying this because it just seems common sense in OSS and the contributing guidelines shows a lot of suggestions on how to create a bug report that can drive action.

Wouldn't be better to encourage creating a new issue with log errors so that the maintainers can analyze objectively if the problem is the same or not?

Yeah, I didn't include this in my comment, but that's generally what I do on closed issues (see for example my comments in this issue).

Edit: In this case though there's really only two ways that the Windows installer can fail: paths are too long or an AV is stopping the installation.

FagnerMartinsBrack commented Jul 24, 2016

In this case though there's really only two ways that the Windows installer can fail: paths are too long or an AV is stopping the installation.

Are you sure there are only two ways? Most of the time, trying to create a simple model for complexity can make us reach to conclusions that contain too many assumptions.

50Wliu commented Jul 25, 2016

Ok, >95% of the issues we receive 😉 . If someone opens up a new issue (or comments on one) about the installer and the log provided doesn't match any of the two symptoms listed above, then of course it's triaged further. Though this is getting off-topic now; are you a member of the Atom Slack channel? If so, I'd be happy to continue this conversation with you there! I'm @wliu on Slack.

Меня немного расстраивает Atom.io. Не так давно установил версию 1.0.0. Все бы хорошо, но при установке нет выбора куда устанавливать программу, на самом деле там вообще никакого диалога с пользователем нет. Инсталятор под Windows просто запускает процесс установки, а потом запускает установленный редактор. При этом не ярлыка на рабочем столе, не в меню пуск, не экзешника в Program Files, не "Открыть файл с помощью"! Короче если его закрыть после установки, то его потом можно просто не найти. Второй раз инсталятор не работает, он просто не запускается игнорируя пользователя.

Я его смог найти только по висящему процессу. Оказывается всё болтается в AppData: C:\Users\%username%\AppData\Local\atom\app-1.0.0

Ладно, установил ярлыки, ассоциации с файлами и т.д. Вышло обновление 1.0.2 и конечно же папка с экзешником переименовалась в app-1.0.2 и все связи с ним слетели.

Это нормально? Это мажорный релиз?

Кстати с удалением Atom тоже все хорошо, просто случайно нажимаешь на него в "Удаление и изменение программ" и его уже нет. Не привет тебе не пока.

Если при обновлении возникла ошибка, проверьте подключение к интернету, посмотрите, не блокирует ли обновление ваш антивирус, или попробуйте еще раз скачать Atom с официального сайта.

Если вы столкнулись с ошибками при попытке скачать файл, ознакомьтесь с приведенными в статье инструкциями.

Чтобы вернуть быстроту реакции браузера, попробуйте функцию быстрой очистки.

Браузер может отключить одно или несколько расширений, если они были установлены из непроверенных источников (не из интернет-магазина).

Hi all,
when i try to install Atom on my Windows 8.1 machine i get this error.

Error

Читайте также: