[Mono-list] how to call a mono graphical app on windows without a terminal being shown?

Xavi de Blas xaviblas at gmail.com
Fri Jun 6 15:02:54 EDT 2008


Hello, i'm doing it with installjammer app. It locates mono
installation reading the windows registry and then it writes in a file
where it is.

And then the bat reads that file.

Now that i will kill the .bat, i will put the mono path on the start
up menu and desktop icon all using the installjammer.

if you want to see how it works (still without the bat) download
chronojump for windows:

http://www.gnome.org/projects/chronojump/installation.html
(it's 70MB because it contains Mono)

bye


2008/6/6 Stéphane Zanoni <stephane at omni-ts.com>:
> Installer's don't normally know where Mono is installed, so having this
> as part of a standard InstallShield deployment might be more difficult.
>
> Has the idea of providing some sort of architecture specific bootstrap
> process been discussed?
>
> Stéphane
>
>>>> "Jonathan Chambers" <joncham at gmail.com> 6/6/2008 12:41 PM >>>
> Hello,
>
> Can't you make the start menu shortcut launch your app using mono?
>
> "C:\<mono_install_location\bin\monow.exe"
> "<path_to_chronojump>\chronojump.exe"
>
> Thanks,
> Jonathan
>
> On Fri, Jun 6, 2008 at 2:37 PM, Xavi de Blas <xaviblas at gmail.com>
> wrote:
>
>> 1st thanks to all, still no success:
>>
>> -i prefer to avoid the creation of a windows c program if there's
>> another solution
>>
>> Kornél, i tried the "monow" and it's nice because the windows
> terminal
>> exist but it contains no info and can be closed. But how to close it
>> automatically?
>> I suppose that compiling as a gui app will have the same problem as
> the
>> monow
>>
>> if we don't find how to close the terminal, the best solution should
> be:
>>
>> call mono and my app as a parameter from the desktop icon (without
> the
>> need of a .bat)
>>
>> any more ideas?
>>
>> how glade that it's included with mono on windows it's an exe that
>> calls mono? is it selfcontained?
>>
>> thanks again
>>
>> 2008/6/6 Kornél Pál <kornelpal at gmail.com>:
>> > Use monow.exe instead of mono.exe
>> >
>> > Kornél
>> >
>> > Xavi de Blas wrote:
>> >>
>> >> Sorry for the long subject of this email, but i have the
> following
>> >> problem:
>> >>
>> >> 1.- I don't find the way to call from windows "start" menu: mono
> and
>> >> chronojump
>> >> 2.- As i don't find the way, i created a .bat, and this calls
> both
>> >> 3.- but the .bat leaves the console open all the time my app is
> open.
>> >> This is not nice, and also some users close the console and then
>> >> chronojump closes
>> >>
>> >> What is the best solution?
>> >>
>> >> Thanks
>> >
>> _______________________________________________
>> Mono-list maillist  -  Mono-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-list
>>
>


More information about the Mono-list mailing list