Open popod opened 9 months ago
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.
Not stale.. Any reply or solution would be welcome :)
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.
Still not stale..
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.
Also having this issue occasionally.
This problem seem to exists from a while on Windows with NSIS update on app quit ! This works fine with macOS, only Windows does not works !
If the NSIS Windows updater is running during a shutdown or log-off, the app will become in an unrecoverable state (the executable will be removed from the AppData folder, etc.) ! This leads to the app being unusable !
It is common for users to quit an app (and trigger an update) before shutting down or logging off the computer so this seems like this could be quite a common issue. We had multiple reports of this from customers and I was able to reproduce it myself also.
This are similar issues : https://github.com/electron-userland/electron-builder/issues/3798, https://github.com/electron-userland/electron-builder/issues/7294, https://github.com/electron-userland/electron-builder/issues/3362, ...
So, is there any mechanism to make the NSIS auto update works on windows when the update is trigged on application quit ?
To resolve this, a workaround is to set
autoInstallOnAppQuit=false
. But in this case, the application can only be updated withautoUpdater.quitAndInstall()
which is not really user friendly and does not resolve the problem..I think that possibles solutions are:
electron-updater
Thanks your for reply and for providing a real solution for this big issue !