×

Discussion Board

Results 1 to 15 of 15
  1. #1
    Regular Contributor
    Join Date
    May 2008
    Location
    Egypt Giza
    Posts
    52

    Add files to sis file

    hi...
    i want add files to sis file,while installing extract these file in an dir. in device
    i try to add in package file:
    add file e.raw.rot form Epoc32 folder to PakegeTest folder

    "$(EPOCROOT)Epoc32\e.raw.rot" -"!:\PakegeTest\e.raw.rot"

    after build package file size of sis increase with size of e.raw.rot file

    but while install sis file get error ???

    thx......
    Eng Kfke
    Egypt Giza
    engkfke@gmail.com

  2. #2
    Nokia Developer Champion
    Join Date
    Jan 2008
    Location
    Moscow, Russia
    Posts
    3,348

    Re: Add files to sis file

    What error you are getting?

    Also check this - S60 SW installer troubleshooting

  3. #3
    Regular Contributor
    Join Date
    May 2008
    Location
    Egypt Giza
    Posts
    52

    Re: Add files to sis file

    first thank you ....

    after about 80% of progress get

    Error "Unable to install"
    Last edited by kfke; 2009-03-10 at 14:09.
    Eng Kfke
    Egypt Giza
    engkfke@gmail.com

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

    Re: Add files to sis file

    That's fine if you use normal fonts.

    Anyways would you please show the contents of your .pkg file?
    Nokia Developer Wiki Moderation team

  5. #5
    Nokia Developer Champion
    Join Date
    Jan 2008
    Location
    Moscow, Russia
    Posts
    3,348

    Re: Add files to sis file

    Are you sure that you build your project with Phone release (GCCE) configuration?

  6. #6
    Regular Contributor
    Join Date
    May 2008
    Location
    Egypt Giza
    Posts
    52

    Re: Add files to sis file

    thank you again

    the occur if add this line in package file:
    "$(EPOCROOT)Epoc32\e.raw.rot" -"!:\PakegeTest\e.raw.rot"

    and i add this line to add "e.raw.rot" file to sis file where my program need this file as DB , and i need extract this file in specific path for example "e:\\PakegeTest" path.
    Eng Kfke
    Egypt Giza
    engkfke@gmail.com

  7. #7
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,347

    Re: Add files to sis file

    Please show the full content of your .pkg file.
    Nokia Developer Wiki Moderation team

  8. #8
    Regular Contributor
    Join Date
    May 2008
    Location
    Egypt Giza
    Posts
    52

    Re: Add files to sis file

    Code:
    ; TTSEvaluator3rd.pkg
    ; This is an auto-generated PKG file by Carbide.
    ; This file uses variables specific to Carbide builds that will not work
    ; on command-line builds. If you want to use this generated PKG file from the
    ; command-line tools you will need to modify the variables with the appropriate
    ; values: $(EPOCROOT), $(PLATFORM), $(TARGET)
    ; Also, the resource file entries should be changed to match the language
    ; used in the build. For example, if building for LANGUAGE_01, change the file
    ; extensions .rsc to .r01.
    ;
    ;Language - standard language definitions
    &EN
    
    ; standard SIS file header
    #{"TTSEvaluator3rd"},(0xECC00CFB),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
    ;You should change the source paths to match that of your environment
    ;<source> <destination>
    "$(EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET)\TTSEvaluator3rd.exe"		-"!:\sys\bin\TTSEvaluator3rd.exe"
    "$(EPOCROOT)Epoc32\data\z\resource\apps\TTSEvaluator3rd.r01"		-"!:\resource\apps\TTSEvaluator3rd.r01"
    "$(EPOCROOT)Epoc32\data\z\private\10003a3f\apps\TTSEvaluator3rd_reg.r01"	-"!:\private\10003a3f\import\apps\TTSEvaluator3rd_reg.r01"
    "$(EPOCROOT)epoc32\data\z\resource\apps\TTSEvaluator3rd_aif.mif" -"!:\resource\apps\TTSEvaluator3rd_aif.mif"
    "$(EPOCROOT)epoc32\data\z\resource\apps\TTSEvaluator3rd.mbm" -"!:\resource\apps\TTSEvaluator3rd.mbm"
    ; Add any installation notes if applicable
    ;"TTSEvaluator3rd.txt"					  -"!:\private\0xECC00CFB\TTSEvaluator3rd.txt"
    "$(EPOCROOT)Epoc32\e.raw.rot"					  -"!:\PakegeTest\e.raw.rot"
    Eng Kfke
    Egypt Giza
    engkfke@gmail.com

  9. #9
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,347

    Re: Add files to sis file

    Quote Originally Posted by kfke View Post
    Code:
    ;"TTSEvaluator3rd.txt"					  -"!:\private\0xECC00CFB\TTSEvaluator3rd.txt"
    Even though it is commented, I fear that you might be using it. Anyways for time being remove that line(yes, that line) and build your .pkg file again and generate new .sis file and install it on your phone.

    Let us know what does it say then...
    Nokia Developer Wiki Moderation team

  10. #10
    Regular Contributor
    Join Date
    May 2008
    Location
    Egypt Giza
    Posts
    52

    Re: Add files to sis file

    ok thank you

    but this line start with ";" ??
    Eng Kfke
    Egypt Giza
    engkfke@gmail.com

  11. #11
    Nokia Developer Champion
    Join Date
    Jan 2008
    Location
    Moscow, Russia
    Posts
    3,348

    Re: Add files to sis file

    Try to replace
    Code:
    ;"TTSEvaluator3rd.txt"-"!:\private\0xECC00CFB\TTSEvaluator3rd.txt"
    with
    Code:
    ;"TTSEvaluator3rd.txt"-"!:\private\ECC00CFB\TTSEvaluator3rd.txt"
    The 0x is not used.

  12. #12
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,347

    Re: Add files to sis file

    Quote Originally Posted by kfke View Post
    ok thank you

    but this line start with ";" ??
    You are right. The actual reason is that if you use 0x as prefix, installer will prompt you with "Unable to install" error. In case if you are going to use it, use it as belows:
    Code:
    "TTSEvaluator3rd.txt"					  -"!:\private\ECC00CFB\TTSEvaluator3rd.txt"
    Anyways problem might be different than what we are speculating. See the comments from people who have reported this error in different conditions. http://blogs.forum.nokia.com/index.p...articleId=93&&
    Nokia Developer Wiki Moderation team

  13. #13
    Regular Contributor
    Join Date
    May 2008
    Location
    Egypt Giza
    Posts
    52

    Re: Add files to sis file

    yes thank you again..

    but it problem occur after me add this line
    Code:
    "$(EPOCROOT)Epoc32\e.raw.rot" -"!:\PakegeTest\e.raw.rot"
    before this sis is work success without error
    Eng Kfke
    Egypt Giza
    engkfke@gmail.com

  14. #14
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,347

    Re: Add files to sis file

    Yes, I can understand. See if you find any relevant issue in the link below:
    Quote Originally Posted by kiran10182 View Post
    Anyways problem might be different than what we are speculating. See the comments from people who have reported this error in different conditions. http://blogs.forum.nokia.com/index.p...articleId=93&&
    Nokia Developer Wiki Moderation team

  15. #15
    Regular Contributor
    Join Date
    May 2008
    Location
    Egypt Giza
    Posts
    52

    Re: Add files to sis file

    thank you

    i rebuild my project and i get sis work success and get file in dir. success


    thank you man again .
    Eng Kfke
    Egypt Giza
    engkfke@gmail.com

Similar Threads

  1. Replies: 0
    Last Post: 2008-02-14, 10:27
  2. Error with makesis.exe and creating the .pkg file
    By gramya87 in forum Symbian Tools & SDKs
    Replies: 7
    Last Post: 2007-10-10, 13:53
  3. Mobile Virus Info and Solution
    By kunalshastry in forum General Development Questions
    Replies: 16
    Last Post: 2007-08-07, 11:12
  4. Contacts fields order??
    By timatima in forum Symbian
    Replies: 1
    Last Post: 2007-06-08, 13:51

Posting Permissions

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