Program Tab
Previous Topic  Next Topic 


The Program Tab defines the major service parameters. It contains two sections: Service Identification and Application to Run as a Service. It should be noted that every field in every tab relates directly to an XML attribute in the configuration file.



Service Identification Section


Field

Purpose

Short Name

An abbreviated name for the service. This is the unique name by which the service is known in Windows. This name defines the service registry key in HKLM\System\CurrentControlSet\<Short Name>. This name can be used with the command line net stop and net start commands. Whitespace (i.e. spaces, tabs and punctuation) with the exception of hyphen (-) and underscore (_) is not permitted in this field.  The name must begin with an alphabetic character (A-Z).

Display Name

A more descriptive name for the service. This value will initially default to the Short Name. The value is displayed in the Windows Services Applet. This value may contain spaces and punctuation.

Custom Prefix String

By default, when a service is installed the prefix "FireDaemon Service" is prepended to the Short Name. By checking this, the prefix can be modified or omitted entirely.

Description

A long description of the service. It may remain blank. You can also implicitly reference messages within pre-existing DLLs. For example: @appmgmts.dll,-3251.


Application to Run as a Service Section


Field

Purpose

Executable

This is the full path and name (including the file extension) of the executable to be run as the service, e.g. C:\Program Files\MyApp\myapp.exe. System environment variables can be used to determine the complete path (eg. %SYSTEMROOT%\system32\calc.exe).

Working Directory

This is the working directory of the application to be run as a service. This must be a valid mapped drive path or Universal/Uniform Naming Convention (UNC) path to a network drive (e.g. \\<servername>\<sharename>\<directory>). System environment variables can be used to determine the complete path (eg. %SYSTEMROOT%\system32).

Parameters

This is an optional list of parameters that can be passed to the executable. It may contain user, system or service specific environment variables (eg. %MYVAR%).

Start-Up Mode

This determines how the Service Control Manager treats the service when it is first created, and whenever the machine boots up. The mode can be one of: Manual, Automatic, Automatic (Delayed-Start) or Disabled. Automatic (Delayed-Start) is only available on Vista, 2008 or later.

Start-up Time

This is the number of milliseconds that the service will take to start as reported to the Service Control Manager. This value is required so that FireDaemon Pro can "checkpoint" the service startup process with the Windows Service Control Manager (SCM). If this amount of time elapses prior to the service entering a fully running state then the SCM will consider the service hung. Setting this value to a very low value is not recommended. Note that this value is NOT the total amount of time the service takes to initialise - it is only the amount of time required for the SCM to launch firedaemon.exe and not any application that FireDaemon Pro launches. You should only change this value if direct to by Technical Support or if you have an exceptionally slow computer.