User's Guide


Installing your NT service

On Windows NT, the Server Workbench and Server features come with the VisualAge NT Service Maintenance Utility, abtntsir.exe. You use this executable to install and remove routines. The executable supports several command line keyword parameters. (See VisualAge NT Services Maintenance Utility command line parameters.) All parameters are case-insensitive and can be specified with a dash (-) or a forward slash (/) as a keyword identifier.

To install your application as an NT service, enter the command below at a command prompt in the directory where your packaged application resides. For <NT service name>, supply the name of your packaged application without the extension.

abtntsir -install <NT service name> -srvDisplayName "<service display name>"

For example, for AbtNtServiceExampleApp, you may enter:

abtntsir -install ntservex -srvDisplayName "VisualAge NT Service Example"
         -srvWorkingDir e:\VAST\image

This example uses the executable abtntsrv.exe to run the service. As with any packaged image, you will need an .ini file, all files named in the .ini file, and any other files needed to run the service.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]