Creating a single SIS installation file for S60 3rd edition and S60 5th edition/zh-hans
文章信息
为发行方便,有必要将你的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
© 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.
Note that this content was originally hosted on the Symbian Foundation developer wiki.


(no comments yet)