Portable Mono/private bundle version

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

Portable Mono/private bundle version

by codetale :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I just try Mono last day, I find out that Mono possible Mono run any "supported" .Net application without installing the Mono (just copy the bin and lib folders and use mono.exe to fire the .Net application)

its a good way to distribute with knowing/caring the client installed framework version, because the application can have it own bundle version.

I want to know:
1. bin and lib (mono runtime) are quite large in size (about 160mb), is it possible to reduce it size by removing some some files, I just have to make it possible to run pure .Net 2.0 application, others version are not consider.
If it possible to, please note me which are save to remove.

2. is it have any licensing issue if I redistribute the mono in this way (without the installer) together with proprietary software?


Thank you very much

Re: Portable Mono/private bundle version

by Chris Howie :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Sep 2, 2008 at 11:22 PM, codetale <codetale@...> wrote:
> I want to know:
> 1. bin and lib (mono runtime) are quite large in size (about 160mb), is it
> possible to reduce it size by removing some some files, I just have to make
> it possible to run pure .Net 2.0 application, others version are not
> consider.
> If it possible to, please note me which are save to remove.

As an independent software developer not affiliated with Novell, I
would advise against bundling at all.  You would be using disk space
on your target machine for something that can be shared between
applications anyway.  If you are deploying to a Windows machine then
the Microsoft .NET runtime should be easily installable, and if you
are deploying to Linux then many distributions already have Mono
packages.  Simply instruct your users to install them.

--
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers
_______________________________________________
Mono-list maillist  -  Mono-list@...
http://lists.ximian.com/mailman/listinfo/mono-list

Re: Portable Mono/private bundle version

by Benjamin Podszun :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi.
On Tue, 2 Sep 2008 20:22:08 -0700 (PDT), codetale <codetale@...>
wrote:
> I want to know:
> 1. bin and lib (mono runtime) are quite large in size (about 160mb), is
it
> possible to reduce it size by removing some some files, I just have to
> make
> it possible to run pure .Net 2.0 application, others version are not
> consider.
> If it possible to, please note me which are save to remove.

Yes, it's possible, although I don't have a list of files ready. I do
exactly that for a small project of mine, which is a .net 2.0 ClickOnce
application that includes a version of mono (1.9.something currently) as
zip file. It is 18 MB uncompressed, less than 7 MB as a zip file and works
fine for my (quite specific) purpose of recompiling some stuff on the
client machine.
 
Sorry that I cannot help you with specific details, but with a little
guesswork and some trial and error it's possible to do what you want ;)

Regards,
Ben

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

Re: Portable Mono/private bundle version

by Benjamin Podszun :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



On Wed, 3 Sep 2008 12:26:31 -0400, "Chris Howie" <cdhowie@...> wrote:

> On Tue, Sep 2, 2008 at 11:22 PM, codetale <codetale@...> wrote:
>> I want to know:
>> 1. bin and lib (mono runtime) are quite large in size (about 160mb), is
> it
>> possible to reduce it size by removing some some files, I just have to
> make
>> it possible to run pure .Net 2.0 application, others version are not
>> consider.
>> If it possible to, please note me which are save to remove.
>
> As an independent software developer not affiliated with Novell, I
> would advise against bundling at all.  You would be using disk space
> on your target machine for something that can be shared between
> applications anyway.  If you are deploying to a Windows machine then
> the Microsoft .NET runtime should be easily installable, and if you
> are deploying to Linux then many distributions already have Mono
> packages.  Simply instruct your users to install them.

Apart from the point that some might argue otherwise (thinking of mac-style
application deployment, almost everything in one folder) I see one big
usecase for this: You can put your software on an USB stick/CD/medium with
all requirements (nice for portability) and can run it without installation
(nice if you don't have the required permissions, both on Windows/Linux)
for example in corporate environments.

So I like the idea for some stuff, although I agree with your opinion in
general.

Regards,
Ben

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

Re: Portable Mono/private bundle version

by codetale :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Chris Howie-3 wrote:
As an independent software developer not affiliated with Novell, I
would advise against bundling at all.  You would be using disk space
on your target machine for something that can be shared between
applications anyway.  If you are deploying to a Windows machine then
the Microsoft .NET runtime should be easily installable, and if you
are deploying to Linux then many distributions already have Mono
packages.  Simply instruct your users to install them.

--
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers
_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list
Thankyou for replay.
In my case, the application have to portable (pendrive)
and the user mostly do not have the admin right
and the application very small (about 5mb only)
if i ship with the .Net Framework installer thats was to huge compare to my application (150mb+)
even webinstaller also required to download about 50mb, I guess most users are not willing to do this, they can just giveup my application and use the other similar.

Re: Portable Mono/private bundle version

by codetale :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Benjamin Podszun wrote:
Yes, it's possible, although I don't have a list of files ready. I do
exactly that for a small project of mine, which is a .net 2.0 ClickOnce
application that includes a version of mono (1.9.something currently) as
zip file. It is 18 MB uncompressed, less than 7 MB as a zip file and works
fine for my (quite specific) purpose of recompiling some stuff on the
client machine.
 
Sorry that I cannot help you with specific details, but with a little
guesswork and some trial and error it's possible to do what you want ;)

Regards,
Ben

_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list
Thankyou, i managed to do this also, and the size is about 35mb, 6mb after compress in 7z.
just yet have to take many time to test about the "side" effect.

if possible to get "official" guide, then will be mush easier, and no need to worry too much about the "side" effect