question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Win64 system wide checkForUpdatesAndNotify() uninstalls but doesn't install

See original GitHub issue
  • Version: 22.9.1
  • Electron Version: 10.1.5
  • Electron Type (current, beta, nightly): current
  • electron-updater Version: 4.3.5
  • Target: win64

I’m running a generic server auto-update on Windows using NSIS. Auto update works correctly if the application is installed per-user, but when the application is installed system wide:

  1. The user launches an old version of the app
  2. The user receives a notification that the app is ready to update on close
  3. The user closes the app and received a UAC popup for old-uninstaller.exe (from a temporary folder)
  4. The user gives permission
  5. The old version of application is deleted
  6. Nothing else happens

Expected behaviour The new version of the application is installed

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10

github_iconTop GitHub Comments

1reaction
Yorannncommented, Sep 14, 2021

@Yorannn can you link to the workaround that ended up working for us?

This was the workaround I used https://github.com/electron-userland/electron-builder/issues/2363

0reactions
timvdalencommented, Apr 19, 2022

Should be fixed by #6450

Read more comments on GitHub >

github_iconTop Results From Across the Web

Having Trouble With A Windows Update? Lets Uninstall IT
Lets Uninstall IT So you updated Windows 11 or Windows 10 and now you are having a problem with your windows computer? Well...
Read more >
Electron-Updater detects update, but doesn't download it
The problem: electron-updater detects the new version, but does not download and install it. I use electron-updater@4.3.8 and build my app with ...
Read more >
How are you keeping Teams Machine-Wide Installer updated?
Currently looks as though we'll have to uninstall the machine wide installer and then re-install, as well as deleting user profiles.
Read more >
Viewing online file analysis results for 'bvckup2.exe'
Spyware: Found a string that may be used as part of an injection method; Persistence: Modifies System Certificates Settings; Fingerprint: Queries firmware ...
Read more >
Diff - platform/frameworks/base - Google Git
This variant also takes a TypeEvaluator because the system * cannot ... but wasn't big enough to cause a resource change so the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found