ITrack/Enterprise/Host.ini

From ISoft Wiki
< ITrack‎ | Enterprise
Revision as of 09:56, 14 January 2009 by 192.168.5.1 (talk) (Added some slightly nicer formatting.)
Jump to navigationJump to search

Host.ini is the local settings file for ITrack. All the settings that have to do with an individual computer are stored there (whereas user, store, or global settings are stored in the database). The format is standard Windows initialization file format which means that there are three basic element types:

  • Section Headings - These are of the form "[section]". They mark the beginning of a new section. Sections separate properties into logical groups.
  • Properties - These are of the form "property=value". Everything following the equals sign is part of the value of the property.
  • Comments - These are of the form "# My Comment". Any line that starts with a pound sign (#) is ignored. They can be used to make remarks in the file or to temporarily disable certain properties.

Sections


Extensions Section

The [extensions] section stores the modules that ITrack will use on this computer. Most extensions take the form of screens or options dialogs though some are used behind the scenes. Some users may not need certain extensions and their removal may make the system easier to use. There are two basic types of properties in the extensions section:

  • total - This is the total number of extensions that ITrack will try to load. It will read down the list of extensions starting at 1 and going until the total trying to load each one. If one fails to load, ITrack will stop loading the rest therefore ensure that the total matches exactly the number of extensions you want to use.
  • extension<number> - This property points ITrack toward a particular dll file that holds the extension. The order that the extensions are listed is irrelevant unless extension list ordering is turned on (it is set to alphabetical by default).

General Section

This section mainly stores information about the setup of the filesystem.

  • imagesdir - The filesystem location to look for images.
  • reportsdir - The filesystem location to look for reports.
  • attachmentsdir - The filesystem location to look for attachments.