Archive: services


I have a problem with a service.
I want start a service(filedisk), this is not a windows service but a driver. So first of all i have 'installed' the service with set some registry settings.(that works)
Then i install my programm(works also) that use filedisk and after the installation i must start filedisk(with net start filedisk), if the start fails, the user must reboot the computer, if the start not fails, the user may start 'my program'.

I have found on the archive pages this :
http://nsis.sourceforge.net/archive/...instances=0,32
but i can't implement it.
[service type] [start type] [service's binary:filepath] [load order group:
name] [dependencies: name]

wat is my service type ???
i don't have a filepath...

Have i used the correct code or must i use another code for starting filedisk and catching if an error if the service can't start?

thx


; NSIS SERVICE LIBRARY
Find "servicelib.nsh".


Originally posted by vlasenko_k
; NSIS SERVICE LIBRARY
Find "servicelib.nsh".
start a stopped windows service
...
filedisk is not a windows service.


//this is what the install-bash file do :

echo trying to start driver
net start filedisk

echo ----
echo reboot your system if starting driver faild
pause