Archive: Start service on finish


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


From the FAQ:

How do I start/stop/create/remove/check a service


Thanks I never saw that...


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>'

Ok thanks, that works brill.

James