electron-builder icon indicating copy to clipboard operation
electron-builder copied to clipboard

Auto update fails without error on Windows(NSIS)

Open OSA2001d opened this issue 7 months ago • 3 comments

  • Electron-Builder Version: 23.6.0, 24.6.4 (22.12.0 and after)
  • Node Version: v18.17.1
  • Electron Version: 26.2.0
  • Electron Type (current, beta, nightly): current
  • Target: Windows(NSIS)

Now we are using [email protected] and tried to upgrade the version to 23.6.0 and 24.6.4. But by using new versions, we faced auto update fail. Seems like download of the update file is successful, but the subsequent installation fails.

We confirmed that the issue occurs with electron-builder versions after v.22.12.0.

Is there anyone else experiencing the same issue as us? Does anyone have an idea to fix the issue?


Workaround We could fix the issue by changing uninstall.nsh as commented here on the commit for [email protected].

But we are not sure the change is truly correct for us.

OSA2001d avatar Nov 13 '23 04:11 OSA2001d

This could be the same issue as #7127. There are thousands of people affected, but no comment from Electron devs on that issue...

Jaifroid avatar Feb 09 '24 12:02 Jaifroid

facing the same issue on nsis builds for windows. tried all combinations of nsis configs. essence is that releases are downloaded from github, but the moment the installation should happens, it just fails silently.

finding: when navigating to User/username/App Data/Locale/appName-updater, you find a "pending" folder which includes the installer for the new version (we assume). Opening this one manually just leads to the same silent failure.

extremely frustrating for us as we are using pretty much a default setup for nsis & electron. Will keep you posted if we find something uself.

louismorgner avatar Feb 14 '24 13:02 louismorgner

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.

github-actions[bot] avatar Apr 15 '24 01:04 github-actions[bot]

This issue was closed because it has been stalled for 30 days with no activity.

github-actions[bot] avatar May 16 '24 00:05 github-actions[bot]