|
From: Leif M. <le...@ta...> - 2006-02-23 14:02:39
|
Anat,
This is not currently possible to do with the Wrapper. It is on my
todo list.
I am going to have to create a second wrapperw.exe binary for windows which
runs as a windows application rather than a console app. Java does the same
type of thing with java.exe and javaw.exe.
Cheers,
Leif
Anat Halpern wrote:
> Hi Ajmal,
>
> Thanks for your reply.
> I was having a problem with hiding the cmd window, not with creating
> the shortcut. Maybe I didn't understand your solution, but I don't see
> how creating another batch file will help in hiding the console.
> What I currently have is shortcuts from the programs menu that call
> the different functions of the wrapper. However, the console always
> pops up, even if for a couple of seconds - I don't like it...
>
> Thanks,
> Anat
>
> Ajmal Abdool wrote:
>> Hi Anat,
>>
>> You can do that by simply creating different batch
>> files. e.g to start the service, do the following:
>> 1. Open Notepad
>> 2. Write the command that you'ld normally type on the
>> cmd window eg "C:\JavaWrapper\MyApp.bat start" without
>> the quotes "
>> 3. Save the file as ServiceStart.bat on your desktop.
>> 4. Double click on file to start the service.
>>
>> The same can be repeated to install, uninstall, start
>> or stop the service.
>>
>> Hope that helped.
>>
>> Cheers,
>>
>> Ajmal
>>
>> --- Anat Halpern <an...@en...> wrote:
>>
>>
>>> Hi Leif,
>>>
>>> I'd like to have shortcuts that will call
>>> wrapper.exe (for running the
>>> service, uninstalling, etc.), but I don't want them
>>> to open up a cmd
>>> window. Is there any way to get around it?
>>>
>>> BTW, still waiting on that linux question - just in
>>> case you forgot me ;)
>>>
>>> Thanks,
>>> Anat
>>>
|