|
|
#1 |
|
Member
Join Date: May 2006
Posts: 55
|
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? |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,337
|
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.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#3 |
|
Member
Join Date: May 2006
Posts: 55
|
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. |
|
|
|
|
|
#4 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,337
|
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?
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|