Discussion Board

Results 1 to 4 of 4

Thread: pkg file

  1. #1
    Registered User kingkiko's Avatar
    Join Date
    Dec 2004
    Posts
    110
    hi all,
    i'm trying to add files to my app after install it
    i'm doing the foolowing every thing done but the sis size is double
    i't didn't detect that source files is the same.
    //pkg file
    ; Languages
    &EN

    ; Header
    #{"my app"},(0x19472B6E), 0, 1, 1, TYPE=SU

    ;Dependencies
    (0x19472B6E), 0, 1, 1,{"my app"}

    ; Target

    IF EXISTS ("c:\system\apps\my app")
    "C:\MyWork\Files\In.inf"-"c:\system\apps\my app\In.inf"
    "C:\MyWork\Files\SDt.fff"-"c:\system\apps\my app\SDt.fff"
    "C:\MyWork\Files\Tt.fff"-"c:\system\apps\my app\Tt.fff"
    ELSEIF EXISTS ("E:\system\apps\my app")
    "C:\MyWork\Files\In.inf"-"e:\system\apps\my app\In.inf"
    "C:\MyWork\Files\SDt.fff"-"e:\system\apps\my app\SDt.fff"
    "C:\MyWork\Files\Tt.fff"-"e:\system\apps\my app\Tt.fff"
    ENDIF

  2. #2
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    Even if I have not tried it, I suppose that using !:\... in a SISUPGRADE package would use the original installation drive without querying the user.

  3. #3
    Nokia Developer Expert billbonney's Avatar
    Join Date
    Jul 2003
    Location
    Vancouver, Canada
    Posts
    220
    you need to use the '!:' instead or 'e:' or 'c:' . when the installer uses '!:' it will work out where the installtion file where placed. ( as indicated by wizard_hu )

    When you specify in your case e: and c: in your .pkg file it will include them as seperate files.

    ie. "C:\MyWork\Files\In.inf"-"c:\system\apps\my app\In.inf" is not the same file as "C:\MyWork\Files\In.inf"-"e:\system\apps\my app\In.inf"

    you need to use "c:\MyWork\Files\In.inf"-"!:\system\apps\my app\In.inf"

    Hope this helps

  4. #4
    Registered User kingkiko's Avatar
    Join Date
    Dec 2004
    Posts
    110
    when i put i instead of use the drive C or E but the installer display memory selection and depends on which the user select it copies the files
    i was think as i put SU in header it will by default install them to app dir

Similar Threads

  1. can we get the source file from jar file..
    By bb_sathya in forum Mobile Java General
    Replies: 6
    Last Post: 2005-12-28, 13:14
  2. pkg file problems - SISCONFIG
    By stv2005 in forum Symbian C++
    Replies: 2
    Last Post: 2005-05-10, 10:43
  3. problem with PKG file
    By lauyk001 in forum Symbian C++
    Replies: 0
    Last Post: 2005-04-01, 11:55
  4. Creating pkg file
    By Fencer04 in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2003-06-12, 21:21
  5. nokia 7210 modem via IR doesn't work !
    By oussamaaiadi in forum PC Suite API and PC Connectivity SDK
    Replies: 1
    Last Post: 2003-03-06, 10:46

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved