When I try to install Mono using the installer from https://dl.winehq.org/wine/wine-mono/ (following the link from https://wiki.winehq.org/Mono), I get the following error:
wine: Slecht EXE-formaat voor Z:\home\user\wine-mono-4.9.2.msi.
(translated: wine: bad exe-format for Z:\home\user\wine-mono-4.9.2.msi.)
This also happens when using the wine-mono-4.9.0.msi installer.
The version of Wine (wine --version) is "wine-4.0.1 (Debian 4.0.1-1)". I also tried 4.11 and 4.11-staging from PlayOnLinux and got the same error. I'm using 32-bit Wine and prefixes.
wine: bad exe-format when installing Mono
Re: wine: bad exe-format when installing Mono
https://wiki.winehq.org/Wine_User%27s_G ... .msi_files
FYI, 4.9.x is too new for 4.0.1. I think the wine-mono version you need is 4.7.5.
It looks like you are using the distro Wine package; wine-mono and wine-gecko are supposed to be automatically downloaded on wineprefix creation, but Debian disables that in their packages. If you install the WineHQ packages, Wine will automatically download the correct wine-mono and wine-gecko versions for you when you create or update a wineprefix. https://wiki.winehq.org/Debian
FYI, 4.9.x is too new for 4.0.1. I think the wine-mono version you need is 4.7.5.
It looks like you are using the distro Wine package; wine-mono and wine-gecko are supposed to be automatically downloaded on wineprefix creation, but Debian disables that in their packages. If you install the WineHQ packages, Wine will automatically download the correct wine-mono and wine-gecko versions for you when you create or update a wineprefix. https://wiki.winehq.org/Debian