|
Location Repository
Each Component of the Version can have its own location in file-system hierarchy of the end-user's system. To determine where exactly the particular Component should be located we shall use a special table called the Location Repository. This table is the integral part of the product description (i.e. associated with each product), and should be filled by the user.
Each item of the Location Repository is a named record. The parameters of each record define the way to determine the full path to the each component location on the end-user's machine.
The "Location" property of a Component defines which record from the Location Repository is used to detect this Component location.
Currently the following types of records are available:
1. Registry
The full path to component's files location is taken from one of the Registry keys.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Additional part of the Path.
|
|
|
|
|
| Default value. Used if Path value can not be taken from Registry (specified Registry value does not exist, access is denied, etc.). |
|
2. INI-file
The full path to component's files location is taken from ini-file.
|
|
|
|
|
|
|
Name of section inside ini-file.
|
|
|
|
|
Name of the key within the section.
|
|
|
|
|
Additional part of the Path.
|
|
|
|
|
Default value. Used if Path value can not be taken from INI-file (ini-file can not be found, specified section/value do not exist, etc.).
|
|
3. Special folder
The full path to component's files location is defined by one of the special folders.
|
|
|
The path of the system's Program Files directory, typically "C:\Program Files".
|
|
|
|
The path of the system's Common Files directory, typically "C:\Program Files\Common Files".
|
|
|
|
|
The system's Windows directory. |
|
|
|
| The system's Windows System directory (System32 on Windows NT platforms). |
|
|
|
The drive Windows is installed on, typically "C:". On Windows NT platforms, this directory constant is equivalent to the SystemDrive environment variable.
|
|
|
|
Fonts directory. Normally named "FONTS" under the Windows directory.
|
|
|
|
|
Additional part of the Path.
|
|
4. Environment variable
The full path to component's files location is defined by an environment variable.
|
|
|
|
Name of environment variable. |
|
|
|
|
Additional part of the Path.
|
|
|
|
|
Default value. Used if specified environment variable doesn't exist.
|
|
5. Fixed path
The full path to component's files location
|
|
|
Full path to component's files location.
|
|
6. Location ref
The full path to component's files location is defined by another item of the Location Repository table.
|
|
|
Reference to another item of the Location Repository table.
|
|
|
|
|
Additional part of the Path.
|
|
|