Discussion Board

Results 1 to 4 of 4

Thread: pkg file

  1. #1
    Registered User
    Join Date
    Dec 2004

    pkg file

    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

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

    (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"

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Oslo, Norway

    Re: pkg file

    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
    Join Date
    Jul 2003
    Vancouver, Canada

    Re: pkg file

    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
    Join Date
    Dec 2004

    Re: pkg file

    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
    Replies: 2
    Last Post: 2005-05-10, 10:43
  3. problem with PKG file
    By lauyk001 in forum Symbian
    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