Application as Service - How to create new system service?

Here is step-by-step guide, which helps you to create new system service using Application as Service.

1. Create new system service using graphical interface:


 


2. Create new system service from command line:

 

c:\Program Files\Eltima Software\Application as Service\app2srv.exe INSTALL /SN="system_1" /PM="C:\notepad.exe" /WD="C:" /SRV1

 

c:\Program Files\Eltima Software\Application as Service\app2srv.exe START /SN="system_1"



3. Create new system service using XML configuration file


c:\Program Files\Eltima Software\Application as Service\app2srv.exe INSTALLXML c:\Work\App2srv_config.xml

c:\Program Files\Eltima Software\Application as Service\app2srv.exe START /SN=Notepad