Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Squirrel.log error (setup.exe) #517

Open
DevKilioZOfficiel opened this issue Jun 4, 2024 · 4 comments
Open

Squirrel.log error (setup.exe) #517

DevKilioZOfficiel opened this issue Jun 4, 2024 · 4 comments

Comments

@DevKilioZOfficiel
Copy link

Hi, When I want to open my setup.exe, I get a squirrel error saying this:

26372> 2024-06-02 11:40:17> Program: Starting Squirrel Updater: --install .
26372> 2024-06-02 11:40:17> Program: Starting install, writing to C:\Users\trix-\AppData\Local\SquirrelTemp
26372> 2024-06-02 11:40:17> Program: About to install to: C:\Users\trix-\AppData\Local\Discord
26372> 2024-06-02 11:40:17> SingleGlobalInstance: Grabbing lockfile with timeout of 00:00:10
26372> 2024-06-02 11:40:17> CheckForUpdateImpl: Reading RELEASES file from C:\Users\trix-\AppData\Local\SquirrelTemp
26372> 2024-06-02 11:40:18> CheckForUpdateImpl: Remote version 1.0.9147 differs from local 
26372> 2024-06-02 11:40:18> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
26372> 2024-06-02 11:40:18> ApplyReleasesImpl: Writing files to app directory: C:\Users\trix-\AppData\Local\Discord\app-1.0.9147
26372> 2024-06-02 11:40:19> ApplyReleasesImpl: Moving file C:\Users\trix-\AppData\Local\Discord\app-1.0.9147\lib\net45\chrome_100_percent.pak to C:\Users\trix-\AppData\Local\Discord\app-1.0.9147\chrome_100_percent.pak
26372> 2024-06-02 11:40:19> ApplyReleasesImpl: Moving file C:\Users\trix-\AppData\Local\Discord\app-1.0.9147\lib\net45\d3dcompiler_47.dll to C:\Users\trix-\AppData\Local\Discord\app-1.0.9147\d3dcompiler_47.dll
26372> 2024-06-02 11:40:19> ApplyReleasesImpl: Moving file C:\Users\trix-\AppData\Local\Discord\app-1.0.9147\lib\net45\app.ico to C:\Users\trix-\AppData\Local\Discord\app-1.0.9147\app.ico
26372> 2024-06-02 11:40:19> ApplyReleasesImpl: Moving file C:\Users\trix-\AppData\Local\Discord\app-1.0.9147\lib\net45\chrome_200_percent.pak to C:\Users\trix-\AppData\Local\Discord\app-1.0.9147\chrome_200_percent.pak
26372> 2024-06-02 11:40:19> ApplyReleasesImpl: Moving file C:\Users\trix-\AppData\Local\Discord\app-1.0.9147\lib\net45\Discord.exe to C:\Users\trix-\AppData\Local\Discord\app-1.0.9147\Discord.exe
26372> 2024-06-02 11:40:20> ApplyReleasesImpl: Moving file C:\Users\trix-\AppData\Local\Discord\app-1.0.9147\lib\net45\Discord.exe.sig to C:\Users\trix-\AppData\Local\Discord\app-1.0.9147\Discord.exe.sig
26372> 2024-06-02 11:40:20> ApplyReleasesImpl: Moving file C:\Users\trix-\AppData\Local\Discord\app-1.0.9147\lib\net45\ffmpeg.dll to C:\Users\trix-\AppData\Local\Discord\app-1.0.9147\ffmpeg.dll
26372> 2024-06-02 11:40:20> ApplyReleasesImpl: Moving file C:\Users\trix-\AppData\Local\Discord\app-1.0.9147\lib\net45\icudtl.dat to C:\Users\trix-\AppData\Local\Discord\app-1.0.9147\icudtl.dat
26372> 2024-06-02 11:40:20> ApplyReleasesImpl: Moving file C:\Users\trix-\AppData\Local\Discord\app-1.0.9147\lib\net45\installer.db to C:\Users\trix-\AppData\Local\Discord\app-1.0.9147\installer.db
26372> 2024-06-02 11:40:20> ApplyReleasesImpl: Moving file C:\Users\trix-\AppData\Local\Discord\app-1.0.9147\lib\net45\libEGL.dll to C:\Users\trix-\AppData\Local\Discord\app-1.0.9147\libEGL.dll
26372> 2024-06-02 11:40:20> ApplyReleasesImpl: Moving file C:\Users\trix-\AppData\Local\Discord\app-1.0.9147\lib\net45\libGLESv2.dll to C:\Users\trix-\AppData\Local\Discord\app-1.0.9147\libGLESv2.dll
26372> 2024-06-02 11:40:20> ApplyReleasesImpl: Moving file C:\Users\trix-\AppData\Local\Discord\app-1.0.9147\lib\net45\updater.node to C:\Users\trix-\AppData\Local\Discord\app-1.0.9147\updater.node
26372> 2024-06-02 11:40:20> ApplyReleasesImpl: Moving file C:\Users\trix-\AppData\Local\Discord\app-1.0.9147\lib\net45\snapshot_blob.bin to C:\Users\trix-\AppData\Local\Discord\app-1.0.9147\snapshot_blob.bin
26372> 2024-06-02 11:40:20> ApplyReleasesImpl: Moving file C:\Users\trix-\AppData\Local\Discord\app-1.0.9147\lib\net45\resources.pak to C:\Users\trix-\AppData\Local\Discord\app-1.0.9147\resources.pak
26372> 2024-06-02 11:40:20> ApplyReleasesImpl: Moving file C:\Users\trix-\AppData\Local\Discord\app-1.0.9147\lib\net45\v8_context_snapshot.bin to C:\Users\trix-\AppData\Local\Discord\app-1.0.9147\v8_context_snapshot.bin
26372> 2024-06-02 11:40:20> ApplyReleasesImpl: Moving file C:\Users\trix-\AppData\Local\Discord\app-1.0.9147\lib\net45\vk_swiftshader_icd.json to C:\Users\trix-\AppData\Local\Discord\app-1.0.9147\vk_swiftshader_icd.json
26372> 2024-06-02 11:40:20> ApplyReleasesImpl: Moving file C:\Users\trix-\AppData\Local\Discord\app-1.0.9147\lib\net45\vk_swiftshader.dll to C:\Users\trix-\AppData\Local\Discord\app-1.0.9147\vk_swiftshader.dll
26372> 2024-06-02 11:40:20> ApplyReleasesImpl: Moving file C:\Users\trix-\AppData\Local\Discord\app-1.0.9147\lib\net45\vulkan-1.dll to C:\Users\trix-\AppData\Local\Discord\app-1.0.9147\vulkan-1.dll
26372> 2024-06-02 11:40:20> ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\trix-\AppData\Local\Discord\app-1.0.9147\Discord.exe]
26372> 2024-06-02 11:40:20> Utility: Process Started: C:\Users\trix-\AppData\Local\Discord\app-1.0.9147\Discord.exe --squirrel-install 1.0.9147, pid 32160
26372> 2024-06-02 11:40:21> Utility: Received exitcode 0 from process C:\Users\trix-\AppData\Local\Discord\app-1.0.9147\Discord.exe
26372> 2024-06-02 11:40:21> ApplyReleasesImpl: ran C:\Users\trix-\AppData\Local\Discord\app-1.0.9147\Discord.exe, pid 22872
26372> 2024-06-02 11:40:21> ApplyReleasesImpl: Starting fixPinnedExecutables
26372> 2024-06-02 11:40:21> ApplyReleasesImpl: fixPinnedExecutables: newCurrentFolder: app-1.0.9147
26372> 2024-06-02 11:40:21> ApplyReleasesImpl: fixPinnedExecutables: enumerating path C:\Users\trix-\AppData\Roaming\Microsoft\Windows\Start Menu failed: System.UnauthorizedAccessException: L'accès au chemin d'accès 'C:\Users\trix-\AppData\Roaming\Microsoft\Windows\Start Menu\Programmes' est refusé.
   à System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   à System.IO.FileSystemEnumerableIterator`1.AddSearchableDirsToStack(SearchData localSearchData)
   à System.IO.FileSystemEnumerableIterator`1.MoveNext()
   à System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   à System.IO.DirectoryInfo.InternalGetFiles(String searchPattern, SearchOption searchOption)
   à System.IO.DirectoryInfo.GetFiles(String searchPattern, SearchOption searchOption)
   à Squirrel.UpdateManager.ApplyReleasesImpl.fixPinnedExecutables(SemanticVersion newCurrentVersion)
26372> 2024-06-02 11:40:21> ApplyReleasesImpl: Updating shortcut C:\Users\trix-\Desktop\Discord.lnk
26372> 2024-06-02 11:40:21> ApplyReleasesImpl: Fixing up tray icons
26372> 2024-06-02 11:40:21> ApplyReleasesImpl: cleanDeadVersions: for version 1.0.9147
26372> 2024-06-02 11:40:21> ApplyReleasesImpl: cleanDeadVersions: exclude current version folder app-1.0.9147
24104> 2024-06-02 11:40:22> Program: Starting Squirrel Updater: --install .
24104> 2024-06-02 11:40:22> Program: Starting install, writing to C:\Users\trix-\AppData\Local\SquirrelTemp
24104> 2024-06-02 11:40:22> Program: RELEASES doesn't exist, creating it at C:\Users\trix-\AppData\Local\SquirrelTemp\RELEASES
24104> 2024-06-02 11:40:22> Unhandled exception: System.AggregateException: Une ou plusieurs erreurs se sont produites. ---> System.InvalidOperationException: La séquence ne contient aucun élément.
   à System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
   à Squirrel.Update.Program.<Install>d__5.MoveNext()
   --- Fin de la trace de la pile d'exception interne ---
   à System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   à System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   à System.Threading.Tasks.Task.Wait()
   à Squirrel.Update.Program.executeCommandLine(String[] args)
   à Squirrel.Update.Program.main(String[] args)
---> (Exception interne #0) System.InvalidOperationException: La séquence ne contient aucun élément.
   à System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
   à Squirrel.Update.Program.<Install>d__5.MoveNext()<---


@anaisbetts
Copy link
Contributor

anaisbetts commented Jun 4, 2024

Can you paste your RELEASES file here, also is this the wrong section? This is installing Discord

@DevKilioZOfficiel
Copy link
Author

DevKilioZOfficiel commented Jun 4, 2024

So, no, my setup is not discord, but my electronjs application with electron-wininstaller

And my release files work just fine (when I open my app without setup).

@DevKilioZOfficiel
Copy link
Author

UP ?

@DevKilioZOfficiel
Copy link
Author

UP ??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants