Archived:Hardware/UI platform dependency not recognised in PKG file in Nokia N79 and Nokia N85 (Known Issue)
hamishwillee
(Talk | contribs) |
hamishwillee
(Talk | contribs) m (Hamishwillee - Bot update - Fix metadata) |
||
| (3 intermediate revisions by one user not shown) | |||
| Line 1: | Line 1: | ||
| − | [[Category:Symbian C++]][[Category:S60 3rd Edition FP2]][[Category:Known Issue]][[Category:Base/System]] | + | {{Archived|timestamp=20120313104446|user=roy.debjit| }} |
| + | [[Category:Symbian C++]][[Category:S60 3rd Edition FP2]][[Category:Known Issue]][[Category:Base/System]][[Category:Deployment/Installation]] | ||
| + | {{Abstract|Hardware/UI platform dependency in a *.pkg file doesn't have any affect on the SIS installation file.}} | ||
{{ArticleMetaData <!-- v1.2 --> | {{ArticleMetaData <!-- v1.2 --> | ||
|sourcecode= <!-- Link to example source code (e.g. [[Media:The Code Example ZIP.zip]]) --> | |sourcecode= <!-- Link to example source code (e.g. [[Media:The Code Example ZIP.zip]]) --> | ||
| Line 22: | Line 24: | ||
|author= [[User:Technical writer 1]] | |author= [[User:Technical writer 1]] | ||
<!-- The following are not in current metadata --> | <!-- The following are not in current metadata --> | ||
| − | |||
|id= KIS001315 | |id= KIS001315 | ||
}} | }} | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
== Description == | == Description == | ||
| Line 40: | Line 35: | ||
== How to reproduce == | == How to reproduce == | ||
| − | Replace the hardware/UI platform dependency line in the *.pkg file with the following lines instead of the generic [0x101F7961], 0, 0, 0, {"Series60ProductID"} | + | Replace the hardware/UI platform dependency line in the *.pkg file with the following lines instead of the generic {{Icode|[0x101F7961], 0, 0, 0, {"Series60ProductID"} }} |
<code> | <code> | ||
| Line 54: | Line 49: | ||
This problem is expected to be fixed in future software release. | This problem is expected to be fixed in future software release. | ||
| − | As a workaround, the MachineUid variable can be used in .pkg files instead of a product-specific dependency. | + | As a workaround, the {{Icode|MachineUid}} variable can be used in .pkg files instead of a product-specific dependency. |
For example: | For example: | ||
| Line 68: | Line 63: | ||
| − | <!-- Translation --> [[zh-hans:Nokia N79和Nokia N85无法识别pkg中指定的硬件/UI平台相关性]] | + | <!-- Translation --> [[zh-hans:Archived:Nokia N79和Nokia N85无法识别pkg中指定的硬件/UI平台相关性]] |
Latest revision as of 09:47, 7 September 2012
Hardware/UI platform dependency in a *.pkg file doesn't have any affect on the SIS installation file.
Article Metadata
Tested with
Compatibility
Article
Description
ProductUID is a UID that identifies a specific phone or, more usually, a UI platform. The product UIDs of Nokia N85 and N79 are 0x20002D86 and 0x2000DA64, respectively, and both of them are missing the stub SIS files for their assigned product IDs. This makes it impossible to use a product-specific dependency in a SIS file.
Note that the product UID is in square brackets to distinguish a hardware dependency from a component dependency.
How to reproduce
Replace the hardware/UI platform dependency line in the *.pkg file with the following lines instead of the generic [0x101F7961], 0, 0, 0, {"Series60ProductID"}
;Supports Nokia N85 and N79
[0x20002D86], 0, 0, 0, {"Series60ProductID"}
[0x2000DA64], 0, 0, 0, {"Series60ProductID"}
Trying to install such a SIS package to the Nokia N85 and Nokia N79 returns the warning message: "Application not compatible - Install anyway?".
Solution
This problem is expected to be fixed in future software release.
As a workaround, the MachineUid variable can be used in .pkg files instead of a product-specific dependency.
For example:
IF (MachineUID=0x20002D86) OR (MachineUID=0x2000DA64)
; If the device is Nokia N85 or N79, then install files in this block.
"\epoc32\release\armv5\urel\myapp.exe" -"!:\sys\bin\myapp.exe"
ELSE
; Otherwise popup a warning.
"compatibility_warning.txt"-"", FT, TC
ENDIF

