electron-builder: Building on Windows fails with Update.com Error Code

Running npm run dist on windows exists with the following error:

\node_modules\electron-winstaller-fixed\vendor\Update.com failed with exit code: 4294967295

npm run pack works just fine. I’m trying to create an MSI and work towards windows autoupdating.

Running the latest Windows Technical Preview, in case that matters. Tried both @latest and @3.11.0 suggested in #366

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 22 (8 by maintainers)

Commits related to this issue

Most upvoted comments

Still doesn’t work on 3.26.3 Just keep getting Update.com failed with exit code: 4294967295 Only pack works

(Indeedm the file 'C:\app\dist\win\TestApp-0.1.6-full.nupkg' does not exists…)

Here, on Windows 7 32 bit. Yesterday it worked!

2016-05-13 04:23:04> Program: Starting Squirrel Updater: --releasify C:\app\dist\win\TestApp-0.1.6-full.nupkg --releaseDir C:\app\dist\win --loadingGif C:\app\build\loading-splash.png --no-msi 2016-05-13 04:23:06> Program: Bootstrapper EXE found at:C:\app\node_modules\electron-builder\node_modules\electron-winstaller-fixed\vendor\Setup.exe 2016-05-13 04:23:09> Unhandled exception: System.IO.FileNotFoundException: Could not find file ‘C:\app\dist\win\TestApp-0.1.6-full.nupkg’. File name: ‘C:\app\dist\win\TestApp-0.1.6-full.nupkg’ at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream…ctor(String path, FileMode mode, FileAccess access, FileShare share) at Squirrel.ReleaseEntry.GenerateFromFile(String path, String baseUrl) at Squirrel.Update.Program.<>c__DisplayClass10_0.<ReleasifyElectron>b__0(String packageFilename) at System.Linq.Enumerable.WhereSelectListIterator2.MoveNext() at System.Collections.Generic.List1…ctor(IEnumerable1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source) at Squirrel.Update.Program.ReleasifyElectron(String package, String targetDir, String bootstrapperExe, String backgroundGif, String baseUrl, Boolean generateMsi) at Squirrel.Update.Program.executeCommandLine(String[] args) at Squirrel.Update.Program.main(String[] args)