How to add a sis to other sis? or how to make two programm into a sis?
thanks
How to add a sis to other sis? or how to make two programm into a sis?
thanks
you can add stuff into sis by defining the files to be added in the pkg file.. And for adding a sis into a sis, you could search for embedding sis files..
Do you like this: http://wiki.forum.nokia.com/index.php/Embedded_SIS-file ?
Nokia Developer Wiki Moderation team
Do you really have "2.sis" in the current path of your main .pkg file?
Nokia Developer Wiki Moderation team
Don't embed the second sis, but just add the files in the first sis files pkg then..
If one of your .pkg-s is localised, and the other is not, append the deployment part of the non-localised one to the localised one and you are ready.
If not, consider showing your .pkg files.
progam 1 pkg:
;Language - standard language definitions
&EN
; standard SIS file header
#{"program1"},(0xEA17ED89),1,0,0
;Localised Vendor name
%{"Vendor-EN"}
;Unique Vendor name
:"Vendor"
;Supports Series 60 v 3.0
[0x101F7961], 0, 0, 0, {"Series60ProductID"}
;Files to install
;<source> <destination>
"$(EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET)\program1.exe" -"!:\sys\bin\program1.exe"
{
"$(EPOCROOT)Epoc32\data\z\resource\apps\program1.r01"
} - "!:\resource\apps\program1.rsc"
......
program 2:
;Language - standard language definitions
&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"
......
when i copy programe pkg to programe1 pkg .
it has worng that the languages have already been defined
You could follow the first advice, since "progam 1 pkg" is not localised, "$(EPOCROOT)Epoc32\data\z\resource\apps\program1.r01" is a single filename in a single language, remove the {} and you are done:Code:&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"