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.

Cannot download differentially: __installer.exe missing

See original GitHub issue
  • 20.28.4:
  • 3.1.2
  • Windows - NSIS

Hi, I’m attempting to use electron-updater for the first time (previously used Squirrel for windows) but I am getting an error in the logs when it is attempting to “download differentially”. I am using an S3 bucket. The error is:

[2018-10-04 16:09:24.332] [error] Cannot download differentially, fallback to full download: Error: ENOENT: no such file or directory, open 'C:\Users\James\AppData\Roaming\my-app\__installer.exe'
    at C:\Users\James\AppData\Local\Programs\my-app\resources\app.asar\node_modules\electron-updater\src\differentialDownloader\DifferentialDownloader.ts:119:29
    at Generator.next (<anonymous>)
From previous event:
    at GenericDifferentialDownloader.doDownloadFile (C:\Users\James\AppData\Local\Programs\my-app\resources\app.asar\node_modules\electron-updater\src\differentialDownloader\DifferentialDownloader.ts:118:82)
    at GenericDifferentialDownloader.downloadFile (C:\Users\James\AppData\Local\Programs\my-app\resources\app.asar\node_modules\electron-updater\src\differentialDownloader\DifferentialDownloader.ts:92:17)
    at GenericDifferentialDownloader.doDownload (C:\Users\James\AppData\Local\Programs\my-app\resources\app.asar\node_modules\electron-updater\src\differentialDownloader\DifferentialDownloader.ts:79:17)
    at C:\Users\James\AppData\Local\Programs\my-app\resources\app.asar\node_modules\electron-updater\src\differentialDownloader\GenericDifferentialDownloader.ts:6:16
    at Generator.next (<anonymous>)

It appears to be looking for the latest installer as __installer.exe which does not exist in my AppData\Roaming\my-app\ folder… but there is a MyApp Setup 0.0.5.exe in the AppData\Roaming\my-app\__update__\ directory… perhaps it should be looking there instead?

It does successfully download the full version for update, but obviously the delta update would be better.

Thanks for advice.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:9
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

6reactions
bennettatomscommented, Jan 2, 2019

Hi there!

First of all, thank you for all your work on electron-builder (it’s remarkable!), and for being so responsive to the issues raised. We’re using electron-builder v20.34.0 and just got the same error trying to auto-update for the first time on a windows machine. Mac auto-updating seems to be working fine, but on the windows box we got:

[error] Cannot download differentially, fallback to full download: Error: ENOENT: no such file or directory, open ‘C:\Users\ThisGuy\AppData\Local\OurElectronApp\installer.exe’

The only directory I see inside 'C:\Users\ThisGuy\AppData\Local\OurElectronApp' is pending.

Any advice? @develar

5reactions
zhaoterryycommented, Nov 7, 2018

Does this only occur on first update? Try version 20.30.0 or greater. The fix for this issue was introduced in 20.29.1.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Electron-update not working - Maximum allowed size is 50 MB
Previously they had limit of 50MB for downloading update but now its 500 MB in latest versions through electron auto updater.
Read more >
What to do if you can't download or save files | Firefox Help
If you can't download or save files with Firefox, this article explains the steps to take to fix this problem.
Read more >
Games that won't download, install, or load in the EA app
Try moving file location · Close the EA app completely. · Go to C:\Program Files\EA Games and move the folder for the game...
Read more >
Auto Update - electron-builder
Mac, otherwise latest-mac.yml cannot be created, which causes autoUpdater ... map data is embedded into the file (appimage, windows web installer package).
Read more >
Download and installation instructions - IBM SPSS Statistics
On the Mac OS, you must double-click the installer file after you mount the disk image. Follow the installation steps (including accepting 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