The CHAPI service should self-install when you run the .MSI installer for CHAPI, at times you may also not be able to manually register it via command-line using [[chapi_-_command_line_registration_of_chapi_service]] . ==Prerequisites== * The CHAPI folder must exist and have the appropriate files in it. * The Chapi.ServiceHost.config must exist and contain the appropriate connection strings. ===== Creating the CHAPI.ServiceHost_12556 Service ===== We will utilize the Windows command SC to create a new windows service named CHAPI.ServiceHost_12556. This merely adds the service into windows, you'll need to configure it to run automatically afterwards. - To register the service, Open a command prompt with Administrative level permissions. - Type the following command * SC Create CHAPI.ServiceHost_12556 binPath= "C:\Program Files (x86)\Cyrious\Control\Chapi\CHAPI.ServiceHost.exe" start= Auto - If successful, you will receive a message stating the **[SC] CreateService Success**. - You will need to manually start the service after creating it. ==Deleting the CHAPI.ServiceHost_12556 Service== At times you may want to manually delete the service from the windows service list. - To delete the service, Open a command prompt with Administrative level permissions. - Type the following command * SC Delete CHAPI.ServiceHost_12556 - If successful, you will receive a message stating the **[SC] DeleteService Success**. ===== Source ===== Contributor: Brandon Readlinger, Cyrious Date: 03/09/2016