ContentsIndexPreviousNext

8.5.3 acuodbcs -install

"acuodbcs -install" is for Windows NT and Windows 2000 servers only. It installs AcuODBC as a Windows NT/2000 service. Optional arguments to "-install" include:

Option Description
server Specifies the name of the server machine. If no server is specified, the server is assumed to be the local host.
-depends Specifies any services that must be running before acuodbcs can start. This option can be repeated as many times as necessary, but it must precede any valid start options. The ServiceDependency phrase is the actual name of the service that AcuODBC Server should depend on.

If you have AcuODBC Server installed as a service, you must remove the service and re-install it to add the dependencies. If you must change the list of dependencies, you must remove the service and re-install it with the new dependencies.

You can make AcuODBC Server depend on a service group. To do this, ServiceDependency should be the name of the service group, prepended with a plus sign (+). For example, if Alerter is the name of a service group you want to be started before AcuODBC Server, the command line is:

acuodbcs -install [server] -depends +Alerter [any valid -start options]
any valid "-start" options Any valid "-start" option can be used for "-install". (Refer to "acuodbcs -start" for a list of options.) Note that these options are stored for service startup on this particular port. For example, to run the service with the argument "-c c:\etc\server1.cfg" on startup, you would use the following "-install" command:
     acuodbcs -install -c c:\etc\server1.cfg
Installing a service on a particular port resets all startup options for the service on that port.

If there are no options stored for a service, starting the server on a particular port automatically installs a service on that port and stores the options used. In other words, you can install and run a service with one set of arguments and then occasionally run the service with different arguments by using
"acuodbcs -start".