Batch Service Installation
Previous page  Next page
The NT Wrapper command line program takes an option -file:<DefinitionFile> that makes it easy to install NT Wrapper services with a batch file.
For example:
@echo off
net stop myservice
c:\ntwrapper\ntwrapper -uninstall -name:myservice
c:\ntwrapper\ntwrapper -install -file:c:\ntwrapper\myservice.ini
net start myservice

If the installation requires a user name and password, you would have to write it manually to the Service Definition File.

See also: Switches and Options


NT Wrapper v1.06 - May 13, 2005
Copyright © 2002- 2005 P.Pohman
NT Wrapper Home