Symbian
 Developer Library

SYMBIAN OS V9.1

FEEDBACK 

[Index] [Spacer] [Previous] [Next]



Package header

The package header contains the component name in each of the supported languages, the UID of the package, the major and minor version number and build number, and package options.

The syntax for a package-header item is as follows:

#{"Component name for language 1", ...}, (package-uid), major, minor, build-number[, package-options, ...]


package-options

In the package-header statement, package-options may be any of the following:

AbbreviationNameDescription

TYPE=package-type

Specifies the package-type that identifies the purpose of the package

IU

IUNICODE

This flag is obsolete and is ignored.

Package file is in Unicode format.

SH

SHUTDOWNAPPS

Shuts down all applications on the device.

Software Install terminates running applications on the device as needed during the installation process, so the use of this flag is not now recommended.

NC

NOCOMPRESS

Files will not be compressed within the SIS file


package-type

In the package-options above, package-type may be any of the following:

AbbreviationNameDescription

SA

SISAPP

A package containing an application (the default type).

SP

SISPATCH

A package that patches an existing component. It may be removed by the user.

PU

PARTIALUPGRADE

This is a variation of SA in that files present in the original package now missing in the upgrade package are not removed.

Note that these options are mutually exclusive - only one option is valid per SIS file. Note that options SO, SC, SY and SU are no longer supported.

Notes on upgrading packages

When installing a package with the SA package type, and that package has already been installed, the user will be given the choice of replacing the existing installation entirely, or cancelling the installation.

Note that if the user chooses to continue, any private directories owned by the application will be deleted. Note also that any files that were listed in the original installation with the FILENULL option, will not be removed.

Software Install additionally supports partial upgrades, indicated by the PU package-type. A partial upgrade cannot remove any files; it can only add or overwrite files. This allows a small upgrade SIS to replace just the parts of a package which require replacement, and not re-deliver the whole package.

Unlike packages installed using the SA or SP options, a partial upgrade package is not listed as a removable component after installation, so the user needs to remove or reinstall the associated application to remove the changes.

When specifying a PU package, the drive selection dialog should be suppressed, so that the install drive will be the one associated with the existing package. This means that new files get installed to the same drive and not one arbitrarily chosen by the user. Clearly, if space is limited on this drive, the upgrade cannot continue.

A patch (specified using the SP package type) differs from a partial upgrade in that it can only add new files; it cannot overwrite existing files, and it is uninstallable.

[Top]


Example

The following is an example of a package header item:

#{"MyApp-EN", "MyApp-FR", "MyApp-Zulu"}, (0x1000001F), 1, 2, 3, TYPE=SA

[Top]


Notes