4.3.1. Running Services for Multiple Configurations

 
 
You can run all of the ChronoScan services on the same machine with different names and ports. This way you can either create a Server that runs different and isolated applications or customize the ports used by the web server.
 
To create different ChronoScan working configurations on the same server refer to Using Multiple ChronoScan Configurations.
 
 
All ChronoScan services receive two parameters, the service port and the working directory:
 
Parameter name
Example value
-customdir
C:\ProgramData\ChronoScan.CLIENT1
-port
19000
 
Each service (WEB, INPUT, OUTPUT and PROCESSING) for a custom configuration will need a new port to be set. The default ports for the default configuration are as follows:
 
WEB SERVER: 10000
OUTPUT SERVER: 9009
INPUT SERVER: 9007
PROCESSING SERVER: 9008
 

Service creation example with working parameters from the command prompt:

 
SC Create "WCI_INPUT_SERVER_CLIENT1" binPath= "\"C:\Program Files (x86)\ChronoScan\bin\chrono_input_server.exe\" -customdir:\"C:\ProgramData\ChronoScan.CLIENT1\" -port:19007"
 
SC Create "WCI_OUTPUT_SERVER_CLIENT1" binPath= "\"C:\Program Files (x86)\ChronoScan\bin\chrono_out_server.exe\" -customdir:\"C:\ProgramData\ChronoScan.CLIENT1\" -port:19009"
 
SC Create "WCI_PROCESSING_SERVER_CLIENT1" binPath= "\"C:\Program Files (x86)\ChronoScan\bin\chrono_proc_server.exe\" -customdir:\"C:\ProgramData\ChronoScan.CLIENT1\" -port:19008"
 
SC Create "WCI_WEB_SERVER_CLIENT1" binPath= "\"C:\Program Files (x86)\ChronoScan\bin\chrono_wci.exe\" -customdir:\"C:\ProgramData\ChronoScan.CLIENT1\" -port:19000"
 
If all you want is to customize the ports used by ChronoScan user -customdir:\"C:\ProgramData\ChronoScan\"
 
NOTE: Please preserve blank spaces after the equal sign "= " the windows system needs those spaces.