(How to launch a *.msi file) wine: Bad EXE format for *.msi
I’m running Ubuntu 10.04 LTS. After installing Wine-1.2.2 (type wine –version to check) via sudo apt-get install wine within a CLI terminal, I tried to install a *.msi file via the following syntax:
~$ wine install.msi
Unfortunately, this produced the following error message to be displayed:
~$ wine: Bad EXE format for Z:homeziffstarinstall.msi
The solution, to install *.msi files in Wine, is to use the msiexec program. The appropriate syntax to launch a *.msi file is as follows:
~$ wine msiexec /i install.msi
OR
~$ wine start install.msi