×

Discussion Board

Results 1 to 11 of 11
  1. #1
    Registered User
    Join Date
    Jun 2008
    Posts
    6

    [moved] Problems during the installation of a new version.

    The new version doesn’t want to update an old one and shows a message: «Update error». At that the problem cannot be solved even if we delete the whole body from PKG file and the title take from PKG file of the previous version. But it’s possible to install the old version over the installed new version. Also it’s possible to install the new version after the deletion of the old one.
    1. The certificates in both versions are similar.
    2. The old version includes two inserted SIS files. The new version doesn’t include inserted SIS files.

    Please, help me to solve the problem.

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

    Re: Problems during the installation of a new version.

    you could try commenting out the pkg lines one-by-one, untill you can isolate the actual line that causes the problem

  3. #3
    Registered User
    Join Date
    Jun 2008
    Posts
    6

    Re: Problems during the installation of a new version.

    I commited whole PKG (in PKG left only header, and header I changed many times).
    And I can not modify anythig in old PKG file.
    Last edited by NikolaN; 2009-06-17 at 14:44.

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,567

    Re: Problems during the installation of a new version.

    Quote Originally Posted by NikolaN View Post
    2. The old version includes two inserted SIS files. The new version doesn’t include inserted SIS files.
    If it means that you have moved files from the embedded .sisx-es to your main package, that causes the update error. The files on the device are considered to belong to the embedded .sisx files, and not to your main package.

  5. #5
    Registered User
    Join Date
    Jun 2008
    Posts
    6

    Re: Problems during the installation of a new version.

    Quote Originally Posted by wizard_hu_ View Post
    If it means that you have moved files from the embedded .sisx-es to your main package, that causes the update error. The files on the device are considered to belong to the embedded .sisx files, and not to your main package.
    Yes. You are right. But how can I fix it? (Of course I do not want to move back SIS files, and In fact do not want to create EXE fole for uninstall old version)

  6. #6
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,142

    Re: Problems during the installation of a new version.

    then you would need to rename the files that were on the embedded sis, as well as change any UIDs with them. Or instruct your users to uninstall the application before installing the new version..

  7. #7
    Registered User
    Join Date
    Jun 2008
    Posts
    6

    Re: [moved] Problems during the installation of a new version.

    In this way, one more question. Why do not installing new version whis PKG file like this:

    ;Languages
    &EN

    ;Header
    #{"Temp"},(0x0000123),*VERSIONNUMBER*,TYPE=SA

    ;Localised Vendor name
    %{"My company"}

    ;Unique Vendor name
    :"My company Inc"

    ;Supports Series 60 v 5.0
    [0x1028315F], 0, 0, 0, {"Series60ProductID"}

    over old cersion? (any files for conflict whith old version)

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

    Re: [moved] Problems during the installation of a new version.

    Not sure what you mean, so can you explain in bit more details on what happens and whet are you trying to do ?

  9. #9
    Registered User
    Join Date
    Jun 2008
    Posts
    6

    Re: [moved] Problems during the installation of a new version.

    Ok. Lets begin
    Old PKG file lock like:
    ;Languages
    &EN
    ;Header
    #{"App "},(0x00001234),*VERSIONNUMBER*,TYPE=SA
    ;Localised Vendor name
    %{"Vendor"}
    ;Unique Vendor name
    :"vendor Inc"
    ;Supports Series 60 v 5.0
    [0x1028315F], 0, 0, 0, {"Series60ProductID"}

    @"*EPOCROOT*epoc32\SISFILES\first.sis",(0x12345678)
    @"*EPOCROOT*epoc32\SISFILES\second.sis",(0x12345679)

    ... other included fies

    new PKG file lock like:
    ;Languages
    &EN
    ;Header
    #{"App "},(0x00001234),*VERSIONNUMBER*,TYPE=SA
    ;Localised Vendor name
    %{"Vendor"}
    ;Unique Vendor name
    :"vendor Inc"
    ;Supports Series 60 v 5.0
    [0x1028315F], 0, 0, 0, {"Series60ProductID"}

    => do not contain any file.
    New version can not installing over old. But old can install over new.

  10. #10
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,142

    Re: [moved] Problems during the installation of a new version.

    ok, I propably have not see that earlier, but if you verify that it works like that, then it appears that the update error can also be coming from situations like that, though I can not see the logic on why it would behave like that..

  11. #11
    Registered User
    Join Date
    Jun 2008
    Posts
    6

    Re: [moved] Problems during the installation of a new version.

    I found something intresting. If I deleted inserted SIS files from old version everising nice.

Similar Threads

  1. S60 9.2 FP1 installation problems
    By commontime in forum Symbian Tools & SDKs
    Replies: 4
    Last Post: 2008-02-01, 10:22
  2. App Installation problem on Device using SDK 1.2 version.
    By khurshed79 in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2006-01-12, 08:58
  3. JSR #177 (SATSA) Problems with the installation
    By MCrill in forum Mobile Java General
    Replies: 0
    Last Post: 2004-09-24, 10:32
  4. Nokia 9210i have problems with Firmware version 6
    By verris in forum Symbian C++
    Replies: 0
    Last Post: 2004-04-21, 09:52
  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
  •