one click installation of an app running with mono?

View: New views
4 Messages — Rating Filter:   Alert me  

one click installation of an app running with mono?

by Heertsch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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?
Thank you. Andreas

Re: one click installation of an app running with mono?

by Alexander Shulgin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
_______________________________________________
Mono-osx mailing list
Mono-osx@...
http://lists.ximian.com/mailman/listinfo/mono-osx

Re: one click installation of an app running with mono?

by Euan MacInnes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Does mkbundle work on Windows as well? I have a number of distribution issues with clients unable to "install" the .NET framework due to security restrictions on PCs, and it would be really good to be able to distribute a CD that "just runs".

Cheers,

Euan.

> Date: Wed, 23 Sep 2009 15:04:28 +0300
> From: alexander.shulgin@...
> To: heertsch@...
> CC: mono-osx@...
> Subject: Re: [Mono-osx] one click installation of an app running with mono?
>
> 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
> _______________________________________________
> Mono-osx mailing list
> Mono-osx@...
> http://lists.ximian.com/mailman/listinfo/mono-osx

_______________________________________________
Mono-osx mailing list
Mono-osx@...
http://lists.ximian.com/mailman/listinfo/mono-osx

Re: one click installation of an app running with mono?

by Alexander Shulgin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Euan MacInnes wrote:
> Does mkbundle work on Windows as well? I have a number of distribution
> issues with clients unable to "install" the .NET framework due to
> security restrictions on PCs, and it would be really good to be able to
> distribute a CD that "just runs".

Not quite works, AFAIK.  Check the wiki at mono-project.com.

--
Alex

>
>  > Date: Wed, 23 Sep 2009 15:04:28 +0300
>  > From: alexander.shulgin@...
>  > To: heertsch@...
>  > CC: mono-osx@...
>  > Subject: Re: [Mono-osx] one click installation of an app running with
> mono?
>  >
>  > 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
>  > _______________________________________________
>  > Mono-osx mailing list
>  > Mono-osx@...
>  > http://lists.ximian.com/mailman/listinfo/mono-osx

_______________________________________________
Mono-osx mailing list
Mono-osx@...
http://lists.ximian.com/mailman/listinfo/mono-osx