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

Dummy update.exe IDR_UPDATE_ZIP #41

Open
benjarn374 opened this issue Dec 12, 2022 · 0 comments
Open

Dummy update.exe IDR_UPDATE_ZIP #41

benjarn374 opened this issue Dec 12, 2022 · 0 comments

Comments

@benjarn374
Copy link

npm 8.13.2
node v18.12.1
Microsoft Windows 11 Famille - Version 10.0.22621 Build 22621

i have pack my app correctly
I build and get a exe setup file.

When executing that setup.exe, i am having a hwhoops popup saying :

hwhoops

This is a dummy update.exe. If you are seeing this, your build did not correctly replace the IDR_UPDATE_ZIP resource.

Command Line: '--install .'

My dependencies

    "electron": "^21.2.2",
    "electron-installer-dmg": "^4.0.0",
    "electron-installer-windows": "^3.0.0",
    "electron-packager": "^17.1.1"
    "electron-squirrel-startup": "^1.0.0",

My index.js start with

const { app, BrowserWindow, systemPreferences } = require('electron');
if(require('electron-squirrel-startup')) app.quit();
const path = require('path');
const packageJson = require('./package.json');

My squirrelLog

2022-12-07 17:06:15> ApplyReleasesImpl: Couldn't run Squirrel hook, continuing: C:\Users\benja\AppData\Local\teoola_show\app-1.0.0\teoola-show.exe: System.OperationCanceledException: L'opération a été annulée.
   à System.Threading.CancellationToken.ThrowOperationCanceledException()
   à Squirrel.Utility.<>c__DisplayClass11_0.<InvokeProcessAsync>b__0()
   à System.Threading.Tasks.Task.InnerInvoke()
   à System.Threading.Tasks.Task.Execute()
--- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
   à System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   à Squirrel.Utility.<InvokeProcessAsync>d__11.MoveNext()
--- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
   à System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   à Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClass10_0.<<invokePostInstall>b__0>d.MoveNext()
2022-12-07 17:06:15> ApplyReleasesImpl: Starting fixPinnedExecutables
2022-12-07 17:06:15> ApplyReleasesImpl: Examining Pin: File Explorer.lnk
2022-12-07 17:06:15> ApplyReleasesImpl: Examining Pin: Firefox.lnk
2022-12-07 17:06:15> ApplyReleasesImpl: Examining Pin: Visual Studio Code.lnk
2022-12-07 17:06:15> ApplyReleasesImpl: Fixing up tray icons
2022-12-07 17:06:15> ApplyReleasesImpl: cleanDeadVersions: for version 1.0.0
2022-12-07 17:06:15> ApplyReleasesImpl: cleanDeadVersions: exclude folder app-1.0.0
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

1 participant