Windows 7 install issue - both 1.0.19 and 1.1.0 Beta


#1

Getting an error that “Access to the path ‘resources’ is denied.” If I download your atom-windows.zip file that seems to let me run atom, but installing packages and a few other things seem not work if I go that route.

Here’s the log:

2015-10-01 15:13:36> Program: Starting Squirrel Updater: --install .
2015-10-01 15:13:36> Program: Starting install, writing to C:\Users\paulsrock\AppData\Local\SquirrelTemp
2015-10-01 15:13:36> Program: About to install to: C:\Users\paulsrock\AppData\Local\atom
2015-10-01 15:13:36> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\paulsrock\AppData\Local\atom\packages\RELEASES'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
   at Squirrel.UpdateManager.CheckForUpdateImpl.<CheckForUpdate>d__3c.MoveNext()
2015-10-01 15:13:36> CheckForUpdateImpl: Reading RELEASES file from C:\Users\paulsrock\AppData\Local\SquirrelTemp
2015-10-01 15:13:36> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2015-10-01 15:13:36> ApplyReleasesImpl: Writing files to app directory: C:\Users\paulsrock\AppData\Local\atom\app-1.1.0
2015-10-01 15:13:45> IEnableLogger: Failed to install package to app dir: System.AggregateException: One or more errors occurred. ---> System.IO.IOException: Access to the path 'resources' is denied.
   at System.IO.DirectoryInfo.MoveTo(String destDirName)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassa4.<>c__DisplayClassa9.<>c__DisplayClassab.<installPackageToAppDir>b__a2(DirectoryInfo subdir)
   at Squirrel.Utility.<>c__DisplayClass18`1.<>c__DisplayClass1a.<ForEachAsync>b__17()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassa4.<>c__DisplayClassa9.<installPackageToAppDir>b__a1(DirectoryInfo ld)
   at Squirrel.EnumerableExtensions.ForEach[TSource](IEnumerable`1 source, Action`1 onNext)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassa4.<<installPackageToAppDir>b__9d>d__ad.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<LogIfThrows>d__54`1.MoveNext()
---> (Inner Exception #0) System.IO.IOException: Access to the path 'resources' is denied.
   at System.IO.DirectoryInfo.MoveTo(String destDirName)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassa4.<>c__DisplayClassa9.<>c__DisplayClassab.<installPackageToAppDir>b__a2(DirectoryInfo subdir)
   at Squirrel.Utility.<>c__DisplayClass18`1.<>c__DisplayClass1a.<ForEachAsync>b__17()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()<---

2015-10-01 15:13:45> Unhandled exception: System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.IO.IOException: Access to the path 'resources' is denied.
   at System.IO.DirectoryInfo.MoveTo(String destDirName)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassa4.<>c__DisplayClassa9.<>c__DisplayClassab.<installPackageToAppDir>b__a2(DirectoryInfo subdir)
   at Squirrel.Utility.<>c__DisplayClass18`1.<>c__DisplayClass1a.<ForEachAsync>b__17()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassa4.<>c__DisplayClassa9.<installPackageToAppDir>b__a1(DirectoryInfo ld)
   at Squirrel.EnumerableExtensions.ForEach[TSource](IEnumerable`1 source, Action`1 onNext)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassa4.<<installPackageToAppDir>b__9d>d__ad.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<LogIfThrows>d__54`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<ApplyReleases>d__74.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.UpdateManager.<FullInstall>d__f.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   at Squirrel.Update.Program.<Install>d__37.MoveNext()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait()
   at Squirrel.Update.Program.executeCommandLine(String[] args)
   at Squirrel.Update.Program.main(String[] args)
---> (Inner Exception #0) System.AggregateException: One or more errors occurred. ---> System.IO.IOException: Access to the path 'resources' is denied.
   at System.IO.DirectoryInfo.MoveTo(String destDirName)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassa4.<>c__DisplayClassa9.<>c__DisplayClassab.<installPackageToAppDir>b__a2(DirectoryInfo subdir)
   at Squirrel.Utility.<>c__DisplayClass18`1.<>c__DisplayClass1a.<ForEachAsync>b__17()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassa4.<>c__DisplayClassa9.<installPackageToAppDir>b__a1(DirectoryInfo ld)
   at Squirrel.EnumerableExtensions.ForEach[TSource](IEnumerable`1 source, Action`1 onNext)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassa4.<<installPackageToAppDir>b__9d>d__ad.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<LogIfThrows>d__54`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<ApplyReleases>d__74.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.UpdateManager.<FullInstall>d__f.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   at Squirrel.Update.Program.<Install>d__37.MoveNext()
---> (Inner Exception #0) System.IO.IOException: Access to the path 'resources' is denied.
   at System.IO.DirectoryInfo.MoveTo(String destDirName)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassa4.<>c__DisplayClassa9.<>c__DisplayClassab.<installPackageToAppDir>b__a2(DirectoryInfo subdir)
   at Squirrel.Utility.<>c__DisplayClass18`1.<>c__DisplayClass1a.<ForEachAsync>b__17()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()<---
<---

#2

Same problem here.
I had the 1.0.15 version installed and wanted to clean some things and update to 1.0.19, since the updater doesn’t work behind an authenticated proxy, I uninstalled it and removed the folders and files that had not been removed by the uninstaller. After that I tried to install the version 1.0.19 but the error occurred which interrupted the installation.

2015-10-20 13:24:07> Program: Starting Squirrel Updater: --install .
2015-10-20 13:24:07> Program: Starting install, writing to C:\Users\s202437\AppData\Local\SquirrelTemp
2015-10-20 13:24:07> Program: About to install to: C:\Users\s202437\AppData\Local\atom
2015-10-20 13:24:07> Program: Install path C:\Users\s202437\AppData\Local\atom already exists, burning it to the ground
2015-10-20 13:24:07> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Não foi possível localizar uma parte do caminho 'C:\Users\s202437\AppData\Local\atom\packages\RELEASES'.
   em System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   em System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   em System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   em Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
   em Squirrel.UpdateManager.CheckForUpdateImpl.<CheckForUpdate>d__3c.MoveNext()
2015-10-20 13:24:07> CheckForUpdateImpl: Reading RELEASES file from C:\Users\s202437\AppData\Local\SquirrelTemp
2015-10-20 13:24:07> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2015-10-20 13:24:07> ApplyReleasesImpl: Writing files to app directory: C:\Users\s202437\AppData\Local\atom\app-1.0.19
2015-10-20 13:24:15> IEnableLogger: Failed to install package to app dir: System.AggregateException: Um ou mais erros. ---> System.IO.IOException: O acesso ao caminho 'resources' foi negado.
   em System.IO.DirectoryInfo.MoveTo(String destDirName)
   em Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassa4.<>c__DisplayClassa9.<>c__DisplayClassab.<installPackageToAppDir>b__a2(DirectoryInfo subdir)
   em Squirrel.Utility.<>c__DisplayClass18`1.<>c__DisplayClass1a.<ForEachAsync>b__17()
   em System.Threading.Tasks.Task.InnerInvoke()
   em System.Threading.Tasks.Task.Execute()
--- Fim do rastreamento de pilha do local anterior onde a exceção foi gerada ---
   em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   em Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()
   --- Fim do rastreamento de pilha de exceções internas ---
   em System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   em System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   em Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassa4.<>c__DisplayClassa9.<installPackageToAppDir>b__a1(DirectoryInfo ld)
   em Squirrel.EnumerableExtensions.ForEach[TSource](IEnumerable`1 source, Action`1 onNext)
   em Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassa4.<<installPackageToAppDir>b__9d>d__ad.MoveNext()
--- Fim do rastreamento de pilha do local anterior onde a exceção foi gerada ---
   em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   em Squirrel.Utility.<LogIfThrows>d__54`1.MoveNext()
---> (Exceção Interna N° 0) System.IO.IOException: O acesso ao caminho 'resources' foi negado.
   em System.IO.DirectoryInfo.MoveTo(String destDirName)
   em Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassa4.<>c__DisplayClassa9.<>c__DisplayClassab.<installPackageToAppDir>b__a2(DirectoryInfo subdir)
   em Squirrel.Utility.<>c__DisplayClass18`1.<>c__DisplayClass1a.<ForEachAsync>b__17()
   em System.Threading.Tasks.Task.InnerInvoke()
   em System.Threading.Tasks.Task.Execute()
--- Fim do rastreamento de pilha do local anterior onde a exceção foi gerada ---
   em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   em Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()<---

2015-10-20 13:24:15> Unhandled exception: System.AggregateException: Um ou mais erros. ---> System.AggregateException: Um ou mais erros. ---> System.IO.IOException: O acesso ao caminho 'resources' foi negado.
   em System.IO.DirectoryInfo.MoveTo(String destDirName)
   em Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassa4.<>c__DisplayClassa9.<>c__DisplayClassab.<installPackageToAppDir>b__a2(DirectoryInfo subdir)
   em Squirrel.Utility.<>c__DisplayClass18`1.<>c__DisplayClass1a.<ForEachAsync>b__17()
   em System.Threading.Tasks.Task.InnerInvoke()
   em System.Threading.Tasks.Task.Execute()
--- Fim do rastreamento de pilha do local anterior onde a exceção foi gerada ---
   em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   em Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()
   --- Fim do rastreamento de pilha de exceções internas ---
   em System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   em System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   em Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassa4.<>c__DisplayClassa9.<installPackageToAppDir>b__a1(DirectoryInfo ld)
   em Squirrel.EnumerableExtensions.ForEach[TSource](IEnumerable`1 source, Action`1 onNext)
   em Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassa4.<<installPackageToAppDir>b__9d>d__ad.MoveNext()
--- Fim do rastreamento de pilha do local anterior onde a exceção foi gerada ---
   em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   em Squirrel.Utility.<LogIfThrows>d__54`1.MoveNext()
--- Fim do rastreamento de pilha do local anterior onde a exceção foi gerada ---
   em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   em System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   em Squirrel.UpdateManager.ApplyReleasesImpl.<ApplyReleases>d__74.MoveNext()
--- Fim do rastreamento de pilha do local anterior onde a exceção foi gerada ---
   em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   em Squirrel.UpdateManager.<FullInstall>d__f.MoveNext()
--- Fim do rastreamento de pilha do local anterior onde a exceção foi gerada ---
   em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   em System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   em Squirrel.Update.Program.<Install>d__37.MoveNext()
   --- Fim do rastreamento de pilha de exceções internas ---
   em System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   em System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   em System.Threading.Tasks.Task.Wait()
   em Squirrel.Update.Program.executeCommandLine(String[] args)
   em Squirrel.Update.Program.main(String[] args)
---> (Exceção Interna N° 0) System.AggregateException: Um ou mais erros. ---> System.IO.IOException: O acesso ao caminho 'resources' foi negado.
   em System.IO.DirectoryInfo.MoveTo(String destDirName)
   em Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassa4.<>c__DisplayClassa9.<>c__DisplayClassab.<installPackageToAppDir>b__a2(DirectoryInfo subdir)
   em Squirrel.Utility.<>c__DisplayClass18`1.<>c__DisplayClass1a.<ForEachAsync>b__17()
   em System.Threading.Tasks.Task.InnerInvoke()
   em System.Threading.Tasks.Task.Execute()
--- Fim do rastreamento de pilha do local anterior onde a exceção foi gerada ---
   em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   em Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()
   --- Fim do rastreamento de pilha de exceções internas ---
   em System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   em System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   em Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassa4.<>c__DisplayClassa9.<installPackageToAppDir>b__a1(DirectoryInfo ld)
   em Squirrel.EnumerableExtensions.ForEach[TSource](IEnumerable`1 source, Action`1 onNext)
   em Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassa4.<<installPackageToAppDir>b__9d>d__ad.MoveNext()
--- Fim do rastreamento de pilha do local anterior onde a exceção foi gerada ---
   em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   em Squirrel.Utility.<LogIfThrows>d__54`1.MoveNext()
--- Fim do rastreamento de pilha do local anterior onde a exceção foi gerada ---
   em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   em System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   em Squirrel.UpdateManager.ApplyReleasesImpl.<ApplyReleases>d__74.MoveNext()
--- Fim do rastreamento de pilha do local anterior onde a exceção foi gerada ---
   em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   em Squirrel.UpdateManager.<FullInstall>d__f.MoveNext()
--- Fim do rastreamento de pilha do local anterior onde a exceção foi gerada ---
   em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   em System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   em Squirrel.Update.Program.<Install>d__37.MoveNext()
---> (Exceção Interna N° 0) System.IO.IOException: O acesso ao caminho 'resources' foi negado.
   em System.IO.DirectoryInfo.MoveTo(String destDirName)
   em Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassa4.<>c__DisplayClassa9.<>c__DisplayClassab.<installPackageToAppDir>b__a2(DirectoryInfo subdir)
   em Squirrel.Utility.<>c__DisplayClass18`1.<>c__DisplayClass1a.<ForEachAsync>b__17()
   em System.Threading.Tasks.Task.InnerInvoke()
   em System.Threading.Tasks.Task.Execute()
--- Fim do rastreamento de pilha do local anterior onde a exceção foi gerada ---
   em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   em Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()<---
<---

2015-10-20 13:33:25> Program: Starting Squirrel Updater: --install .
2015-10-20 13:33:25> Program: Starting install, writing to C:\Users\s202437\AppData\Local\SquirrelTemp
2015-10-20 13:33:25> Program: About to install to: C:\Users\s202437\AppData\Local\atom
2015-10-20 13:33:25> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Não foi possível localizar uma parte do caminho 'C:\Users\s202437\AppData\Local\atom\packages\RELEASES'.
   em System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   em System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   em System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   em Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
   em Squirrel.UpdateManager.CheckForUpdateImpl.<CheckForUpdate>d__3c.MoveNext()
2015-10-20 13:33:25> CheckForUpdateImpl: Reading RELEASES file from C:\Users\s202437\AppData\Local\SquirrelTemp
2015-10-20 13:33:25> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2015-10-20 13:33:25> ApplyReleasesImpl: Writing files to app directory: C:\Users\s202437\AppData\Local\atom\app-1.0.19
2015-10-20 13:33:34> IEnableLogger: Failed to install package to app dir: System.AggregateException: Um ou mais erros. ---> System.IO.IOException: O acesso ao caminho 'resources' foi negado.
   em System.IO.DirectoryInfo.MoveTo(String destDirName)
   em Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassa4.<>c__DisplayClassa9.<>c__DisplayClassab.<installPackageToAppDir>b__a2(DirectoryInfo subdir)
   em Squirrel.Utility.<>c__DisplayClass18`1.<>c__DisplayClass1a.<ForEachAsync>b__17()
   em System.Threading.Tasks.Task.InnerInvoke()
   em System.Threading.Tasks.Task.Execute()
--- Fim do rastreamento de pilha do local anterior onde a exceção foi gerada ---
   em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   em Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()
   --- Fim do rastreamento de pilha de exceções internas ---
   em System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   em System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   em Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassa4.<>c__DisplayClassa9.<installPackageToAppDir>b__a1(DirectoryInfo ld)
   em Squirrel.EnumerableExtensions.ForEach[TSource](IEnumerable`1 source, Action`1 onNext)
   em Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassa4.<<installPackageToAppDir>b__9d>d__ad.MoveNext()
--- Fim do rastreamento de pilha do local anterior onde a exceção foi gerada ---
   em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   em Squirrel.Utility.<LogIfThrows>d__54`1.MoveNext()
---> (Exceção Interna N° 0) System.IO.IOException: O acesso ao caminho 'resources' foi negado.
   em System.IO.DirectoryInfo.MoveTo(String destDirName)
   em Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassa4.<>c__DisplayClassa9.<>c__DisplayClassab.<installPackageToAppDir>b__a2(DirectoryInfo subdir)
   em Squirrel.Utility.<>c__DisplayClass18`1.<>c__DisplayClass1a.<ForEachAsync>b__17()
   em System.Threading.Tasks.Task.InnerInvoke()
   em System.Threading.Tasks.Task.Execute()
--- Fim do rastreamento de pilha do local anterior onde a exceção foi gerada ---
   em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   em Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()<---

2015-10-20 13:33:34> Unhandled exception: System.AggregateException: Um ou mais erros. ---> System.AggregateException: Um ou mais erros. ---> System.IO.IOException: O acesso ao caminho 'resources' foi negado.
   em System.IO.DirectoryInfo.MoveTo(String destDirName)
   em Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassa4.<>c__DisplayClassa9.<>c__DisplayClassab.<installPackageToAppDir>b__a2(DirectoryInfo subdir)
   em Squirrel.Utility.<>c__DisplayClass18`1.<>c__DisplayClass1a.<ForEachAsync>b__17()
   em System.Threading.Tasks.Task.InnerInvoke()
   em System.Threading.Tasks.Task.Execute()
--- Fim do rastreamento de pilha do local anterior onde a exceção foi gerada ---
   em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   em Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()
   --- Fim do rastreamento de pilha de exceções internas ---
   em System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   em System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   em Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassa4.<>c__DisplayClassa9.<installPackageToAppDir>b__a1(DirectoryInfo ld)
   em Squirrel.EnumerableExtensions.ForEach[TSource](IEnumerable`1 source, Action`1 onNext)
   em Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassa4.<<installPackageToAppDir>b__9d>d__ad.MoveNext()
--- Fim do rastreamento de pilha do local anterior onde a exceção foi gerada ---
   em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   em Squirrel.Utility.<LogIfThrows>d__54`1.MoveNext()
--- Fim do rastreamento de pilha do local anterior onde a exceção foi gerada ---
   em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   em System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   em Squirrel.UpdateManager.ApplyReleasesImpl.<ApplyReleases>d__74.MoveNext()
--- Fim do rastreamento de pilha do local anterior onde a exceção foi gerada ---
   em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   em Squirrel.UpdateManager.<FullInstall>d__f.MoveNext()
--- Fim do rastreamento de pilha do local anterior onde a exceção foi gerada ---
   em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   em System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   em Squirrel.Update.Program.<Install>d__37.MoveNext()
   --- Fim do rastreamento de pilha de exceções internas ---
   em System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   em System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   em System.Threading.Tasks.Task.Wait()
   em Squirrel.Update.Program.executeCommandLine(String[] args)
   em Squirrel.Update.Program.main(String[] args)
---> (Exceção Interna N° 0) System.AggregateException: Um ou mais erros. ---> System.IO.IOException: O acesso ao caminho 'resources' foi negado.
   em System.IO.DirectoryInfo.MoveTo(String destDirName)
   em Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassa4.<>c__DisplayClassa9.<>c__DisplayClassab.<installPackageToAppDir>b__a2(DirectoryInfo subdir)
   em Squirrel.Utility.<>c__DisplayClass18`1.<>c__DisplayClass1a.<ForEachAsync>b__17()
   em System.Threading.Tasks.Task.InnerInvoke()
   em System.Threading.Tasks.Task.Execute()
--- Fim do rastreamento de pilha do local anterior onde a exceção foi gerada ---
   em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   em Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()
   --- Fim do rastreamento de pilha de exceções internas ---
   em System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   em System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   em Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassa4.<>c__DisplayClassa9.<installPackageToAppDir>b__a1(DirectoryInfo ld)
   em Squirrel.EnumerableExtensions.ForEach[TSource](IEnumerable`1 source, Action`1 onNext)
   em Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassa4.<<installPackageToAppDir>b__9d>d__ad.MoveNext()
--- Fim do rastreamento de pilha do local anterior onde a exceção foi gerada ---
   em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   em Squirrel.Utility.<LogIfThrows>d__54`1.MoveNext()
--- Fim do rastreamento de pilha do local anterior onde a exceção foi gerada ---
   em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   em System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   em Squirrel.UpdateManager.ApplyReleasesImpl.<ApplyReleases>d__74.MoveNext()
--- Fim do rastreamento de pilha do local anterior onde a exceção foi gerada ---
   em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   em Squirrel.UpdateManager.<FullInstall>d__f.MoveNext()
--- Fim do rastreamento de pilha do local anterior onde a exceção foi gerada ---
   em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   em System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   em Squirrel.Update.Program.<Install>d__37.MoveNext()
---> (Exceção Interna N° 0) System.IO.IOException: O acesso ao caminho 'resources' foi negado.
   em System.IO.DirectoryInfo.MoveTo(String destDirName)
   em Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassa4.<>c__DisplayClassa9.<>c__DisplayClassab.<installPackageToAppDir>b__a2(DirectoryInfo subdir)
   em Squirrel.Utility.<>c__DisplayClass18`1.<>c__DisplayClass1a.<ForEachAsync>b__17()
   em System.Threading.Tasks.Task.InnerInvoke()
   em System.Threading.Tasks.Task.Execute()
--- Fim do rastreamento de pilha do local anterior onde a exceção foi gerada ---
   em System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   em Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()<---
<---

#3

Sounds like it might be related to an antivirus program blocking things based on the comments in this Issue:

If that doesn’t seem to be the issue, then you may want to open a new bug and link it to the one above just in case.

/cc @raelyard


#4

I had the same issue today with an update from 1.0.19 to 1.1.0 on Windows 10.

The update from atom.io did not work (It just told me that there is no update after a lenghty “downloading update”). AtomUpdate.exe gave the above mentioned errors and killed the existing installation.

I cleaned TMP, TEMP, SquirrelTemp and atom folders (several times) – did not help.

I then downloaded AtomWindows.zip from https://github.com/atom/atom/releases/ and unzipped it to the atom folder. At least atom is back to normal operation. I don’t know the issues I might find when the next release is out.


#5

I had exactly this error trying to install Atom for Windows today on my new Windows 10 machine.

"Access to the path 'resources' is denied."

After reading the comments here, i temporarily disabled the McAfee real-time AV scanning, and tried again. That worked.