KasperskyOS Community Edition 1.3

List of "components" objects

The list of components objects includes keys containing information about the components added to the KPA package. A list of these keys is provided in the table below.

List of keys for describing a component instance in the list of components objects

Key name

Value type

Description

Required

Example

name

String

Name of the KPA package component.

Yes

"name": "imageHighResolution"

directoryPath

String

Path of the directory relative to the path /<package name>/res where KPA package component should be installed. It is ignored if the componentType key value is set to bin or lib.

No

"directoryPath": "images/highResolution"

digest

String

Checksum of the KPA package component file.

Yes

"digest": "2d541fe063c195a3b8a90204f2c234e1b5daf664db381faa4f2b81067733d6c3"

componentType

String

Component type:

  • bin – an executable file. It is put into the /<program_name>/bin directory when the program is installed.
  • lib – shared library. It is put into the directory /<program_name>/lib when the program is installed.
  • res – user-defined resource. If the directoryPath key value is defined, the resource is put into the directory /<package_name>/res/<directoryPath> when the program is installed. Otherwise, the resource is put into the directory /<package_name>/res.
  • manifestLocale – file containing information for KPA package manifest localization. When the program is installed, KPA package manifest localization files are put into the directory /<program_name>/manifest_locales if a value is not defined for the directoryPath key.

Yes

"componentType": "res"