\
Tips and Tricks
Service Tips
MAKEMSI has a "ServiceInstall" command to install
services and the "ServiceControl" command to start, stop
and delete services during install or uninstall or both.
You may need to create a service to "script" a process or execute a
non-service EXE, if so have a look at:
The services applet can be handy when playing around with services,
however if you get any service issues during installation or uninstallation close
it before trying "retry".
The applet appears to be a bit buggy and locks out the registry (or some other required resource).
I had this issue on WIN2000, on WinXP the problem doesn't seem to occur.
- The user may not have enough permissions (write to "HKLM" required).
- Check that it doesn't have other dependencies
(files, registry, ".net" etc) that you haven't installed!
- Can you manually start the service (while the error message
is still being displayed) with the services applet?
- Is really true that it can't "be started"
(or is the service actually starting and then stopping)?
- The event log may provide clues...
- Obviously any userid/password must be correct and must be allowed
to run in "batch" etc.
- A policy may be preventing you, try the
local security settings applet.