NSIS all users installation auto-update
See original GitHub issue-
electron-builder version: 19.47.1
-
electron-updater version 2.16.3
-
Target: win
I’m facing the issue with updating application installed to the Program Files folder.
I have oneClick: false
in config and i’m installing updates with:
setImmediate(() => {
app.removeAllListeners("window-all-closed");
autoUpdater.quitAndInstall(true, true);
});
So when I’m trying to update application running under not admin account, it show UAC notificaton to enable old-uninstaller.exe execution. After I click on Yes it successfully deletes everything from application folder in Program Files but not installs new one. Altough, when I’m trying to update it under admin account it will be updated successfully.
Maybe it’s relevant to this issue. Could you please take a look on it or maybe suggest where should i look?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:5
- Comments:16 (11 by maintainers)
Top Results From Across the Web
Update Check / Auto Update / Web Download - NSIS Forums
Update Check / Auto Update / Web Download Hi, I'm using NSIS as installer for some apps I wrote. This works great. Now...
Read more >How to silently auto-update an electron application that is ...
A third option is to create a NT service that runs the installer. Services can be configured so that normal users can start...
Read more >NsisOptions - electron-builder
Or whether installation always per all users (per-machine). If oneClick is true (default): Whether to install per all users (per-machine). If oneClick is ......
Read more >Silent install options - GanttProject Desktop Support
I'd like to automatically block updates notifications on software startup for all users (classrooms, the users can't do that). I remote silently install...
Read more >MSI Installer for Coginiti Pro on Microsoft Windows
We disable automatic updates with a message to the user. ... IMPORTANT: MSI and NSIS installers are incompatible.
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
Ok, figured out myself. You can use this customInit script in order to make it work as expected:
A little more description:
The problem exists with the per-user installation.