PDA

View Full Version : Installing/Starting a service



NewsArchive
11-22-2007, 03:03 AM
I have a utility that needs to be installed as a service.

When asked how to install this service the provider supplied this response:

You can install the Windows Service "NewService Service" using the dos sc.exe tool in a batch file:

sc create astcc binPath= "C:\Windows\System32\NewService.exe"
sc start NewService

I have read about services in SetupBuilder but am hesitant to move forward.

Any advice...or is it as simple as it looks ?
Mike

NewsArchive
11-22-2007, 03:05 AM
Michael,

It is that simple. I've got 4 batch files on my client's server so he can
handle services. One to install it, another to start it, another to stop
it, and another to uninstall it.

He maintains a Clarion app that runs nightly reports, directed to specific
printers as a service. Works great.

--
Russell B. Eggen
www.radfusion.com
Skype Clarion chat: http://tinyurl.com/2273lm

NewsArchive
11-22-2007, 03:05 AM
Hi Mike,

Use the "Edit Service..." script function and you are done :-) You can
Start, Stop, Remove, Pause, and Resume a service using this built-in
SetupBuilder function.

BTW, the "Check Service..." can be used to determine whether a particular
Windows Service is running.

Does this help?

Friedrich

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 6.6
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner