electron / electron/windows-installer

Error: wine: Bad EXE format

Open
#186 19 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.6k
Forks
267
Avg merge
5h 38m
Merged PRs (30d)
1

Description

electron-winstaller@2.6.3
windows 10, 64-bit.

Cant build setup.exe with error:

> Failed with exit code: 4294967295
> Output:
> System.AggregateException: One or more errors occurred. ---> System.Exception: 7-Zip [64] 16.04 : Copyright (c) 1999-2016 Igor Pavlov : 2016-10-04

Then I decided to get squirrel logs with `set DEBUG=electron-windows-installer`
And got these messages from node_modules\electron-winstaller\vendor\SquirrelSetup.log:

> Utility: Failed to extract file /var/folders/sj/rrk8jvvj74j_mmjgcw505h5w0000gn/T/ei-11755-93846-r5wfhu.s4dlf5stt9/myapp.1.0.0.nupkg to /Users/kevin/.local/share/SquirrelTemp/tempa
err:process:create_process 64-bit application L"Z:\\Users\\kevin\\github\\windows-installer\\vendor\\7z.exe" not supported in 32-bit prefix
wine: Bad EXE format for Z:\Users\kevin\github\windows-installer\vendor\7z.exe.

Could anyone explain what happened?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.