The CHAPI service should self-install when you run the .MSI installer for CHAPI. If you need to manually install it you can do so via a command line interface.
-This creates the SERVICE only, not the folder. This is good to note when the service needs to be installed to a new drive. Prior to running this, copy the CHAPI folder to the new location. Then run the command as directed below.
The Chapi.Register.exe supports multiple command line options, a list of available options is listed below. In most cases when installing, you'll only need to specify a few of these options. The example below just covers the basics of installing.
chapi.register.exe -i -p=[port #] --username=[computer or domain name\username] --password=[username password]
chapi.register.exe -i -p=12556 --username=MyServer\chapi --password=Ch@piUser1
Usage: CHAPI.Register -p= [OPTIONS]
Usage: CHAPI.Register -a -- -p= [OPTIONS]
Run as administrator with specified OPTIONS.
Options:
-a , --runas run as administrator
-i , --install same as -is -ia
-u , --uninstall same as -us -ua -uc
-us, --uninstallservice uninstall service from PORT
-is, --installservice install service for PORT
-uc, --uninstallcert uninstall certificate from PORT
-ic, --installcert install certificate for PORT
-p , --port= REQUIRED: port of service to perform operations on
-pa, --postaction= action to perform after install/uninstall
valid values: START, STOP, RESTART
-ia, --installacl add http.sys permissions
-ua, --uninstallacl uninstall http.sys permissions
-cf, --cert= install/uninstall alternate certificate
--cslog= override the default connection string for logging
--cschapi= override the default connection string for chapi
--username= set the user that the service to be installed will run as
--password= the password of the user to run the service as
-h , -?, --help display this help and exit
Contributor: Brandon Readlinger, Cyrious
Date: 05/24/2013
Version: Control 5.1