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.

Installer problems when building against v1.8.2-vmp1010

See original GitHub issue

Our app uses the built in Electron updater which means we run it through the windows-installer tool to build the binaries we ship. When we use the win32 x64 build of v1.8.2-vmp1010 the installer and setup binaries are built without error, however on running the setup.exe it warns of a missing VCRuntime140.dll file:

install-problem-small

This doesn’t happen with the vanilla build of Electron v1.8.2, nor with the 32bit version of v1.8.2-vmp1010. There’s not much in the way of help in the Squirrel logs so I’m at a loss as to why we get the error - as the file looks to get bundled.

One thing I’ve noticed is that if I md5 the x64 .dll files in the Castlabs build and compare against the vanilla Electron build there are 2 files that are the same - vcruntime140.dll being one of them.

Any thoughts would be appreciated, I’ll comment if I find anymore info or a resolution.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:24 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
obecnycommented, Mar 15, 2018

@devaffair electronDist is a part of electron build configuration https://www.electron.build/configuration/configuration so you keep this inside your app’s package.json. I have the same simple built script for osx and windows "release": "electron-packager tmp --overwrite --out=release --asar --executableName=electron" it works fine on both os I mean I can run npm run release on both of the system and as an outcome I have bundled version

1reaction
simongregorycommented, Mar 15, 2018

@devaffair, this isn’t the same issue but try configuring electron-packager to use a download mirror - you can see in the error it’s trying to download (via electron-download) from the main electron repo.

These options work for us when invoking the packager for Windows (for legacy reasons our Mac build is different):

  download: {
    mirror: 'https://github.com/castlabs/electron-releases/releases/download/v',
    cache: './.electron-dl-cache'
  },
Read more comments on GitHub >

github_iconTop Results From Across the Web

Install the Windows 8.1 Update (KB 2919355)
Install the Windows 8.1 Update (KB 2919355) · Check to see if it's already installed · Install the update manually · Troubleshoot problems...
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