[Mono-osx] one click installation of an app running with mono?

Alex Shulgin alexander.shulgin at yessoftware.com
Wed Sep 23 08:04:28 EDT 2009


Heertsch wrote:
> Beginners question:
> I develop an app running in mono.
> My customers should be able to install this app without any knowledge. ("One
> Click"). Is there a HowTo or a tutorial, how to build such package?

Take a look at mkbundle command line utility.

Basically, it allows you to package all .net assemblies of your 
application together with mono' system assemblies into one native binary 
file (Mac OS or Linux) which will run w/o the need to install mono 
framework.

Beware of current problems in mono-2.4 with app.config and 
machine.config.  There's open bug[1] for this, but it's not fixed yet.

Also, if you application happen to load libc at runtime (e.g., 
System.Drawing does this upon initialization) you'll need to package 
/usr/etc/mono/config too and use it through MONO_CONFIG environment 
variable.  It's required at least on Ubuntu GNU/Linux.

--
Alex

[1] https://bugzilla.novell.com/show_bug.cgi?id=325022


More information about the Mono-osx mailing list