Thinking about it, the NT Resource Kit comes with a utility that lets you install and run any arbitrary application as a resource. Never used it myself, but utilities of this nature abound. The NT resource kit is at:
http://www.microsoft.com/ntworkstation/downloads/Recommended/Featured/NTKit.asp At 07:58 PM 2/24/2002 -0500, James Eshelman wrote: >I have a perl script that installs and registers in the registry a Windows >NT service (inetd). I would like to have the WinNT Service Control >Manager pick up the new registry value and start the service without >requiring a system reboot. This appears possible since an install of this >service by the MS Installer starts it without a reboot. Simply loading >the registry, however, doesn't seem to load the Service Manager unless >there's a reboot. Using the 'kill' function (from the NT resource kit) on >the 'services' process and then re-running it proved too heavy-handed a >solution, as you might expect,--hung machine--every service on the system >must get restarted that way. I haven't been able to turn up anything in >the MS Knowledge Base, MSDN library, Win32API, or ResKit help files so far >to indicate how this might be done. I was hoping for something simple and >straightforward like the inetd restart scripts that come with Linux et >al. I'm trying to avoid the MSInstaller and all it's freight and heavy >footprint, with the pure perl solution--about a 10:1 ratio in size and >complexity here. > >Any guidance would be greatly appreciated. > >Regards, >Jim Eshelman > >James Eshelman, >Principal, >Nova Software, Inc. ><http://www.nova-sw.com>www.nova-sw.com
