|
From: Jim R. <jr...@er...> - 2003-09-25 02:57:08
|
Leif, On 2003.09.24 20:12, Leif Mortenson wrote: > What is wrong with having your users double click on a batch file? I think that it's mainly a personal preference. It's just slicker to have the application start from a "real" executable rather than a batch file. We do have all sorts of fun with console windows when starting with a batch file. There are a some things we do (notably wrapping COM servers) that require an executable, not a batch file, but we could work around that. > That is what most Java applications do and what you would have to do > if not using the Wrapper. It's what we have been doing, and we want to get away from it. > Making the Wrapper work without any command line arguments would > require building a custom binary for each application. That is how > some other tools worked which allowed a java app to be run as an NT > service. One of the many goals of the Wrapper was to make the > Wrapper usable without requiring the user to even get close to any C > code. The changes I've been making here will make the default startup equivelent to: appname.exe -c appname.wrapper So you can rename the wrapper.exe to acheive a no-args startup - no C coding required. I seem to be the only person interested in this which is OK (and the beauty of OpenSource). I'd be happy to send back a patch, but if it's just for me I'll just fake the args, which is pretty much a hack - so you probably wouldn't want to apply it. > Jim Redman wrote: > >> I'd like to use the wrapper to start a console application. But I >> need a single executable that the user can click on, that is, no >> args passed to the application. >> >> Is this possible without modifications to the c source? >> >> If not, is anyone else interested in this? My idea would be to have >> double-clicking on app.exe be the same as "app -c app.conf" if app. >> conf exists. Jim >> >> PS Apologies if this is a repeat - I didn't get a copy of the >> original and it's not in the archive. >> > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user -- Jim Redman (505) 662 5156 x85 http://www.ergotech.com |