Got error code 15 in electron-winstaller-fixed\vendor\zip-x64.exe
See original GitHub issueI’m trying to make a build for Windows. All required environments were set up, everything worked well with electron-builder
2.x
but when we attempted to use 3.25.0
we always suffer a problem with zip-x64
(we tried with 2 Windows machines but no luck).
Build in package.json
"build": {
"osx": {
"title" : "Sample",
"contents": [
{"x": 522, "y": 250, "type": "link", "path": "/Applications"},
{"x": 124, "y": 250, "type": "file"}
]
},
"win": {
"title" : "Sample",
"msi": true
}
}
Gulp function
import builder from 'electron-builder'
const buildAsync = BPromise.promisify(builder.build.bind(builder))
async function createInstaller() {
await buildAsync({
platform: process.platform,
devMetadata: {
build: {
asar: false,
name: AppConfig.productName,
ignore: new RegExp(
'^/((src)|(\\..+)|(webpack.+)|(gulpfile.+)|(installer.nsi.tpl)|' +
'(README\\.md)|(test)|(coverage)|' +
'(dist)|' + // don't include the other build outcome which runs in parallel
'(node_modules/babel)|' +
'(node_modules/eslint)|' +
'(node_modules/radium/node_modules/babel-(.*))|' +
'(node_modules/material-ui/src)|' +
'(node_modules/isparta)|' +
'(node_modules/gulp-istanbul)|' +
'(node_modules/webpack)|' +
'(node_modules/webpack-dev-server)|' +
'(node_modules/node-sass)|' +
'(node_modules/css-loader)|' +
'(node_modules/roboto-fontface))$')
}
}
})
}
Error log: https://gist.github.com/crashbell/1c9c095b5faed387469e4d6e9a98889e
node v5.7.0 npm v3.9.0
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
MsiExec.exe and InstMsi.exe Error Messages (for Developers)
Error code Value Description
ERROR_SUCCESS 0 The action completed successfully.
ERROR_INVALID_DATA 13 The data is invalid.
ERROR_INVALID_PARAMETER 87 One of the parameters was invalid.
Read more >SCCM Client Installation Error Codes - System Center Dudes
During the SCCM client installation process, monitor the ccmsetup.log using cmtrace.exe and locate each error code.
Read more >Error code 19:1327 Communication Service returned error ...
Hi Guys, The Customer is getting the following error during FS backup ... returned error when executin remote command [ifind.exe] arguments.
Read more >What does Error Code # mean on a (un)Zip Advanced Script?
This article lists the error codes for these Zip scripts. ... 15 Zip could not open an output file (typically the archive) for...
Read more >Installation error codes and solutions - Adobe Support
Exit code: 15 Media DB Sync failed. The installation process isn't merging the installer media database with the local media database. 1. Ensure ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@crashbell Scoped names not supported in all tools — electron-packager and original (not only our fork) windows-installer. You don’t need to use scoped name for your electron app since you will never publish it to npm registry. So, just remove scope name.
Ensure that your description in the package.json is set to non-empty value.