James4563
24th February 2007 10:23 UTC
Start service on finish
Hey,
Another quick question. Is there a way to start a service after install? My program is installed as a serivce by a java wrapper .bat file. But it doesnt start until I manually start it or reboot the machine.
Is there a way to start it after install?
Thanks,
James
James4563
24th February 2007 11:40 UTC
Thanks I never saw that...
fishweasel
24th February 2007 21:40 UTC
if you know the service name you can nsexec exec to stack the command :
net start <service name>
or pass the command to Exec '"cmd.exe" net start <service name>'
James4563
25th February 2007 20:50 UTC
Ok thanks, that works brill.
James