×
Namespaces

Variants
Actions
Revision as of 07:39, 1 August 2012 by hamishwillee (Talk | contribs)

Creating installation dependencies to other components on Symbian

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Tested with
Devices(s): Nokia E65
CompatibilityArticle
Created: tapla (04 Sep 2008)
Last edited: hamishwillee (01 Aug 2012)

Overview

This code snippet describes how to create dependencies in the PKG file from a component to other components.

This snippet can be self-signed.

PKG file

To indicate that the component being installed depends on another component, use the following statement in the PKG file:

; Component X is required
; UID Version Component name
(0x2000BABE), 0, 0, 0, {"ComponentX"}

If Component X is not installed, the following warning is displayed: "Component 'ComponentX' missing. Continue anyway?"

To indicate that the component being installed depends on a specific version (or newer) of another component, use the following statement:

; Version 3.06(1) (or newer) of Component X is required
(0x2000BABE), 3, 6, 1, {"ComponentX"}

If Component X is installed but it is not version 3.06(1) or newer, the installation fails with the following error message: "Unable to install. 'ComponentX', version 3.06(1) or newer is required." If Component X is not installed in the first place, the same warning as in the first case is displayed: "Component 'ComponentX' missing. Continue anyway?"

You can also indicate that the component being installed depends on a certain range of versions of another component:

; Version from 2 to 3.02(3) of Component X is required
(0x2000BABE), 2, *, * ~ 3, 2, 3, {"ComponentX"}

If the version range is not met, the installation fails. Note that the error message for this case seems to be somewhat inconsistent at the moment: "Unable to install. 'ComponentX', version 2.42(-1) or newer is required."

Postconditions

Dependencies between components are demonstrated.

79 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×