|
|
Classification: |
General |
Category: |
Installation |
Created: |
03/03/2003 |
Modified: |
10/13/2003 |
Number: |
FAQ-0853 |
Platform: |
Symbian OS v7.0 |
|
Question: I'm building a SIS file and I've added information on other components which are required before my installation can proceed.
Now my SIS file fails to build. Why might this be?
Answer: For the latest Symbian OS phones, all PKG files require some kind of extra dependency information embedded in them pertaining
to the target UI system. This prevents, for example, a Series 60 .SIS file being installed on a UIQ phone by unsuspecting
users.
For example, to restrict your SIS file to only the Sony Ericsson P800 you would add:
(0x101F80BE),1,0,0,{"SonyEricssonP80xPlatformProductID"}
to your PKG file, whereas to allow your SIS file to install onto any UIQ 2.0-based phone you would add:
(0x101F617B),2,0,0,{"UIQ20ProductID"}
The most common cause of failure after introducing this line is a lack of additional language strings. If your PKG file supports
more than one language, you will need to define the dependency string multiple times, for example, if you have support for
3 languages elsewhere in your PKG file:
(0x101F80BE),1,0,0,{"SonyEricssonP80xPlatformProductID", "SonyEricssonP80xPlatformProductID", "SonyEricssonP80xPlatformProductID"}
|
|
|