Build MSI in Wine

Richard picture Richard · Apr 20, 2012 · Viewed 7.3k times · Source

Hoping this is still on-topic for StackOverflow.

I'm doing all my development on a Linux machine, but the code will be run by both Linux and Windows machines.

I'd like to use Linux to compile the code, and I have mingw-32 and mingw-w64 for that.

But I'd like to package the resulting executables into a nice MSI installation file. Is it possible to do this using utilities in Linux or running under Wine?

Thanks!

Answer

Hib Eris picture Hib Eris · Jul 14, 2012

You can use a combination of Wine, Mono and WiX to create .msi packages on Linux.

For openSUSE, I have created a wrapper package called wixwine which gives you the 'candle' and 'light' commands from the Windows Installer XML (WiX) toolset ready to use on Linux.

You can find my wixwine package here