×

Discussion Board

Results 1 to 15 of 25

Hybrid View

  1. #1
    Regular Contributor
    Join Date
    Feb 2006
    Posts
    122

    Exclamation Question for experts

    Hi guys!
    I need install my *.prt module to 3rd device.
    It is will intercept IP packets (via IPHook API).
    I have my "sis" signed by manufacturer approved certificate,
    but when I tried to install it to device, I received next error:
    "Unable to install. Install base package first".
    I can't understand, what I do wrong...
    I tried install only prt file to c:\sys\bin folder and then install my own esk file(via separately SIS).
    But I got another error : "Unable to install". I think this error is occur, when I try writing file to private folder of another application.
    I am really confused
    PS: I have readed "HOWTO install an esock protocol after market.doc"
    and my pkg file is same.

    Please help.
    Thanks in advance.

  2. #2
    Regular Contributor
    Join Date
    May 2005
    Location
    Brasov, Romania
    Posts
    431

    Re: Question for experts

    This installation error message is usually received when you try to install an updater sis file instead the main application.

    In less words, you try to install the sis file built with a pkg file containing "TYPE=PU" instead of "TYPE=SA"

    Check the Symbian doc (search for "PKG file syntax"), change your PKG accordingly, build the sis and install it.

  3. #3
    Regular Contributor
    Join Date
    May 2007
    Posts
    463

    Re: Question for experts

    Installing after market IP hooks relies on the presence of the c32exe stub SIS file in ROM. If the manufacturer chooses to omit that file, then you can't install your hook. This does have to be a concious choice, since it's exported by Symbian's base system by default.

    It seems that Nokia have chosen to omit it from some or all of their phones. I did a quick check on an E61 I have to hand, and it isn't there. I can't be bothered to check any others, but you can check for yourself by looking in z:\system\install for c32exe.sis.
    Get Resolvr - The Zeroconf framework for Symbian OS free today. Make your IP networking applications fun and easy to use. http://www.novelinteractions.com/resolvr/
    Proud to be the only autorickshaw owner in Cambridge - http://blog.novelinteractions.com/images/tuktuk.jpg

  4. #4
    Regular Contributor
    Join Date
    Feb 2006
    Posts
    122

    Re: Question for experts

    I used TYPE=SP. It is was described in documentations.
    And I used SID 0x101F7989 and ":symbian" line...
    My pkg file is same with example esock_aug.pkg. I have changed only name of package. But it is still not worked.
    "Unable to install. Install base package first"

  5. #5
    Regular Contributor
    Join Date
    May 2005
    Location
    Brasov, Romania
    Posts
    431

    Re: Question for experts

    use TYPE=SA for new applications

    use TYPE=SP or PU for update installation (application already installed, you only update a component)

    use TYPE=PA for pre-installed applications


    In your case you will need a new sis file, SA type. Just change the line of your PKG from SP to SA, rebuild the sis file, sign and install it. It should work

  6. #6
    Regular Contributor
    Join Date
    Feb 2006
    Posts
    122

    Re: Question for experts

    Thanks for your reply Iulian,
    Regarding doc: "HOWTO install an esock protocol after market.doc"
    I should use TYPE=SP.
    I have tried now (how you said), but now I received new message: "Unable to install".
    I sure it is should be SP (patch).

    "SA - When upgrading a package of type SA, the original package is entirely replaced by the new one. Any files not re-delivered by the new package are removed from the device. After the upgrade has completed, the new package cannot be removed separately from the original; to remove the upgrade, the entire package must be removed.

    SP - A patch, specified using the SP package type, is an augmentation to an existing package, for instance additional levels for a game.
    A patch differs from a partial upgrade (see the next bullet point) in that it can only add files; it cannot overwrite files, and it can be uninstalled separately from the package it is augmenting. If a patch tries to modify or replace an existing file, the installation will fail.

    Possible, somebody had same issue earlier?
    Please help.

Similar Threads

  1. a question about command and a question about s60
    By t4kesting in forum Mobile Java General
    Replies: 0
    Last Post: 2006-01-24, 08:21
  2. Replies: 2
    Last Post: 2004-01-08, 18:36
  3. Question on support of dll's
    By sanju_v in forum Symbian
    Replies: 1
    Last Post: 2003-03-05, 13:09
  4. Sending data using iAcceptedSocket (Urgent question)
    By okegame in forum Bluetooth Technology
    Replies: 1
    Last Post: 1970-01-01, 02:00

Posting Permissions

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