|
|
#1 |
|
Junior Member
Join Date: Oct 2005
Location: UK
Posts: 1
|
Hi.
I’m trying to use Service Library to stop the IISADMIN service. I SendServiceCommand ‘stop’ and then loop until IsServiceRunning is false – this never happens! I think the problem is IISADMIN has dependencies (which ones seems to vary from machine to machine). How do I overcome this? Is there a way to enumerate the dependencies so I can stop these first? An example please. I note that SC.EXE has a EnunDepend command, so thinking of do this is a (Jscript) script. Has anyone got such a script? This is not my area so please, spell it out for me!! Many thank Bryan |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Did you try one of the other plug-ins? It might be a problem with the Service Library and not the dependencies.
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 | |
|
|