The best way to create installers for Windows is using Inno Setup. But then you face that scary situation: It’s Windows only. To your surprise, Inno works smoothly over Wine. Even Inno Studio works without any quirks.
As I needed it to work in both OS X and Linux and integrate into Ant, I wrote a simple wrapper that runs ISCC, the Inno Compiler, from the available wine prefix. It’s really simple to integrate it in whatever build system you use.
The first thing you need is Wine, of course. And you need at least version 1.6.
Go to Inno Setup Page and download Quick Start installer. If you want an IDE for editing scripts, you can download Studio too.
It’s important that you install it on standard folder, as script will locate the
%PROGRAMFILES%/Inno Setup 5 directory by default.
If you already installed Inno Studio or Quick Start into a different path, edit the script and point INNO_BIN variable to your ISCC.exe binary. This path is relative to Program Files directory.
/usr/binor any directory included in your
- Give exec permissions using
chmod +x iscc
- To invoke the compiler use
comments powered by Disqus