×

Discussion Board

Results 1 to 13 of 13
  1. #1
    Registered User
    Join Date
    Aug 2007
    Posts
    311

    How to add a sis to other sis? or how to make two programm into a sis?

    How to add a sis to other sis? or how to make two programm into a sis?
    thanks

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,144

    Re: How to add a sis to other sis? or how to make two programm into a sis?

    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..

  3. #3
    Registered User
    Join Date
    Aug 2007
    Posts
    311

    Re: How to add a sis to other sis? or how to make two programm into a sis?

    Quote Originally Posted by symbianyucca View Post
    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..
    HI symbianyucca
    deifning files? need what file? in pkg, can you give a simple sample?

    and what 's embedding sis files mean?
    tanks .

  4. #4
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,336

    Re: How to add a sis to other sis? or how to make two programm into a sis?

    Nokia Developer Wiki Moderation team

  5. #5
    Registered User
    Join Date
    Aug 2007
    Posts
    311

    Re: How to add a sis to other sis? or how to make two programm into a sis?

    Quote Originally Posted by kiran10182 View Post
    you mean: I want add 1.sis to 2.sis?

    I just do that:

    in 2.pkg file
    @"2.sis" (0x543535) \\0x543535 UID

    but My programe is error
    file i/0 falutl

  6. #6
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,336

    Re: How to add a sis to other sis? or how to make two programm into a sis?

    Do you really have "2.sis" in the current path of your main .pkg file?
    Nokia Developer Wiki Moderation team

  7. #7
    Registered User
    Join Date
    Aug 2007
    Posts
    311

    Re: How to add a sis to other sis? or how to make two programm into a sis?

    Quote Originally Posted by kiran10182 View Post
    Do you really have "2.sis" in the current path of your main .pkg file?
    yes , the path is wrong.

    in install the program, the 1 and 2 program info show both.
    I want show 1 progarm info , how to do it ?

  8. #8
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,144

    Re: How to add a sis to other sis? or how to make two programm into a sis?

    Don't embed the second sis, but just add the files in the first sis files pkg then..

  9. #9
    Registered User
    Join Date
    Aug 2007
    Posts
    311

    Re: How to add a sis to other sis? or how to make two programm into a sis?

    Quote Originally Posted by symbianyucca View Post
    Don't embed the second sis, but just add the files in the first sis files pkg then..
    yes, i can do that ?
    but when 2 program has diferent language suppuort to 1 programe , i can't kown how to do that ?
    can you help me ?
    thanks!

  10. #10
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,572

    Re: How to add a sis to other sis? or how to make two programm into a sis?

    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.

  11. #11
    Registered User
    Join Date
    Aug 2007
    Posts
    311

    Re: How to add a sis to other sis? or how to make two programm into a sis?

    Quote Originally Posted by wizard_hu_ View Post
    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

  12. #12
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,572

    Re: How to add a sis to other sis? or how to make two programm into a sis?

    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"

  13. #13
    Registered User
    Join Date
    Aug 2007
    Posts
    311

    Re: How to add a sis to other sis? or how to make two programm into a sis?

    Quote Originally Posted by wizard_hu_ View Post
    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"
    Yes!
    thanks a lot !

Similar Threads

  1. cant make a Sis file while importing projects
    By Abhishek_karmakar in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2009-06-23, 08:05
  2. How to make a sis file
    By saimram in forum Symbian
    Replies: 5
    Last Post: 2008-01-29, 10:14
  3. Failed to update file .RSC
    By Jayakumar in forum Symbian Tools & SDKs
    Replies: 32
    Last Post: 2007-10-26, 10:33
  4. abld make files missing
    By dalore in forum Symbian
    Replies: 0
    Last Post: 2003-06-13, 12:40

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •