{$page}

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.

  1. For this scenario we'll assume the following settings
    • Chapi Username: chapi
    • Chapi Password: Ch@piUser1
    • Computer Name where Chapi is Installed: MyServer
  1. To register the service, Open a command prompt with Administrative level permissions.
  1. Navigate to C:\Program Files (x86)\Cyrious\Control\CHAPI\
  1. Type the following command

chapi.register.exe -i -p=[port #] –username=[computer or domain name\username] –password=[username password]

code

chapi.register.exe -i -p=12556 –username=MyServer\chapi –password=Ch@piUser1

code

  1. The CHAPI service will begin the service registration process, once complete you can go to Control Panel | Administrative Tools | Services to verify Chapi_ServiceHost_12556 was created as a service.

code

Usage: CHAPI.Register -p= [OPTIONS]

Usage: CHAPI.Register -a – -p= [OPTIONS]

Run as administrator with specified OPTIONS.

Options:

  1. a , –runas run as administrator
  1. i , –install same as -is -ia
  1. u , –uninstall same as -us -ua -uc
  1. us, –uninstallservice uninstall service from PORT
  1. is, –installservice install service for PORT
  1. uc, –uninstallcert uninstall certificate from PORT
  1. ic, –installcert install certificate for PORT
  1. p , –port= REQUIRED: port of service to perform operations on
  1. pa, –postaction= action to perform after install/uninstall
                          valid values: START, STOP, RESTART
  1. ia, –installacl add http.sys permissions
  1. ua, –uninstallacl uninstall http.sys permissions
  1. cf, –cert= install/uninstall alternate certificate
  1. -cslog= override the default connection string for logging
  1. -cschapi= override the default connection string for chapi
  1. -username= set the user that the service to be installed will run as
  1. -password= the password of the user to run the service as
  1. h , -?, –help display this help and exit

code

Contributor: Brandon Readlinger, Cyrious

Date: 05/24/2013

Version: Control 5.1

You could leave a comment if you were logged in.