R
Richard Lewis Haggard
I'm working on a service. Currently, in order to copy a newly compile
service application to its registered location, I stop the currently running
service through the control panel\advanced\services applet, copy the new
program, start the service and reboot. Invariably, Windows crashes while
closing due to the lose of some connections between the new service and
other services that are already running. This is a lot of trouble to go
through five or ten times a day.
I'd like to make a batch file that will do the majority of work for me. I
was thinking of maybe a batch file that would write some value into the
registry that would say, "While booting, before the services start, copy a
file from one place to another." I tried RunOnce but it looks to me like
RunOnce is called after the services have already been loaded. Can someone
tell me what registry key to use?
service application to its registered location, I stop the currently running
service through the control panel\advanced\services applet, copy the new
program, start the service and reboot. Invariably, Windows crashes while
closing due to the lose of some connections between the new service and
other services that are already running. This is a lot of trouble to go
through five or ten times a day.
I'd like to make a batch file that will do the majority of work for me. I
was thinking of maybe a batch file that would write some value into the
registry that would say, "While booting, before the services start, copy a
file from one place to another." I tried RunOnce but it looks to me like
RunOnce is called after the services have already been loaded. Can someone
tell me what registry key to use?