PreviousNext
Help > Installation > Installation as "Windows Service" > Multiple instances installation
Multiple instances installation

You can install multiple instances of the LAUNCHER Office server on a single Windows server.

Each instance must have:

• Its own service named, configured, and started.

• Its own independent directory with all LAUNCHER Office program and DLL files.

• Its own TCP/IP communication port. (LAUNCHER defaults port : 6078)

• His own file "launcher.ini" in his own directory.

You must install each of the services with the following command:

"<instance directory path>\lncsrv.exe" /installservice ServiceName /multiInstance /port number

Example:

Assuming we have two LAUNCH_PROD and LAUNCH_DEV directories, each containing a full copy of the initial "c:\Program Files\Launcher400" directory.

"LAUNCHER_PROD\lncsrv.exe" /installservice Edit_Prod /MultiInstance /Port 6091

"LAUNCHER_DEV\lncsrv.exe" /installservice Edit_Dev /MultiInstance /Port 6092

The two commands above have installed 2 services "Edit_Prod" and "Edit_Dev" respectively on ports 6091 and 6092.

To address one of the instances, the client programs must specify the port number of the instance.
The port is given by the client program:

• With the address or the name of the server, separated by the ":" character :
ServerName: Number
Example: Edit: 6091

Examples:

Connection to LAUNCHER_PROD service:

 LNCOPEN SVRADDR ('Editing: 6091')

Connection to Launcher service by default:

 LNCOPEN SVRADDR ('Editing')