Error: wine: Bad EXE format
See original GitHub issueelectron-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 © 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?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:19 (1 by maintainers)
Top GitHub Comments
@thre-isdd This is not a solution, but here how I managed to make it work.
@paulcbetts , is there any reason why the
7z.exe
is in 64 bit format? I guess that the 32 bit version would also work in x64 machines and would not suppose a problem when building 32 bits applications.