XecMeHost.exe is the host that serves multiple purpose. It can used to host as Windows Service by configuring class implementing
IService interface.
XecMeHost supports multiple command line switch to perform different operations
You can install & uninstall the XecMeHost as Windows Service by simply using /i or /u command line switches respectively
For running it as a batch process, you have to configure an type implementing
IBatchProcess in the config file. You can noe execute XecMeHost to run the onfigured type as Batch.
You can configure different Tasks in Windows Service or Batch Process.