You have to redirect deschal's output to a logfile. Here are the
registry values to get it working on my NT 4.0 box:
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Deschal
AppDirectory: D:\deschal
Application: C:\winnt\system32\cmd.exe /c
AppParameters: D:\deschal\DESCHAL6.EXE keymaster.verser.frii.com
>>D:\deschal\log1.txt
I have my client installed in D:\deschal.
The actual application that SRVANY runs is the command processor, with
the "/c" argument telling it, in turn, to startup the process given by
its parameters. The service won't run correctly if you startup
deschal6.exe directly.
The command processor's parameters include the command that I would
normally be typing into the shell: the deschal client executable and its
arguments (comprising the key server and a redirecion of output to the
logfile log1.txt).
Right now I have it configured as a Manual service, but there doesn't
seem to be any reason why it could not be an Automatic service.
Stopping the service doesn't seem to kill the deschal6.exe process -- I
think SRVANY is confused and tries to kill the original cmd.exe
process. This means that after stopping the process, you have to
manually kill the deschal6.exe process with the Task Manager. The
implication is that you'll want to run the service under a non-system
account (such as your account) so that you'll have the permissions
necessary to kill deschal6.exe.
Let me know if you have any problems,
Nate
p.s. Thanks go out to Greg Hewgill for helping me figure this out in the
first place.
-- Nate Boyd MIT Computer Graphics Group, NE43-249 mailto:boydn@graphics.lcs.mit.edu 617.258.5090 [tel] http://lumina.lcs.mit.edu/People/boydn/www 617.253.6652 [fax]