Service Control [with install, uninstall, run, stop, leave]
The Project File:
ServiceControl.lpr
The Form File: (in this example for my webserver)
main.pas
The Complete Project:
ServiceControl.zip