Squirrel updater keeps crashing on Windows
2023-01-12 18:50:46> Program: Starting Squirrel Updater: --install .
2023-01-12 18:50:46> Program: Starting install, writing to C:\Users\litch\AppData\Local\SquirrelTemp
2023-01-12 18:50:46> Program: About to install to: C:\Users\litch\AppData\Local\slack
2023-01-12 18:50:46> CheckForUpdateImpl: Couldn't write out staging user ID, this user probably shouldn't get beta anything: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\litch\AppData\Local\slack\packages\.betaId'.
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, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
at System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
at System.IO.File.WriteAllText(String path, String contents, Encoding encoding)
at Squirrel.UpdateManager.CheckForUpdateImpl.getOrCreateStagedUserId()
2023-01-12 18:50:46> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\litch\AppData\Local\slack\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__2.MoveNext()
2023-01-12 18:50:46> CheckForUpdateImpl: Reading RELEASES file from C:\Users\litch\AppData\Local\SquirrelTemp
2023-01-12 18:50:46> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2023-01-12 18:50:46> ApplyReleasesImpl: Writing files to app directory: C:\Users\litch\AppData\Local\slack\app-4.29.149
2023-01-12 18:50:48> LogHost: Rigging execution stub for lib/net45/slack_ExecutionStub.exe to C:\Users\litch\AppData\Local\slack\slack.exe
2023-01-12 18:50:49> ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\litch\AppData\Local\slack\app-4.29.149\slack.exe]
2023-01-12 18:50:50> ApplyReleasesImpl: Starting fixPinnedExecutables
2023-01-12 18:50:50> ApplyReleasesImpl: Examining Pin: File Explorer.lnk
2023-01-12 18:50:50> ApplyReleasesImpl: Examining Pin: Google Chrome.lnk
2023-01-12 18:50:50> ApplyReleasesImpl: Examining Pin: Microsoft Edge.lnk
2023-01-12 18:50:50> ApplyReleasesImpl: Examining Pin: Visual Studio Code.lnk
2023-01-12 18:50:50> ApplyReleasesImpl: Fixing up tray icons
2023-01-12 18:50:50> ApplyReleasesImpl: cleanDeadVersions: for version 4.29.149
2023-01-12 18:50:50> ApplyReleasesImpl: cleanDeadVersions: exclude folder app-4.29.149
17872> 2023-01-12 18:51:00> Program: Starting Squirrel Updater: --install .
17872> 2023-01-12 18:51:00> Program: Starting install, writing to C:\Users\litch\AppData\Local\SquirrelTemp
17872> 2023-01-12 18:51:00> Program: About to install to: C:\Users\litch\AppData\Local\Discord
17872> 2023-01-12 18:51:00> SingleGlobalInstance: Grabbing lockfile with timeout of 00:00:10
17872> 2023-01-12 18:51:00> CheckForUpdateImpl: Reading RELEASES file from C:\Users\litch\AppData\Local\SquirrelTemp
17872> 2023-01-12 18:51:00> CheckForUpdateImpl: Remote version 1.0.9008 differs from local
17872> 2023-01-12 18:51:00> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
17872> 2023-01-12 18:51:00> ApplyReleasesImpl: Writing files to app directory: C:\Users\litch\AppData\Local\Discord\app-1.0.9008
17872> 2023-01-12 18:51:02> ApplyReleasesImpl: Moving file C:\Users\litch\AppData\Local\Discord\app-1.0.9008\lib\net45\app.ico to C:\Users\litch\AppData\Local\Discord\app-1.0.9008\app.ico
17872> 2023-01-12 18:51:02> ApplyReleasesImpl: Moving file C:\Users\litch\AppData\Local\Discord\app-1.0.9008\lib\net45\chrome_100_percent.pak to C:\Users\litch\AppData\Local\Discord\app-1.0.9008\chrome_100_percent.pak
17872> 2023-01-12 18:51:02> ApplyReleasesImpl: Moving file C:\Users\litch\AppData\Local\Discord\app-1.0.9008\lib\net45\d3dcompiler_47.dll to C:\Users\litch\AppData\Local\Discord\app-1.0.9008\d3dcompiler_47.dll
17872> 2023-01-12 18:51:02> ApplyReleasesImpl: Moving file C:\Users\litch\AppData\Local\Discord\app-1.0.9008\lib\net45\chrome_200_percent.pak to C:\Users\litch\AppData\Local\Discord\app-1.0.9008\chrome_200_percent.pak
17872> 2023-01-12 18:51:02> ApplyReleasesImpl: Moving file C:\Users\litch\AppData\Local\Discord\app-1.0.9008\lib\net45\Discord.exe to C:\Users\litch\AppData\Local\Discord\app-1.0.9008\Discord.exe
17872> 2023-01-12 18:51:02> ApplyReleasesImpl: Moving file C:\Users\litch\AppData\Local\Discord\app-1.0.9008\lib\net45\ffmpeg.dll to C:\Users\litch\AppData\Local\Discord\app-1.0.9008\ffmpeg.dll
17872> 2023-01-12 18:51:02> ApplyReleasesImpl: Moving file C:\Users\litch\AppData\Local\Discord\app-1.0.9008\lib\net45\icudtl.dat to C:\Users\litch\AppData\Local\Discord\app-1.0.9008\icudtl.dat
17872> 2023-01-12 18:51:02> ApplyReleasesImpl: Moving file C:\Users\litch\AppData\Local\Discord\app-1.0.9008\lib\net45\installer.db to C:\Users\litch\AppData\Local\Discord\app-1.0.9008\installer.db
17872> 2023-01-12 18:51:02> ApplyReleasesImpl: Moving file C:\Users\litch\AppData\Local\Discord\app-1.0.9008\lib\net45\libEGL.dll to C:\Users\litch\AppData\Local\Discord\app-1.0.9008\libEGL.dll
17872> 2023-01-12 18:51:02> ApplyReleasesImpl: Moving file C:\Users\litch\AppData\Local\Discord\app-1.0.9008\lib\net45\libGLESv2.dll to C:\Users\litch\AppData\Local\Discord\app-1.0.9008\libGLESv2.dll
17872> 2023-01-12 18:51:02> ApplyReleasesImpl: Moving file C:\Users\litch\AppData\Local\Discord\app-1.0.9008\lib\net45\resources.pak to C:\Users\litch\AppData\Local\Discord\app-1.0.9008\resources.pak
17872> 2023-01-12 18:51:02> ApplyReleasesImpl: Moving file C:\Users\litch\AppData\Local\Discord\app-1.0.9008\lib\net45\updater.node to C:\Users\litch\AppData\Local\Discord\app-1.0.9008\updater.node
17872> 2023-01-12 18:51:02> ApplyReleasesImpl: Moving file C:\Users\litch\AppData\Local\Discord\app-1.0.9008\lib\net45\snapshot_blob.bin to C:\Users\litch\AppData\Local\Discord\app-1.0.9008\snapshot_blob.bin
17872> 2023-01-12 18:51:02> ApplyReleasesImpl: Moving file C:\Users\litch\AppData\Local\Discord\app-1.0.9008\lib\net45\vk_swiftshader.dll to C:\Users\litch\AppData\Local\Discord\app-1.0.9008\vk_swiftshader.dll
17872> 2023-01-12 18:51:02> ApplyReleasesImpl: Moving file C:\Users\litch\AppData\Local\Discord\app-1.0.9008\lib\net45\vulkan-1.dll to C:\Users\litch\AppData\Local\Discord\app-1.0.9008\vulkan-1.dll
17872> 2023-01-12 18:51:02> ApplyReleasesImpl: Moving file C:\Users\litch\AppData\Local\Discord\app-1.0.9008\lib\net45\vk_swiftshader_icd.json to C:\Users\litch\AppData\Local\Discord\app-1.0.9008\vk_swiftshader_icd.json
17872> 2023-01-12 18:51:02> ApplyReleasesImpl: Moving file C:\Users\litch\AppData\Local\Discord\app-1.0.9008\lib\net45\v8_context_snapshot.bin to C:\Users\litch\AppData\Local\Discord\app-1.0.9008\v8_context_snapshot.bin
17872> 2023-01-12 18:51:03> ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\litch\AppData\Local\Discord\app-1.0.9008\Discord.exe]
17872> 2023-01-12 18:51:03> Utility: Process Started: C:\Users\litch\AppData\Local\Discord\app-1.0.9008\Discord.exe --squirrel-install 1.0.9008, pid 18836
17872> 2023-01-12 18:51:04> Utility: Received exitcode 0 from process C:\Users\litch\AppData\Local\Discord\app-1.0.9008\Discord.exe
17872> 2023-01-12 18:51:04> ApplyReleasesImpl: ran C:\Users\litch\AppData\Local\Discord\app-1.0.9008\Discord.exe, pid 12600
17872> 2023-01-12 18:51:04> ApplyReleasesImpl: Starting fixPinnedExecutables
17872> 2023-01-12 18:51:04> ApplyReleasesImpl: fixPinnedExecutables: newCurrentFolder: app-1.0.9008
17872> 2023-01-12 18:51:04> ApplyReleasesImpl: File 'C:\Users\litch\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Accessibility\LiveCaptions.lnk' could not be converted into a valid ShellLink: System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
at Squirrel.Shell.ShellLink.IShellLinkW.Resolve(IntPtr hWnd, UInt32 fFlags)
at Squirrel.Shell.ShellLink.Open(String linkFile, IntPtr hWnd, EShellLinkResolveFlags resolveFlags, UInt16 timeOut)
at Squirrel.UpdateManager.ApplyReleasesImpl.<fixPinnedExecutables>b__11_0(FileInfo file)
17872> 2023-01-12 18:51:04> ApplyReleasesImpl: File 'C:\Users\litch\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Accessibility\Narrator.lnk' could not be converted into a valid ShellLink: System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
at Squirrel.Shell.ShellLink.IShellLinkW.Resolve(IntPtr hWnd, UInt32 fFlags)
at Squirrel.Shell.ShellLink.Open(String linkFile, IntPtr hWnd, EShellLinkResolveFlags resolveFlags, UInt16 timeOut)
at Squirrel.UpdateManager.ApplyReleasesImpl.<fixPinnedExecutables>b__11_0(FileInfo file)
17872> 2023-01-12 18:51:04> ApplyReleasesImpl: File 'C:\Users\litch\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Accessibility\On-Screen Keyboard.lnk' could not be converted into a valid ShellLink: System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
at Squirrel.Shell.ShellLink.IShellLinkW.Resolve(IntPtr hWnd, UInt32 fFlags)
at Squirrel.Shell.ShellLink.Open(String linkFile, IntPtr hWnd, EShellLinkResolveFlags resolveFlags, UInt16 timeOut)
at Squirrel.UpdateManager.ApplyReleasesImpl.<fixPinnedExecutables>b__11_0(FileInfo file)
17872> 2023-01-12 18:51:04> ApplyReleasesImpl: File 'C:\Users\litch\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Accessibility\VoiceAccess.lnk' could not be converted into a valid ShellLink: System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
at Squirrel.Shell.ShellLink.IShellLinkW.Resolve(IntPtr hWnd, UInt32 fFlags)
at Squirrel.Shell.ShellLink.Open(String linkFile, IntPtr hWnd, EShellLinkResolveFlags resolveFlags, UInt16 timeOut)
at Squirrel.UpdateManager.ApplyReleasesImpl.<fixPinnedExecutables>b__11_0(FileInfo file)
17872> 2023-01-12 18:51:04> ApplyReleasesImpl: Updating shortcut C:\Users\litch\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Discord Inc\Discord.lnk
17872> 2023-01-12 18:51:05> ApplyReleasesImpl: Updating shortcut C:\Users\litch\Desktop\Discord.lnk
17872> 2023-01-12 18:51:05> ApplyReleasesImpl: Fixing up tray icons
17872> 2023-01-12 18:51:05> ApplyReleasesImpl: cleanDeadVersions: for version 1.0.9008
17872> 2023-01-12 18:51:05> ApplyReleasesImpl: cleanDeadVersions: exclude current version folder app-1.0.9008
2025-05-17 18:36:07> Program: Starting Squirrel Updater: --install . --silent --rerunningWithoutUAC
2025-05-17 18:36:07> Program: Starting install, writing to C:\Users\litch\AppData\Local\SquirrelTemp
2025-05-17 18:36:07> Program: About to install to: C:\Users\litch\AppData\Local\slack
2025-05-17 18:36:07> Program: Install path C:\Users\litch\AppData\Local\slack already exists, burning it to the ground
2025-05-17 18:36:07> Unhandled exception: System.AggregateException: One or more errors occurred. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Squirrel.UnsafeUtility.<>c__DisplayClass0_0.<EnumerateProcesses>b__0(Int32 i)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Squirrel.UnsafeUtility.EnumerateProcesses()
at Squirrel.UpdateManager.InstallHelperImpl.KillAllProcessesBelongingToPackage()
at Squirrel.Update.Program.<Install>d__4.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.IndexOutOfRangeException: Index was outside the bounds of the array.
at Squirrel.UnsafeUtility.<>c__DisplayClass0_0.<EnumerateProcesses>b__0(Int32 i)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Squirrel.UnsafeUtility.EnumerateProcesses()
at Squirrel.UpdateManager.InstallHelperImpl.KillAllProcessesBelongingToPackage()
at Squirrel.Update.Program.<Install>d__4.MoveNext()<---
2025-05-22 18:31:00> Program: Starting Squirrel Updater: --install . --silent --rerunningWithoutUAC
2025-05-22 18:31:00> Program: Starting install, writing to C:\Users\litch\AppData\Local\SquirrelTemp
2025-05-22 18:31:00> Program: About to install to: C:\Users\litch\AppData\Local\slack
2025-05-22 18:31:00> Program: Install path C:\Users\litch\AppData\Local\slack already exists, burning it to the ground
2025-05-22 18:31:00> Unhandled exception: System.AggregateException: One or more errors occurred. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Squirrel.UnsafeUtility.<>c__DisplayClass0_0.<EnumerateProcesses>b__0(Int32 i)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Squirrel.UnsafeUtility.EnumerateProcesses()
at Squirrel.UpdateManager.InstallHelperImpl.KillAllProcessesBelongingToPackage()
at Squirrel.Update.Program.<Install>d__4.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.IndexOutOfRangeException: Index was outside the bounds of the array.
at Squirrel.UnsafeUtility.<>c__DisplayClass0_0.<EnumerateProcesses>b__0(Int32 i)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Squirrel.UnsafeUtility.EnumerateProcesses()
at Squirrel.UpdateManager.InstallHelperImpl.KillAllProcessesBelongingToPackage()
at Squirrel.Update.Program.<Install>d__4.MoveNext()<---
2025-05-27 18:30:44> Program: Starting Squirrel Updater: --install . --silent --rerunningWithoutUAC
2025-05-27 18:30:44> Program: Starting install, writing to C:\Users\litch\AppData\Local\SquirrelTemp
2025-05-27 18:30:44> Program: About to install to: C:\Users\litch\AppData\Local\slack
2025-05-27 18:30:44> Program: Install path C:\Users\litch\AppData\Local\slack already exists, burning it to the ground
2025-05-27 18:30:44> Unhandled exception: System.AggregateException: One or more errors occurred. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Squirrel.UnsafeUtility.<>c__DisplayClass0_0.<EnumerateProcesses>b__0(Int32 i)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Squirrel.UnsafeUtility.EnumerateProcesses()
at Squirrel.UpdateManager.InstallHelperImpl.KillAllProcessesBelongingToPackage()
at Squirrel.Update.Program.<Install>d__4.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.IndexOutOfRangeException: Index was outside the bounds of the array.
at Squirrel.UnsafeUtility.<>c__DisplayClass0_0.<EnumerateProcesses>b__0(Int32 i)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Squirrel.UnsafeUtility.EnumerateProcesses()
at Squirrel.UpdateManager.InstallHelperImpl.KillAllProcessesBelongingToPackage()
at Squirrel.Update.Program.<Install>d__4.MoveNext()<---
2025-06-01 18:36:14> Program: Starting Squirrel Updater: --install . --silent --rerunningWithoutUAC
2025-06-01 18:36:14> Program: Starting install, writing to C:\Users\litch\AppData\Local\SquirrelTemp
2025-06-01 18:36:14> Program: About to install to: C:\Users\litch\AppData\Local\slack
2025-06-01 18:36:14> Program: Install path C:\Users\litch\AppData\Local\slack already exists, burning it to the ground
2025-06-01 18:36:15> IEnableLogger: : System.ComponentModel.Win32Exception (0x80004005): Access is denied
at System.Diagnostics.Process.Kill()
at Squirrel.UpdateManager.InstallHelperImpl.<>c__DisplayClass6_1.<KillAllProcessesBelongingToPackage>b__2()
at Squirrel.Utility.LogIfThrows(IFullLogger This, LogLevel level, String message, Action block)
2025-06-01 18:36:15> IEnableLogger: : System.ArgumentException: Process with an Id of 25928 is not running.
at System.Diagnostics.Process.GetProcessById(Int32 processId, String machineName)
at System.Diagnostics.Process.GetProcessById(Int32 processId)
at Squirrel.UpdateManager.InstallHelperImpl.<>c__DisplayClass6_1.<KillAllProcessesBelongingToPackage>b__2()
at Squirrel.Utility.LogIfThrows(IFullLogger This, LogLevel level, String message, Action block)
2025-06-01 18:36:15> IEnableLogger: : System.ArgumentException: Process with an Id of 22892 is not running.
at System.Diagnostics.Process.GetProcessById(Int32 processId, String machineName)
at System.Diagnostics.Process.GetProcessById(Int32 processId)
at Squirrel.UpdateManager.InstallHelperImpl.<>c__DisplayClass6_1.<KillAllProcessesBelongingToPackage>b__2()
at Squirrel.Utility.LogIfThrows(IFullLogger This, LogLevel level, String message, Action block)
2025-06-01 18:36:15> IEnableLogger: : System.ArgumentException: Process with an Id of 25372 is not running.
at System.Diagnostics.Process.GetProcessById(Int32 processId, String machineName)
at System.Diagnostics.Process.GetProcessById(Int32 processId)
at Squirrel.UpdateManager.InstallHelperImpl.<>c__DisplayClass6_1.<KillAllProcessesBelongingToPackage>b__2()
at Squirrel.Utility.LogIfThrows(IFullLogger This, LogLevel level, String message, Action block)
2025-06-01 18:36:15> IEnableLogger: : System.ArgumentException: Process with an Id of 25836 is not running.
at System.Diagnostics.Process.GetProcessById(Int32 processId, String machineName)
at System.Diagnostics.Process.GetProcessById(Int32 processId)
at Squirrel.UpdateManager.InstallHelperImpl.<>c__DisplayClass6_1.<KillAllProcessesBelongingToPackage>b__2()
at Squirrel.Utility.LogIfThrows(IFullLogger This, LogLevel level, String message, Action block)
2025-06-01 18:36:15> CheckForUpdateImpl: Couldn't write out staging user ID, this user probably shouldn't get beta anything: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\litch\AppData\Local\slack\packages\.betaId'.
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, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
at System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
at System.IO.File.WriteAllText(String path, String contents, Encoding encoding)
at Squirrel.UpdateManager.CheckForUpdateImpl.getOrCreateStagedUserId()
2025-06-01 18:36:15> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\litch\AppData\Local\slack\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__2.MoveNext()
2025-06-01 18:36:15> CheckForUpdateImpl: Reading RELEASES file from C:\Users\litch\AppData\Local\SquirrelTemp
2025-06-01 18:36:15> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2025-06-01 18:36:15> ApplyReleasesImpl: Writing files to app directory: C:\Users\litch\AppData\Local\slack\app-4.44.60
2025-06-01 18:36:15> LogHost: Rigging execution stub for lib/net45/slack_ExecutionStub.exe to C:\Users\litch\AppData\Local\slack\slack.exe
2025-06-01 18:36:19> ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\litch\AppData\Local\slack\app-4.44.60\slack.exe]
2025-06-01 18:36:20> ApplyReleasesImpl: Starting fixPinnedExecutables
2025-06-01 18:36:20> ApplyReleasesImpl: Examining Pin: Amazon Photos.lnk
2025-06-01 18:36:20> ApplyReleasesImpl: Examining Pin: Command Prompt.lnk
2025-06-01 18:36:20> ApplyReleasesImpl: Examining Pin: CrystalDiskInfo (64bit).lnk
2025-06-01 18:36:20> ApplyReleasesImpl: Examining Pin: CrystalDiskInfo Shizuku Edition (64bit).lnk
2025-06-01 18:36:20> ApplyReleasesImpl: Examining Pin: Discord.lnk
2025-06-01 18:36:21> ApplyReleasesImpl: Examining Pin: Disk Cleanup.lnk
2025-06-01 18:36:21> ApplyReleasesImpl: Examining Pin: Docker Desktop.lnk
2025-06-01 18:36:21> ApplyReleasesImpl: Examining Pin: File Explorer.lnk
2025-06-01 18:36:21> ApplyReleasesImpl: Examining Pin: FileZilla.lnk
2025-06-01 18:36:21> ApplyReleasesImpl: Examining Pin: FreeFileSync.lnk
2025-06-01 18:36:21> ApplyReleasesImpl: Examining Pin: Google Chrome.lnk
2025-06-01 18:36:21> ApplyReleasesImpl: Examining Pin: Ledger Live.lnk
2025-06-01 18:36:21> ApplyReleasesImpl: Examining Pin: Microsoft Edge.lnk
2025-06-01 18:36:21> ApplyReleasesImpl: Examining Pin: nekoray.lnk
2025-06-01 18:36:21> ApplyReleasesImpl: Examining Pin: Norton Security.lnk
2025-06-01 18:36:21> ApplyReleasesImpl: Examining Pin: Slack.lnk
2025-06-01 18:36:21> ApplyReleasesImpl: Examining Pin: Task Manager.lnk
2025-06-01 18:36:21> ApplyReleasesImpl: Examining Pin: Telegram.lnk
2025-06-01 18:36:21> ApplyReleasesImpl: Examining Pin: Vbsedit.lnk
2025-06-01 18:36:21> ApplyReleasesImpl: Examining Pin: Visual Studio Code.lnk
2025-06-01 18:36:21> ApplyReleasesImpl: Examining Pin: WeChat.lnk
2025-06-01 18:36:21> ApplyReleasesImpl: Examining Pin: WPS Office.lnk
2025-06-01 18:36:21> ApplyReleasesImpl: Processing shortcut 'C:\Users\litch\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\Slack.lnk'
2025-06-01 18:36:21> ApplyReleasesImpl: Old shortcut target: 'C:\Users\litch\AppData\Local\slack\slack.exe'
2025-06-01 18:36:21> ApplyReleasesImpl: New shortcut target: 'C:\Users\litch\AppData\Local\slack\slack.exe'
2025-06-01 18:36:21> ApplyReleasesImpl: Old iconPath is: 'C:\Users\litch\AppData\Local\slack\slack.exe'
2025-06-01 18:36:21> ApplyReleasesImpl: Finished shortcut successfully
2025-06-01 18:36:21> ApplyReleasesImpl: Fixing up tray icons
2025-06-01 18:36:21> ApplyReleasesImpl: cleanDeadVersions: for version 4.44.60
2025-06-01 18:36:21> ApplyReleasesImpl: cleanDeadVersions: exclude folder app-4.44.60
2025-06-11 18:44:50> Program: Starting Squirrel Updater: --install . --silent --rerunningWithoutUAC
2025-06-11 18:44:50> Program: Starting install, writing to C:\Users\litch\AppData\Local\SquirrelTemp
2025-06-11 18:44:50> Program: About to install to: C:\Users\litch\AppData\Local\slack
2025-06-11 18:44:50> Program: Install path C:\Users\litch\AppData\Local\slack already exists, burning it to the ground
2025-06-11 18:44:50> Unhandled exception: System.AggregateException: One or more errors occurred. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Squirrel.UnsafeUtility.<>c__DisplayClass0_0.<EnumerateProcesses>b__0(Int32 i)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Squirrel.UnsafeUtility.EnumerateProcesses()
at Squirrel.UpdateManager.InstallHelperImpl.KillAllProcessesBelongingToPackage()
at Squirrel.Update.Program.<Install>d__4.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.IndexOutOfRangeException: Index was outside the bounds of the array.
at Squirrel.UnsafeUtility.<>c__DisplayClass0_0.<EnumerateProcesses>b__0(Int32 i)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Squirrel.UnsafeUtility.EnumerateProcesses()
at Squirrel.UpdateManager.InstallHelperImpl.KillAllProcessesBelongingToPackage()
at Squirrel.Update.Program.<Install>d__4.MoveNext()<---
2025-07-31 18:34:33> Program: Starting Squirrel Updater: --install . --silent --rerunningWithoutUAC
2025-07-31 18:34:33> Program: Starting install, writing to C:\Users\litch\AppData\Local\SquirrelTemp
2025-07-31 18:34:33> Program: About to install to: C:\Users\litch\AppData\Local\slack
2025-07-31 18:34:33> Program: Install path C:\Users\litch\AppData\Local\slack already exists, burning it to the ground
2025-07-31 18:34:33> IEnableLogger: : System.ComponentModel.Win32Exception (0x80004005): Access is denied
at System.Diagnostics.Process.Kill()
at Squirrel.UpdateManager.InstallHelperImpl.<>c__DisplayClass6_1.<KillAllProcessesBelongingToPackage>b__2()
at Squirrel.Utility.LogIfThrows(IFullLogger This, LogLevel level, String message, Action block)
2025-07-31 18:34:33> IEnableLogger: : System.ArgumentException: Process with an Id of 6100 is not running.
at System.Diagnostics.Process.GetProcessById(Int32 processId, String machineName)
at System.Diagnostics.Process.GetProcessById(Int32 processId)
at Squirrel.UpdateManager.InstallHelperImpl.<>c__DisplayClass6_1.<KillAllProcessesBelongingToPackage>b__2()
at Squirrel.Utility.LogIfThrows(IFullLogger This, LogLevel level, String message, Action block)
2025-07-31 18:34:33> IEnableLogger: : System.ComponentModel.Win32Exception (0x80004005): Access is denied
at System.Diagnostics.Process.Kill()
at Squirrel.UpdateManager.InstallHelperImpl.<>c__DisplayClass6_1.<KillAllProcessesBelongingToPackage>b__2()
at Squirrel.Utility.LogIfThrows(IFullLogger This, LogLevel level, String message, Action block)
2025-07-31 18:34:33> IEnableLogger: : System.ArgumentException: Process with an Id of 23644 is not running.
at System.Diagnostics.Process.GetProcessById(Int32 processId, String machineName)
at System.Diagnostics.Process.GetProcessById(Int32 processId)
at Squirrel.UpdateManager.InstallHelperImpl.<>c__DisplayClass6_1.<KillAllProcessesBelongingToPackage>b__2()
at Squirrel.Utility.LogIfThrows(IFullLogger This, LogLevel level, String message, Action block)
2025-07-31 18:34:33> IEnableLogger: : System.ArgumentException: Process with an Id of 27960 is not running.
at System.Diagnostics.Process.GetProcessById(Int32 processId, String machineName)
at System.Diagnostics.Process.GetProcessById(Int32 processId)
at Squirrel.UpdateManager.InstallHelperImpl.<>c__DisplayClass6_1.<KillAllProcessesBelongingToPackage>b__2()
at Squirrel.Utility.LogIfThrows(IFullLogger This, LogLevel level, String message, Action block)
2025-07-31 18:34:35> CheckForUpdateImpl: Couldn't write out staging user ID, this user probably shouldn't get beta anything: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\litch\AppData\Local\slack\packages\.betaId'.
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, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
at System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
at System.IO.File.WriteAllText(String path, String contents, Encoding encoding)
at Squirrel.UpdateManager.CheckForUpdateImpl.getOrCreateStagedUserId()
2025-07-31 18:34:35> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\litch\AppData\Local\slack\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__2.MoveNext()
2025-07-31 18:34:35> CheckForUpdateImpl: Reading RELEASES file from C:\Users\litch\AppData\Local\SquirrelTemp
2025-07-31 18:34:35> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2025-07-31 18:34:35> ApplyReleasesImpl: Writing files to app directory: C:\Users\litch\AppData\Local\slack\app-4.45.65
2025-07-31 18:34:36> LogHost: Rigging execution stub for lib/net45/slack_ExecutionStub.exe to C:\Users\litch\AppData\Local\slack\slack.exe
2025-07-31 18:34:40> ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\litch\AppData\Local\slack\app-4.45.65\slack.exe]
2025-07-31 18:34:41> ApplyReleasesImpl: Starting fixPinnedExecutables
2025-07-31 18:34:41> ApplyReleasesImpl: Examining Pin: Amazon Photos.lnk
2025-07-31 18:34:41> ApplyReleasesImpl: Examining Pin: Command Prompt.lnk
2025-07-31 18:34:41> ApplyReleasesImpl: Examining Pin: CrystalDiskInfo (64bit).lnk
2025-07-31 18:34:41> ApplyReleasesImpl: Examining Pin: CrystalDiskInfo Shizuku Edition (64bit).lnk
2025-07-31 18:34:41> ApplyReleasesImpl: Examining Pin: Discord.lnk
2025-07-31 18:34:41> ApplyReleasesImpl: Examining Pin: Disk Cleanup.lnk
2025-07-31 18:34:41> ApplyReleasesImpl: Examining Pin: Docker Desktop.lnk
2025-07-31 18:34:41> ApplyReleasesImpl: Examining Pin: File Explorer.lnk
2025-07-31 18:34:41> ApplyReleasesImpl: Examining Pin: FileZilla.lnk
2025-07-31 18:34:41> ApplyReleasesImpl: Examining Pin: FreeFileSync.lnk
2025-07-31 18:34:41> ApplyReleasesImpl: Examining Pin: Google Chrome.lnk
2025-07-31 18:34:41> ApplyReleasesImpl: Examining Pin: Ledger Live.lnk
2025-07-31 18:34:41> ApplyReleasesImpl: Examining Pin: Microsoft Edge.lnk
2025-07-31 18:34:41> ApplyReleasesImpl: Examining Pin: nekoray.lnk
2025-07-31 18:34:41> ApplyReleasesImpl: Examining Pin: Norton Security.lnk
2025-07-31 18:34:41> ApplyReleasesImpl: Examining Pin: Slack.lnk
2025-07-31 18:34:41> ApplyReleasesImpl: Examining Pin: Task Manager.lnk
2025-07-31 18:34:41> ApplyReleasesImpl: Examining Pin: Telegram.lnk
2025-07-31 18:34:41> ApplyReleasesImpl: Examining Pin: Vbsedit.lnk
2025-07-31 18:34:41> ApplyReleasesImpl: Examining Pin: Visual Studio Code.lnk
2025-07-31 18:34:41> ApplyReleasesImpl: Examining Pin: WeChat.lnk
2025-07-31 18:34:41> ApplyReleasesImpl: Examining Pin: WPS Office.lnk
2025-07-31 18:34:41> ApplyReleasesImpl: Processing shortcut 'C:\Users\litch\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\Slack.lnk'
2025-07-31 18:34:41> ApplyReleasesImpl: Old shortcut target: 'C:\Users\litch\AppData\Local\slack\slack.exe'
2025-07-31 18:34:41> ApplyReleasesImpl: New shortcut target: 'C:\Users\litch\AppData\Local\slack\slack.exe'
2025-07-31 18:34:41> ApplyReleasesImpl: Old iconPath is: 'C:\Users\litch\AppData\Local\slack\slack.exe'
2025-07-31 18:34:41> ApplyReleasesImpl: Finished shortcut successfully
2025-07-31 18:34:41> ApplyReleasesImpl: Fixing up tray icons
2025-07-31 18:34:41> ApplyReleasesImpl: cleanDeadVersions: for version 4.45.65
2025-07-31 18:34:41> ApplyReleasesImpl: cleanDeadVersions: exclude folder app-4.45.65
2025-09-14 01:05:14> Program: Starting Squirrel Updater: --install . --silent --rerunningWithoutUAC
2025-09-14 01:05:14> Program: Starting install, writing to C:\Users\litch\AppData\Local\SquirrelTemp
2025-09-14 01:05:14> Program: About to install to: C:\Users\litch\AppData\Local\slack
2025-09-14 01:05:14> Program: Install path C:\Users\litch\AppData\Local\slack already exists, burning it to the ground
2025-09-14 01:05:14> Unhandled exception: System.AggregateException: One or more errors occurred. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Squirrel.UnsafeUtility.<>c__DisplayClass0_0.<EnumerateProcesses>b__0(Int32 i)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Squirrel.UnsafeUtility.EnumerateProcesses()
at Squirrel.UpdateManager.InstallHelperImpl.KillAllProcessesBelongingToPackage()
at Squirrel.Update.Program.<Install>d__4.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.IndexOutOfRangeException: Index was outside the bounds of the array.
at Squirrel.UnsafeUtility.<>c__DisplayClass0_0.<EnumerateProcesses>b__0(Int32 i)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Squirrel.UnsafeUtility.EnumerateProcesses()
at Squirrel.UpdateManager.InstallHelperImpl.KillAllProcessesBelongingToPackage()
at Squirrel.Update.Program.<Install>d__4.MoveNext()<---
2025-09-14 01:06:22> Program: Starting Squirrel Updater: --install . --silent --rerunningWithoutUAC
2025-09-14 01:06:22> Program: Starting install, writing to C:\Users\litch\AppData\Local\SquirrelTemp
2025-09-14 01:06:22> Program: About to install to: C:\Users\litch\AppData\Local\slack
2025-09-14 01:06:22> Program: Install path C:\Users\litch\AppData\Local\slack already exists, burning it to the ground
2025-09-14 01:06:22> Unhandled exception: System.AggregateException: One or more errors occurred. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Squirrel.UnsafeUtility.<>c__DisplayClass0_0.<EnumerateProcesses>b__0(Int32 i)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Squirrel.UnsafeUtility.EnumerateProcesses()
at Squirrel.UpdateManager.InstallHelperImpl.KillAllProcessesBelongingToPackage()
at Squirrel.Update.Program.<Install>d__4.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.IndexOutOfRangeException: Index was outside the bounds of the array.
at Squirrel.UnsafeUtility.<>c__DisplayClass0_0.<EnumerateProcesses>b__0(Int32 i)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Squirrel.UnsafeUtility.EnumerateProcesses()
at Squirrel.UpdateManager.InstallHelperImpl.KillAllProcessesBelongingToPackage()
at Squirrel.Update.Program.<Install>d__4.MoveNext()<---
2025-09-24 01:05:18> Program: Starting Squirrel Updater: --install . --silent --rerunningWithoutUAC
2025-09-24 01:05:19> Program: Starting install, writing to C:\Users\litch\AppData\Local\SquirrelTemp
2025-09-24 01:05:19> Program: About to install to: C:\Users\litch\AppData\Local\slack
2025-09-24 01:05:19> Program: Install path C:\Users\litch\AppData\Local\slack already exists, burning it to the ground
2025-09-24 01:05:19> Unhandled exception: System.AggregateException: One or more errors occurred. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Squirrel.UnsafeUtility.<>c__DisplayClass0_0.<EnumerateProcesses>b__0(Int32 i)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Squirrel.UnsafeUtility.EnumerateProcesses()
at Squirrel.UpdateManager.InstallHelperImpl.KillAllProcessesBelongingToPackage()
at Squirrel.Update.Program.<Install>d__4.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.IndexOutOfRangeException: Index was outside the bounds of the array.
at Squirrel.UnsafeUtility.<>c__DisplayClass0_0.<EnumerateProcesses>b__0(Int32 i)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Squirrel.UnsafeUtility.EnumerateProcesses()
at Squirrel.UpdateManager.InstallHelperImpl.KillAllProcessesBelongingToPackage()
at Squirrel.Update.Program.<Install>d__4.MoveNext()<---
2025-09-24 01:06:22> Program: Starting Squirrel Updater: --install . --silent --rerunningWithoutUAC
2025-09-24 01:06:22> Program: Starting install, writing to C:\Users\litch\AppData\Local\SquirrelTemp
2025-09-24 01:06:22> Program: About to install to: C:\Users\litch\AppData\Local\slack
2025-09-24 01:06:22> Program: Install path C:\Users\litch\AppData\Local\slack already exists, burning it to the ground
2025-09-24 01:06:22> Unhandled exception: System.AggregateException: One or more errors occurred. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Squirrel.UnsafeUtility.<>c__DisplayClass0_0.<EnumerateProcesses>b__0(Int32 i)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Squirrel.UnsafeUtility.EnumerateProcesses()
at Squirrel.UpdateManager.InstallHelperImpl.KillAllProcessesBelongingToPackage()
at Squirrel.Update.Program.<Install>d__4.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.IndexOutOfRangeException: Index was outside the bounds of the array.
at Squirrel.UnsafeUtility.<>c__DisplayClass0_0.<EnumerateProcesses>b__0(Int32 i)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Squirrel.UnsafeUtility.EnumerateProcesses()
at Squirrel.UpdateManager.InstallHelperImpl.KillAllProcessesBelongingToPackage()
at Squirrel.Update.Program.<Install>d__4.MoveNext()<---
2025-10-19 13:38:12> Program: Starting Squirrel Updater: --install . --silent --rerunningWithoutUAC
2025-10-19 13:38:12> Program: Starting install, writing to C:\Users\litch\AppData\Local\SquirrelTemp
2025-10-19 13:38:12> Program: About to install to: C:\Users\litch\AppData\Local\slack
2025-10-19 13:38:12> Program: Install path C:\Users\litch\AppData\Local\slack already exists, burning it to the ground
2025-10-19 13:38:13> CheckForUpdateImpl: Couldn't write out staging user ID, this user probably shouldn't get beta anything: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\litch\AppData\Local\slack\packages\.betaId'.
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, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
at System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
at System.IO.File.WriteAllText(String path, String contents, Encoding encoding)
at Squirrel.UpdateManager.CheckForUpdateImpl.getOrCreateStagedUserId()
2025-10-19 13:38:13> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\litch\AppData\Local\slack\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__2.MoveNext()
2025-10-19 13:38:13> CheckForUpdateImpl: Reading RELEASES file from C:\Users\litch\AppData\Local\SquirrelTemp
2025-10-19 13:38:13> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2025-10-19 13:38:13> ApplyReleasesImpl: Writing files to app directory: C:\Users\litch\AppData\Local\slack\app-4.46.104
2025-10-19 13:38:13> LogHost: Rigging execution stub for lib/net45/slack_ExecutionStub.exe to C:\Users\litch\AppData\Local\slack\slack.exe
2025-10-19 13:38:17> ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\litch\AppData\Local\slack\app-4.46.104\slack.exe]
2025-10-19 13:38:19> ApplyReleasesImpl: Starting fixPinnedExecutables
2025-10-19 13:38:19> ApplyReleasesImpl: Examining Pin: Amazon Photos.lnk
2025-10-19 13:38:19> ApplyReleasesImpl: Examining Pin: Command Prompt.lnk
2025-10-19 13:38:19> ApplyReleasesImpl: Examining Pin: CrystalDiskInfo (64bit).lnk
2025-10-19 13:38:19> ApplyReleasesImpl: Examining Pin: CrystalDiskInfo Shizuku Edition (64bit).lnk
2025-10-19 13:38:19> ApplyReleasesImpl: Examining Pin: Discord.lnk
2025-10-19 13:38:19> ApplyReleasesImpl: Examining Pin: Disk Cleanup.lnk
2025-10-19 13:38:19> ApplyReleasesImpl: Examining Pin: Docker Desktop.lnk
2025-10-19 13:38:19> ApplyReleasesImpl: Examining Pin: File Explorer.lnk
2025-10-19 13:38:19> ApplyReleasesImpl: Examining Pin: FileZilla.lnk
2025-10-19 13:38:19> ApplyReleasesImpl: Examining Pin: FreeFileSync.lnk
2025-10-19 13:38:19> ApplyReleasesImpl: Examining Pin: Google Chrome.lnk
2025-10-19 13:38:19> ApplyReleasesImpl: Examining Pin: Ledger Live.lnk
2025-10-19 13:38:19> ApplyReleasesImpl: Examining Pin: Microsoft Edge.lnk
2025-10-19 13:38:19> ApplyReleasesImpl: Examining Pin: nekoray.lnk
2025-10-19 13:38:19> ApplyReleasesImpl: Examining Pin: Norton Security.lnk
2025-10-19 13:38:19> ApplyReleasesImpl: Examining Pin: Slack.lnk
2025-10-19 13:38:19> ApplyReleasesImpl: Examining Pin: Task Manager.lnk
2025-10-19 13:38:19> ApplyReleasesImpl: Examining Pin: Telegram.lnk
2025-10-19 13:38:19> ApplyReleasesImpl: Examining Pin: Vbsedit.lnk
2025-10-19 13:38:19> ApplyReleasesImpl: Examining Pin: Visual Studio Code.lnk
2025-10-19 13:38:19> ApplyReleasesImpl: Examining Pin: WeChat.lnk
2025-10-19 13:38:19> ApplyReleasesImpl: Examining Pin: WPS Office.lnk
2025-10-19 13:38:19> ApplyReleasesImpl: Processing shortcut 'C:\Users\litch\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\Slack.lnk'
2025-10-19 13:38:19> ApplyReleasesImpl: Old shortcut target: 'C:\Users\litch\AppData\Local\slack\slack.exe'
2025-10-19 13:38:19> ApplyReleasesImpl: New shortcut target: 'C:\Users\litch\AppData\Local\slack\slack.exe'
2025-10-19 13:38:19> ApplyReleasesImpl: Old iconPath is: 'C:\Users\litch\AppData\Local\slack\slack.exe'
2025-10-19 13:38:19> ApplyReleasesImpl: Finished shortcut successfully
2025-10-19 13:38:19> ApplyReleasesImpl: Fixing up tray icons
2025-10-19 13:38:19> ApplyReleasesImpl: cleanDeadVersions: for version 4.46.104
2025-10-19 13:38:19> ApplyReleasesImpl: cleanDeadVersions: exclude folder app-4.46.104
2026-02-23 16:04:00> Program: Starting Squirrel Updater: --install . --silent --rerunningWithoutUAC
2026-02-23 16:04:00> Program: Starting install, writing to C:\Users\litch\AppData\Local\SquirrelTemp
2026-02-23 16:04:00> Program: About to install to: C:\Users\litch\AppData\Local\slack
2026-02-23 16:04:00> Program: Install path C:\Users\litch\AppData\Local\slack already exists, burning it to the ground
2026-02-23 16:04:00> Unhandled exception: System.AggregateException: One or more errors occurred. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Squirrel.UnsafeUtility.<>c__DisplayClass0_0.<EnumerateProcesses>b__0(Int32 i)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Squirrel.UnsafeUtility.EnumerateProcesses()
at Squirrel.UpdateManager.InstallHelperImpl.KillAllProcessesBelongingToPackage()
at Squirrel.Update.Program.<Install>d__4.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.IndexOutOfRangeException: Index was outside the bounds of the array.
at Squirrel.UnsafeUtility.<>c__DisplayClass0_0.<EnumerateProcesses>b__0(Int32 i)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Squirrel.UnsafeUtility.EnumerateProcesses()
at Squirrel.UpdateManager.InstallHelperImpl.KillAllProcessesBelongingToPackage()
at Squirrel.Update.Program.<Install>d__4.MoveNext()<---
2026-02-23 16:04:33> Program: Starting Squirrel Updater: --install . --silent --rerunningWithoutUAC
2026-02-23 16:04:33> Program: Starting install, writing to C:\Users\litch\AppData\Local\SquirrelTemp
2026-02-23 16:04:33> Program: About to install to: C:\Users\litch\AppData\Local\slack
2026-02-23 16:04:33> Program: Install path C:\Users\litch\AppData\Local\slack already exists, burning it to the ground
2026-02-23 16:04:33> Unhandled exception: System.AggregateException: One or more errors occurred. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Squirrel.UnsafeUtility.<>c__DisplayClass0_0.<EnumerateProcesses>b__0(Int32 i)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Squirrel.UnsafeUtility.EnumerateProcesses()
at Squirrel.UpdateManager.InstallHelperImpl.KillAllProcessesBelongingToPackage()
at Squirrel.Update.Program.<Install>d__4.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.IndexOutOfRangeException: Index was outside the bounds of the array.
at Squirrel.UnsafeUtility.<>c__DisplayClass0_0.<EnumerateProcesses>b__0(Int32 i)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Squirrel.UnsafeUtility.EnumerateProcesses()
at Squirrel.UpdateManager.InstallHelperImpl.KillAllProcessesBelongingToPackage()
at Squirrel.Update.Program.<Install>d__4.MoveNext()<---
2026-02-28 16:03:44> Program: Starting Squirrel Updater: --install . --silent --rerunningWithoutUAC
2026-02-28 16:03:44> Program: Starting install, writing to C:\Users\litch\AppData\Local\SquirrelTemp
2026-02-28 16:03:44> Program: About to install to: C:\Users\litch\AppData\Local\slack
2026-02-28 16:03:44> Program: Install path C:\Users\litch\AppData\Local\slack already exists, burning it to the ground
2026-02-28 16:03:44> Unhandled exception: System.AggregateException: One or more errors occurred. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Squirrel.UnsafeUtility.<>c__DisplayClass0_0.<EnumerateProcesses>b__0(Int32 i)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Squirrel.UnsafeUtility.EnumerateProcesses()
at Squirrel.UpdateManager.InstallHelperImpl.KillAllProcessesBelongingToPackage()
at Squirrel.Update.Program.<Install>d__4.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.IndexOutOfRangeException: Index was outside the bounds of the array.
at Squirrel.UnsafeUtility.<>c__DisplayClass0_0.<EnumerateProcesses>b__0(Int32 i)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Squirrel.UnsafeUtility.EnumerateProcesses()
at Squirrel.UpdateManager.InstallHelperImpl.KillAllProcessesBelongingToPackage()
at Squirrel.Update.Program.<Install>d__4.MoveNext()<---
2026-02-28 16:03:58> Program: Starting Squirrel Updater: --install . --silent --rerunningWithoutUAC
2026-02-28 16:03:58> Program: Starting install, writing to C:\Users\litch\AppData\Local\SquirrelTemp
2026-02-28 16:03:58> Program: About to install to: C:\Users\litch\AppData\Local\slack
2026-02-28 16:03:58> Program: Install path C:\Users\litch\AppData\Local\slack already exists, burning it to the ground
2026-02-28 16:03:58> Unhandled exception: System.AggregateException: One or more errors occurred. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Squirrel.UnsafeUtility.<>c__DisplayClass0_0.<EnumerateProcesses>b__0(Int32 i)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Squirrel.UnsafeUtility.EnumerateProcesses()
at Squirrel.UpdateManager.InstallHelperImpl.KillAllProcessesBelongingToPackage()
at Squirrel.Update.Program.<Install>d__4.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.IndexOutOfRangeException: Index was outside the bounds of the array.
at Squirrel.UnsafeUtility.<>c__DisplayClass0_0.<EnumerateProcesses>b__0(Int32 i)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Squirrel.UnsafeUtility.EnumerateProcesses()
at Squirrel.UpdateManager.InstallHelperImpl.KillAllProcessesBelongingToPackage()
at Squirrel.Update.Program.<Install>d__4.MoveNext()<---
2026-03-22 10:23:01> Program: Starting Squirrel Updater: --install . --silent --rerunningWithoutUAC
2026-03-22 10:23:01> Program: Starting install, writing to C:\Users\litch\AppData\Local\SquirrelTemp
2026-03-22 10:23:01> Program: About to install to: C:\Users\litch\AppData\Local\slack
2026-03-22 10:23:01> Program: Install path C:\Users\litch\AppData\Local\slack already exists, burning it to the ground
2026-03-22 10:23:01> Unhandled exception: System.AggregateException: One or more errors occurred. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Squirrel.UnsafeUtility.<>c__DisplayClass0_0.<EnumerateProcesses>b__0(Int32 i)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Squirrel.UnsafeUtility.EnumerateProcesses()
at Squirrel.UpdateManager.InstallHelperImpl.KillAllProcessesBelongingToPackage()
at Squirrel.Update.Program.<Install>d__4.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.IndexOutOfRangeException: Index was outside the bounds of the array.
at Squirrel.UnsafeUtility.<>c__DisplayClass0_0.<EnumerateProcesses>b__0(Int32 i)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Squirrel.UnsafeUtility.EnumerateProcesses()
at Squirrel.UpdateManager.InstallHelperImpl.KillAllProcessesBelongingToPackage()
at Squirrel.Update.Program.<Install>d__4.MoveNext()<---
And I've asked ChatGPT :
Squirrel is the Windows auto-update framework used by apps like Slack and Discord. So this log is basically showing those apps trying to install or update themselves under your user profile in:C:\Users\litch\AppData\Local...
What it means
The 2023 entries show normal first-time installs for Slack and Discord.
The later 2025–2026 entries show Slack repeatedly trying to update, and many of those attempts are failing.
The main failure pattern is this:System.IndexOutOfRangeException
inside
Squirrel.UnsafeUtility.EnumerateProcesses()
while trying to
KillAllProcessesBelongingToPackage()That means the updater is trying to enumerate and kill running Slack-related processes before replacing files, and the updater itself is crashing.
A few important lines
About to install to: C:\Users\litch\AppData\Local\slack
Slack is updating in the per-user install folder.
Install path ... already exists, burning it to the ground
Squirrel is deleting/rebuilding the install directory before reinstalling.
Could not find ... \packages\RELEASES / .betaId
Usually means it is treating this as a fresh install or the local package metadata folder was missing/corrupt during update.
Access is denied on Process.Kill()
Some process could not be terminated.
Process with an Id ... is not running
Race condition: process exited before Squirrel tried to kill it.
IndexOutOfRangeException in EnumerateProcesses()
This is the real bug-ish part. It suggests Squirrel/Slack updater hit an internal error, not just a simple missing file.So, is this malware?
Very unlikely based on this log alone.
It looks like a standard Slack/Discord updater log, not malicious code. The paths, executable names, and message patterns all match normal Squirrel-based app updates.What’s actually wrong on your machine
Most likely one or more of these:Slack install state is corrupted
Old Slack processes are lingering during update
Permissions/UAC interference
Antivirus/security software blocking process termination or file replacement
A bug in Slack’s bundled Squirrel updaterWhy Discord succeeded but Slack often failed
Your Discord section shows a mostly normal install. Slack later gets into a bad state where:updater deletes/recreates install folders,
package metadata is missing,
process enumeration crashes,
some retries later succeed,
then future updates fail again.That pattern usually points to a broken local Slack installation/update state, not a Windows-wide issue.
Best fix
I’d do this in order:Fully quit Slack
Exit from tray icon
In Task Manager, end all slack.exe processes
Delete Slack’s local install folders
C:\Users\litch\AppData\Local\slack
C:\Users\litch\AppData\Local\SquirrelTemp
Do not touch Discord.
Reinstall Slack fresh
Download latest Slack installer from Slack
Install normally
If it still fails:
temporarily disable overly aggressive AV/endpoint protection
run installer as your normal user first; if needed, try elevated once
reboot before reinstalling to clear stuck processes
Optional cleanup
Remove broken Slack shortcuts from taskbar/start menu, then re-pin after reinstallBottom line
This log is:not a code snippet
not a Windows system error log
an app updater log for Slack/Discord using SquirrelAnd the key issue is:
Slack auto-update is repeatedly failing because the Squirrel updater crashes while enumerating/killing processes, leaving Slack in a partially broken install state.
If you want, paste the path or filename of the log and I’ll tell you exactly which app generated it and which folders are safe to delete.

