×
Namespaces

Variants
Actions
< Creating a single SIS installation file for S60 3rd edition and S60 5th edition
Revision as of 08:25, 15 December 2011 by hamishwillee (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Creating a single SIS installation file for S60 3rd edition and S60 5th edition/zh-hans

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata

文章
翻译:
hamishwillee
最后由 hamishwillee 在 15 Dec 2011 编辑

为发行方便,有必要将你的S60 3rd edition 和S60 5th edition二进制文件打包成一个单一的SIS文件。

如何做?

将所有的3rd edition 和5th edition文件包括到一个sis文件中然后由安装器程序来确定应将哪些文件安装到哪些手机中。

第一步:在pkg文件中包括针对两个Edition的UIDs

; MyApp.pkg
;
;Language - standard language definitions
&EN

; standard SIS file header
#{"MyApp"},(<APP_UID>),1,0,0

;Localised Vendor name
%{"<Localized Vendor-Name>"}

;Unique Vendor name
:"<vendor name>"

;Supports Series 60 v 3
[0x101F7961], 0, 0, 0, {"S60 3rd edition ProductID"}
;Supports Series 60 v 5
[0x1028315F], 0, 0, 0, {"S60 5th edition ProductID"}

第二步:使用条件语句告诉安装器程序它需要安装什么

使用条件语句来安装相应的二进制文件

IF EXISTS("z:\system\install\Series60v5.0.sis")
;install 5th edition binaries.
ELSE
;install 3rd edition binaries
ENDIF

你也可以使用条件语句来安装适当的安装文件

IF EXISTS("z:\system\install\Series60v5.0.sis")
;install 5th edition embedded sis.
ELSE
;install 3rd edition embedded sis
ENDIF


Licence icon cc-by-sa 3.0-88x31.png© 2010 Symbian Foundation Limited. This document is licensed under the Creative Commons Attribution-Share Alike 2.0 license. See http://creativecommons.org/licenses/by-sa/2.0/legalcode for the full terms of the license.
Note that this content was originally hosted on the Symbian Foundation developer wiki.

This page was last modified on 15 December 2011, at 08:25.
83 page views in the last 30 days.
×