有两种可行的法
一:
有一个pkg里加载另一个程序的sis
@"2.sis" (0x543535) //0x543535 UID
不过这样安装时会有安装两个程序的提示
二:
在一个pkg里加入另一个程序的files
for example:
&EN, ZH
; standard SIS file header
#{"MustSuccessMulLanguage-EN","MustSuccessMulLanguage-ZH"},(0xE729C8B7),1,2,3,TYPE=SA
;Localised Vendor name
%{"Vendor-EN", "Vendor-ZH"}
;Unique Vendor name
:"Vendor"
;Supports Series 60 v 3.0
[0x101F7961], 0, 0, 0, {"Series60ProductID", "Series60ProductID"}
;Files to install
;<source> <destination>
"$(EPOCROOT)Epoc32/release/$(PLATFORM)/$(TARGET)/program2.exe" -"!:/sys/bin/program2.exe"
{
"$(EPOCROOT)Epoc32/data/z/resource/apps/program2.r01"
"$(EPOCROOT)Epoc32/data/z/resource/apps/program2.r31"
} -"!:/resource/apps/program2.rsc"
"$(EPOCROOT)Epoc32/release/$(PLATFORM)/$(TARGET)/program1.exe" -"!:/sys/bin/program1.exe"
"$(EPOCROOT)Epoc32/data/z/resource/apps/program1.r01"- "!:/resource/apps/program1.rsc"