PICONTSERV

Picontserv is a small program that allows to launch picoSQL (and other
programs too) as NT services.
To install the service you need to launch the program with the following
options:

picontserv <port-number> <command-to-launch> /INSTALL

A typical example for picoSQL is the following:

picontserv 6789 "C:\picoSQL-1.4\bin\picosqld 6789" /INSTALL

Using this command, you create a service, called "picoServ_6789", which must
be started from the appropriate panel in "Control panel -> Services" or
by rebooting the computer.

To uninstall the service, you need to launch the program with the following
options:

picontserv <port-number> /UNINSTALL

If you install picoSQL as a NT service, it can read the databases configuration
parameters in the registry only under the HKEY_LOCAL_MACHINE key.
For example, you can't access the default test database, because its
configuration parameter are under HKEY_CURRENT_USER key.
To access the test database, you need at least to add a key in the registry
like the following:

[HKEY_LOCAL_MACHINE\SOFTWARE\PicoSoft\PicoSQL\picoSqlTest]
DataDirectory=\picoSQL-1.4\test\test.db

For further informations, read the installation documentation.
