The Windows Service is created and deployed like any regular Service application created using Delphi.
Run the following command at the command line:
MyServiceApp -install
You can start the service from the Windows Service Manager or run:
net start ServiceName
When you create a new project, the default value for the service name is:
UniServiceModule
You can change it from ServiceModule.pas -> UniServiceModule -> Name.
ServiceModule.pas
Name
Run the following command:
MyServiceApp -uninstall
The command line prompt must be started with Administrative rights in order to be able to run the previous commands.