|
|
|
This Package file format is supported for the Symbian OS v6.1, v7.0, v7.0s and v8.0.
A Package (PKG) file is a text file containing instructions that are used by Software Install. A PKG file consists of items/statements that define the information required by the SIS file creation utilities, i.e., makesis.
The first item in a PKG file should detail the languages provided within the SIS file.
This must be followed by the package header, which details the SIS component name, UID, and version information.
Product / platform version compatibility may not be supported by all Symbian OS platforms. It ensures that the application is compatible with the product and/or the platform version.
The next item is optional, and is a digital signature which gives the name of the private key file and associated certificates to be used to digitally sign the SIS file.
The remainder of the PKG file lists the files and components to be included in the SIS file or dependencies upon other installed components.
The PKG file format, which is described in modified BNF notation, can be broken down into the following items:
The same list with further details:
|
All PKG and text files parsed by makesis may be in either UTF8 or UNICODE format. UTF8 text is converted to UNICODE when creating a UNICODE SIS file. Both little-endian and big-endian UNICODE files may be used; automatic conversion is performed by makesis as appropriate.
Characters may be included within strings using an escape syntax. The following
samples, within the package-header, demonstrate the use of a character code
to include a "™" symbol at the end of the application name (for decimal and hexadecimal
respectively):
#{"MyApp"<153>}, ...
#{"MyApp"<0x99>}, ...
Any numeric character code should be entered outside any double quotes and bounded by "<" and ">". The value may be in the range 0-255 when creating an ASCII SIS file or 0-65535 when creating a UNICODE SIS file.
Each PKG item/statement may be spread over multiple lines if desired.
For example PKG files see: