Package com.ms.service |
![]() Previous |
![]() Contents |
![]() Index |
![]() Next |
Use the svcsetup program to install your service.
svcsetup ServiceName ClassName [options]
Installs a system service.
Parameter Description ServiceName The name that will be used to register the service. ClassName The name of your class derived from the Service class to be used as the system service. options
–classpath classpath Path to the service classes. –displayname displayname Descriptive name for the service. Default is ServiceName. –eventsource eventsource Event source name. Default is "Java Service." –user user Name of the account for the service to run as. Default is "LocalSystem." –password password Password for the user account.
© 1997 Microsoft Corporation. All rights reserved. Legal Notices.