How to config MultiCalendar C/S Edition Server as a Service on Windows NT/2000/XP?

***Important!
Before you start the following steps, you must run MultiCalendar Server as a common GUI once and exit it. The reason is that when running as a common GUI for the first time, MultiCalendar Server sets its running environments automatically. 


1. Click "Start" menu, click "Run" item. And a window will pop up to let you type the name of a program. Type "cmd" to open a DOS console window.

2. Switch the dos current directory as the MultiCalendar C/S Edition server's installation directory. If you installed MultiCalendar C/S Edition Server in the "C:/program files/multicalendarcs1.0" then you can type the following command to switch to this folder in the dos command window:
cd "c:\program files\multicalendarcs1.0"
After you switch to the MultiCalendar C/S Edition installation directory in the dos command window, input the following command and run to set MultiCalendar C/S Edition Server as a service:
server\dbsrvr.exe /install

(attention, If you wish to install the server so that it does not interact with the desktop at all, which is required in instances where the current user will be logged out of the system, then you should use the following command:
server\dbsrvr.exe /install /nointeract)

A dialog will pop up with the text "Service installed successfully" which means you have installed the service successfully. 

3. Restart you machine. MultiCalendar C/S Edition Server will run as a service on the machine. 



How to uninstall the service of MultiCalendar C/S Edition Server?
1. Click "Start" button, and choose "Programs", choose "Administrative tools", choose "service". 
2. A service list window will open, select "MultiCalendar C/S Edition V1.0 - Server - DBSRVR", and right click it, choose "property". A window will pop up with its property. In the "Gerenal Tab", make sure the service's status is "stopped". If it is "running", click "stop" button to stop it.
3. Open a dos command window, and switch to MultiCalendar C/S Edition server's installation directory. Type the following command and run:
server \dbsrvr.exe /uninstall

A dialog will pop up with the text "Service uninstalled successfully" which means you have uninstalled the service successfully.

