Installer problems when building against v1.8.2-vmp1010
See original GitHub issueOur 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:
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:
- Created 6 years ago
- Comments:24 (3 by maintainers)
Top GitHub Comments
@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 runnpm run release
on both of the system and as an outcome I have bundled version@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 (viaelectron-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):