"Wine: Bad EXE format"

Questions about Wine on Linux
Locked
XMan3
Newbie
Newbie
Posts: 1
Joined: Wed Mar 09, 2016 12:28 pm

"Wine: Bad EXE format"

Post by XMan3 »

So, I recently got a Linux Kali 2.0 on my laptop, I installed Wine to start programming with my Windows-Only programs.
When I tried to start the Installer, I get an error saying Bad EXE format.

File:
GMStudio-Installer-1.99.466.exe: PE32 executable (GUI) Intel 80386, for MS Windows

Error (In detail):
wine: Bad EXE format for Z:\root\Downloads\GMStudio-Installer-1.99.466.exe.

Whole log:
root@MyPc:~/Downloads# wine GMStudio-Installer-1.99.466.exe
Executing wine (wineserver64) 1.8.1 on Debian Kali Linux Rolling (amd64).
If something goes wrong, please rerun with "WINEDEBUG=err+all wine"
for more detailed debugging output.
wine: Bad EXE format for Z:\root\Downloads\GMStudio-Installer-1.99.466.exe.

Is there any way that I could fix this error?
User avatar
dimesio
Moderator
Moderator
Posts: 13207
Joined: Tue Mar 25, 2008 10:30 pm

Re: "Wine: Bad EXE format"

Post by dimesio »

First of all, never run Wine as root. https://wiki.winehq.org/FAQ#Should_I_ru ... as_root.3F

As for the Bad EXE error, it appears you are trying to run a 32 bit app with pure 64 bit Wine. That won't work.

Try the WineHQ Debian package. https://wiki.winehq.org/Debian
Locked