While all these solutions are great and all, just compile your app with: -target:WINEXE. Then you won't get the console.
Alan. On Fri, Jun 6, 2008 at 9:42 PM, Petit Eric <[EMAIL PROTECTED]> wrote: > 2008/6/6 Kornél Pál <[EMAIL PROTECTED]>: > > Note that if you really need a batch file without a console window and > > don't want to create a wrapper executable you can use a VBScript (.vbs) > often, me in first i disable VBS host for securyty reason > > file instead that is supported by XP and Vista as well. > you have two good solution, press Windows (super) + r and write cmd + > enter in the dos windows , write "start /?", you should understand. > The second, more beautifull is to use the registry entry, current user > ... Run and create a key with value : "my command line who start the > prog" > > > > Kornél > > > > Xavi de Blas wrote: > >> 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 <[EMAIL PROTECTED]>: > >>> 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" <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> > >>> 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 <[EMAIL PROTECTED]>: > >>>>> 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 - [email protected] > >>>> http://lists.ximian.com/mailman/listinfo/mono-list > >>>> > >> > > _______________________________________________ > > Mono-list maillist - [email protected] > > http://lists.ximian.com/mailman/listinfo/mono-list > > > _______________________________________________ > Mono-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-list >
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
