Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 5th August 2006, 13:35   #1
huq.duote.com
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?
huq.duote.com is offline   Reply With Quote
Old 5th August 2006, 13:52   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
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
kichik is offline   Reply With Quote
Old 5th August 2006, 14:13   #3
huq.duote.com
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.
huq.duote.com is offline   Reply With Quote
Old 5th August 2006, 14:41   #4
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
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
kichik is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump