++Vitoco's version of NSIS Service Lib
I've modified current version of
servicelib.nsh
(Version 1.3 - January 5th, 2006 by dselkirk)
to fix some bugs and to add an option I required.
My modified script is available at
http://www.vitoco.cl/nsis/servicelib.nsh.
I don't want to change the wiki by myself as it seems that others have
their own patched version of this script.
Notes
- Administrator rights are required to run the installer.
- It is now possible to specify an arbitrary name to be displayed
in the services console other than the service name itself.
This is done by using the new
display
parameter.
[ref].
machine
parameter was renamed to depend
[ref].
- To let a service run as a specific user other than "Local System",
that user must be granted the right "Log on as a service"
using the Local Security Policy console, before trying to start it up
[ref].
- Fixes includes:
- CreateServiceA data types when some fields are (not)null
[ref].
- a missing goto at the end of a "case".
- Tested on WinXP and Win2K3.
Last update: 2006-11-23 by ++Vitoco