|
<< Click to Display Table of Contents >> Navigation: Developer's Guide > Deployment > Windows Service |
The Windows Service is created and deployed like any regular Service application created using Delphi.
To install the service type the following command at the command line*:
MyServiceApp -install
You can start the service from Windows Service Manager or type the following command:
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
To uninstall the service:
MyServiceApp -uninstall
*Please note that command line prompt must be started with Administrative rights in order to be able to run the previous commands.