Skip to content
⌘ NSIS Forum Archive

About Service

4 posts

huq.duote.com#

About Service

I use nsScm plugin to Add Service.
But always fails.

so.I use API of CreateService to Add.
The ruselt is same together!

please help!

why add a Service must transfer exterior exe file?
kichik#
How exactly does it fail? What do you mean by "exterior exe file"? Are you talking about an executable that wraps yours so it'd act like a service? You need that because services must have a certain API exposed to the service manager so they can controlled. If the service you're trying to add is not really a service, you'd have to turn it into a service first by implementing that specific API.
huq.duote.com#
I use API is fall also!

CreateService

this api can Add a Service to scm(Service control manager).
but this program is not in gear.
kichik#
I'm not talking about the CreateService API. I'm talking about the API the service you're trying to install exposes. So, how exactly does it fail?