Install & Configure & Uninstall Windows service
BcsService can be (un)installed as Windows service via command line. Multiple services with different confiogurations (displayed in Windows services list as separated Windows servcies) are suported. See Using multiple configurations for details.
Install & Configure
To install or reconfigure (e.g. change configuration name) BcsService as Windows service use followed command line parameters.
Example:
digasystem filepath\BcsService /i:Instance1 /configuration:Config1 /description:"For BCS1" /account:"SomeDomain\SomeUser" /password:"SamePassword"
Parameter | Mandatory | Description |
---|---|---|
/i:User_Defined_Service_Name or -i:User_Defined_Service_Name | Yes | Install Windows service with specified name or update configuration for already installed service.. After installation or reconfiguration message box with result will be displayed. If name isn't specified than the "BcsService" default name will be used |
/configuration:ConfigurationName or -configuration:ConfigurationName | Yes | Configuration name from DigaSystem registry. This configuration will be attached to specified Windows Service and automatically used at service start. See Configuration for details |
/description:Service_Description or -description:Service_Description | No | Optional human readable description for service. If not specified than the default description will be used |
/account:AccountName or -account:AccountName | No | The name of the account under which the service should run. If not specified than the local system account will be used |
/password:Password or -password:Password | Only with account name | Password to account under which the service should run. Specify empty string as "" if account has no password |
/SetDefaultValues or -SetDefaultValues | No | Create configuration in DigaSystem registry with all parameters (inclusive path to log) with default values. See Configuration for details. If configuration is already exist than all parameters will be overwrited with default values without any warning Parameters with default values will be stored with default values. Parameters without default values will be stored with empty values |
/Silent or -Silent | No | Enable silent mode without any message boxes but logging all message in Windows Application Log |
Create default configuration or reset existed configuration to default values
Service configuration (see Configuration for details) with all parameters with default values in DigaSystem registry can be created with using command line parameter. This parameter can be used either alone or with Windows service installation parameter
Example: create configuration with default parameters in DigaSystem registry
BcsService /configuration:Config1 /SetDefaultValues
Example: install Windows service and create configuration with default parameters in DigaSystem registry for installed service
BcsService /i:Instance1 /configuration:Config1 /description:"For BCS1" /account:"SomeDomain\SomeUser" /password:"SamePassword" /SetDefaultValues
Parameter | Mandatory | Description |
---|---|---|
/configuration:ConfigurationName or -onfiguration:ConfigurationName | Yes | Configuration name from DigaSystem registry. See Configuration for details |
/SetDefaultValues or -SetDefaultValues | Yes | Create configuration in DigaSystem registry with all parameters (inclusive path to log) with default values. See Configuration for details. If configuration is already exist than all parameters will be overwrited with default values without any warning Parameters with default values will be stored with default value. Parameters without default values will be stored with empty values |
/Silent or -Silent | No | Enable silent mode without any message boxes but logging all message in Windows Application Log |
Uninstall
To uninstall BcsService as Windows service use followed command line parameters.
Example:
BcsService /u:Instance1
Parameter | Mandatory | Description |
---|---|---|
/u:User_Defined_Service_Name or -u:User_Defined_Service_Name | Yes | Uninstall Windows service with specified name. After uninstallation message box with result will be displayed. |
/Silent or -Silent | No | Enable silent mode without any message boxes but logging all message in Windows Application Log |