In my Debian 11 I have the version ( wine-8.0.1 ) installed but when trying to install a windows program with the extension ( .exe ), I am receiving the following message in the terminal:
The application could not be started or there is no application associated with the specified file.
ShellExecuteEx failed: Improper EXE format for Z:\home\aguiar\Downloads\mt5setup.exe.
How can I solve this problem, because even clicking with the right button on the program to install, nothing happens.
Problem installing programs ?
Re: Problem installing programs ?
mt5setup.exe is a 64-bit file.
So you can only run it in a 64-bit wineprefix. Your default wineprefix is probably 32-bit. You can check this with:
If this returns "win32", then you can create a new wine prefix for this program.
Code: Select all
$ file mt5setup.exe
mt5setup.exe: PE32+ executable (GUI) x86-64, for MS Windows, 7 sections
Code: Select all
grep '#arch=' ~/.wine/system.reg
Code: Select all
WINEPREFIX=~/metatrader wine mt5setup.exe