NSIS with oneClick set to true does not relaunch the app after update
See original GitHub issue- Version: 7.21.0
- Target: Windows NSIS
Description of the problem: Windows NSIS with oneClick set to true does not relaunch the app after update (using quitAndInstall). On the other hand, using the same build for OSX (Squirrel.Mac) it relaunches the app after updating (using the same code of quitAndInstall). This confuses the customer as there is no installergif or validation that the update is done.
Configuration looks like:
"build": {
"appId": X
"asar": false,
"category": X
"win": {
"target": "nsis"
},
"nsis": {
"guid": X,
"oneClick": true
}
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:13 (6 by maintainers)
Top Results From Across the Web
NSIS - electron-builder
If oneClick is false and perMachine is true : no install mode installer page, always install per-machine. If oneClick is false and perMachine...
Read more >Make electron app oneClick for updates but not for first ...
It all works except when the updater is running, it first asks the users where does he want to install the software and...
Read more >Chapter 4: Scripting Reference
A NSIS Script File (.nsi) is just a text file with script code. ... When there are no uninstaller page commands the following...
Read more >Run Electron applications with admin privileges in Windows
Electron Builder + Task Scheduler = Run as admin without UAC.
Read more >Top 5 electron-builder Code Examples - Snyk
Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately. ... indexOf("GitHub Personal Access Token...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I wasn’t going to be picky, but the install update showing progress would be great! An installer gif or a progress bar (similar to a normal install) would be awesome.
Fixed in electron-auto-updater 0.6.0.
Please note — currently, app will be relaunched only if you don’t set
runAfterFinish
tofalse
(defaults totrue
, if you didn’t customise it, don’t worry).