Edit Distribution Kit Description
The distribution kit description edit window is used to create a distribution kit.
A description has the form of a tree that consists of four main branches: configuration templates, distribution options, base directories and languages.
You may add new data, delete data that are no longer needed or modify existing data at any branch. Use the Action menu to manage the description tree. Use the property palette to edit properties.
Configuration templates are the main elements of the distribution kit. Configuration templates consist of files and file groups.
Files may include arbitrary files (or file sets that are determined based on a mask) and configuration files or data dumping files obtained from the current infobase.
All templates are located in the template directory. All files and file groups are also located in the template directory based on the manifest file address (file groups are represented as subdirectories).
A manifest file only contains configuration files and data dump files. The rest of the files are simply stored in the configuration template directory.
To set up a template, choose a template and specify its properties.
Current configuration — when you check this option, the data (the supplier, name and version) will be picked from the current infobase. If this option is not checked, you may edit these properties.
Vendor— configuration supplier (the same as the Vendor configuration property).
Name— configuration name (the same as the Name configuration property).
Version— configuration version (the same as the Version configuration property).
Location of manifest— relative path to the template manifest file in the template directory.
Files and file groups
To add a file, pick a template and select Actions — Add menu item. The file selection dialog will be displayed.
To configure file properties, select a file and specify its properties.
Name - file name.
Data — data source for a file (file, current configuration or current infobase).
Base directory - base directory to reference the file.
File/directory — relative (for base directory) or absolute path to a file.
Send to support - for configuration file or data dumping – the file should be sent to support.
Add to manifest - for configuration file and data dumping – the file should be included into the manifest.
Name in template - name in the templates directory. The name is localized to all languages supported by the installation kit.
Location — default directory for the infobase.
Name for updates - file name should be used in templates directory to create names for updates.
To add a group, pick a template and select Actions — New Group menu item. Specify the group name in the property palette.
You may create nested groups of files.
Distribution options contain different combinations of distribution files. Such a combination may be used for different distribution contents (e.g. full distribution vs. update distribution).
Name — name of a distribution option.
Distribution files - a set of distribution files. By default a full version containing all files is created. If you specify several build options, you may specify contained files for an option using the Edit link in the property palette.
Distribution description file— description that is displayed to a user after the product is installed.
Base directory and Directory— these parameters specify location of distribution kit or set of distribution files. If you specify these directories, they will be automatically added in the prompting dialog box for the kit creation.
Base directories are used to specify the distribution files that are moved between different computers.
You may specify an environment variable or a directory name as the base directory. Then you may specify the distribution file name as a combination of the base directory and relative path from the base directory.
Name — name of the base directory.
Base — may have two values: Environment Variable or Directory.
Environment variable/Directory - contains the name of the environment variable or an absolute path to a directory depending on the value of the Base property.
The languages are used to show the localized names of template elements.
To display the names correctly, it is necessary to create languages in accordance with the directory names in the 1C:Enterprise platform containing the corresponding localized interfaces. One of the languages is considered a default language (a localized line in the default language shall be used if no line corresponding to the current platform language is available).
Name - language name.
Resource directory — language resources directory for this language.
Use the Actions — Create Kit menu item to create a distribution kit. A distribution kit for the selected distribution option will be created
Use the Actions — Create distribution files kit menu item to create a kit of distribution files. Distribution files (unpacked) will be created for the selected distribution option without an installation program.
The Designer offers to save the kit description if it hasn't been saved yet. If you specify more than one option, the option select dialog will open.