×

Discussion Board

Results 1 to 12 of 12
  1. #1
    Registered User
    Join Date
    Jul 2007
    Location
    Germany
    Posts
    48

    problems installing two applications combined in one sis

    Hello,

    I have two applications - x.exe and y.exe. Both selfsigned. The resulting sis are:
    x_signed.sis
    y_signed.sis

    These applications should be combined in one sis (application X uses some settings that are done via the application Y).

    I am doing this in the folowing way:

    in x.pkg I have at the end the line:

    @"y_signed.sis", (0xf01f70b4)

    where 0xf01f70b4 is the UID of the application X.


    If I am trying to install the resulting x_signed.sis, I get the error message:

    "Update Error!"

    even if no previously instalation is there.

    If I am installing each application separately, the installation goes without problems.

    Has anyone any idea where the problem can be, where should I look?

    Thank you!

    Best regards,
    Adriana.

    P.S. I am working with the S60 SDK 3rd Edition.

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,568

    Re: problems installing two applications combined in one sis

    "Update Error!" appears when you are trying to overwrite a file which has been installed by a different .sisx file. However I have no idea how it can conflict if you have not previous installation as you have said.

  3. #3
    Registered User
    Join Date
    Feb 2006
    Location
    Brazil
    Posts
    523

    Re: problems installing two applications combined in one sis

    Quote Originally Posted by Adriana_P View Post
    ...I have two applications - x.exe and y.exe. Both selfsigned. The resulting sis are:
    x_signed.sis
    y_signed.sis...

    ...@"y_signed.sis", (0xf01f70b4)...

    ...where 0xf01f70b4 is the UID of the application X...


    If I am trying to install the resulting x_signed.sis, I get the error message:

    "Update Error!"

    ...
    Hi Adriana

    Could you please tell us what are the UIDs of both sis files, as well as what files each of them will install in the device?


    best regards
    Http_user_agent:
    NokiaN80-1/3.0 (4.0707.0.7)
    Series60/3.0
    Profile/MIDP-2.0
    Configuration/CLDC-1.1

  4. #4
    Registered User
    Join Date
    Jul 2007
    Location
    Germany
    Posts
    48

    Re: problems installing two applications combined in one sis

    The main application (x) has the UID: 0xf01f70b4
    The second application (y) has the UID: 0xA01f70b4

    The application X writes the file BA.exe in: !:\sys\bin\BA.exe

    The application Y writes the file BS.exe in: !:\system\apps\BS\BS.exe


    Adriana.

  5. #5
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,568

    Re: problems installing two applications combined in one sis

    Quote Originally Posted by Adriana_P View Post
    The main application (x) has the UID: 0xf01f70b4
    The second application (y) has the UID: 0xA01f70b4

    The application X writes the file BA.exe in: !:\sys\bin\BA.exe
    The application Y writes the file BS.exe in: !:\system\apps\BS\BS.exe
    But it does not makes sense.
    \sys\bin is for S60 3rd edition / Symbian 9.x and onwards
    \system\apps is for previous S60 releases / Symbian 6.x-8.x
    The UID-s are also incorrect (the 3rd edition app should have the A.......-UID).
    Also note that it is not possible to create a common sis-file for all S60 releases.

  6. #6
    Registered User
    Join Date
    Jul 2007
    Location
    Germany
    Posts
    48

    Re: problems installing two applications combined in one sis

    Thank you for your answer.

    Quote Originally Posted by wizard_hu_ View Post
    But it does not makes sense.
    \sys\bin is for S60 3rd edition / Symbian 9.x and onwards
    \system\apps is for previous S60 releases / Symbian 6.x-8.x
    whoops... this makes sense...

    Quote Originally Posted by wizard_hu_ View Post
    (the 3rd edition app should have the A.......-UID).
    I find out this in documentation lately, but the application X - the one with F..... - UID - was already succesfully tested.

    I will modify it to A.... - UID.

    Quote Originally Posted by wizard_hu_ View Post
    Also note that it is not possible to create a common sis-file for all S60 releases.
    Are you sure? There is somewhere a link / doc file etc where this is specified ? (I will need it to explain why I cannot make only one sis, as for 2nd Ed phones)



    Adriana.

  7. #7
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,568

    Re: problems installing two applications combined in one sis

    Quote Originally Posted by Adriana_P View Post
    I find out this in documentation lately, but the application X - the one with F..... - UID - was already succesfully tested.

    I will modify it to A.... - UID.
    Using F... is not totally illegal, however it is a reserved range. Currently you should use E... (development) and A... (release) UID-s from the unprotected range.
    Are you sure? There is somewhere a link / doc file etc where this is specified ? (I will need it to explain why I cannot make only one sis, as for 2nd Ed phones)
    It is sure (that 2nd and 3rd edition .sis files cannot be combined). Search for "SW Installation" in a 3rd edition SDK Help, and read the 3rd Q&A. The internals of the .sis file have been changed. Old devices cannot handle the new format, new devices cannot handle the old format.

  8. #8
    Registered User
    Join Date
    Jul 2007
    Location
    Germany
    Posts
    48

    Re: problems installing two applications combined in one sis

    Quote Originally Posted by wizard_hu_ View Post
    It is sure (that 2nd and 3rd edition .sis files cannot be combined). Search for "SW Installation" in a 3rd edition SDK Help, and read the 3rd Q&A. The internals of the .sis file have been changed. Old devices cannot handle the new format, new devices cannot handle the old format.
    But I am not trying to combine an 2nd Ed sis with an 3rd Ed sis. Both X and Y are 3rd Ed sis files.

    They were initially developed for 2nd Ed S60 phones, and they were did like this - combined in one sis.

    Now I am porting the applications to 3rd Ed S60 phones, and I am tryng to achieve the same - both sis files combined in one, so the user has to install only one sis file.

  9. #9
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,568

    Re: problems installing two applications combined in one sis

    After you have fixed UID-s and paths, apply #2: Update Error is a failed overwrite attempt. When you are overwriting something, you "update" it. However you cannot update files installed by an other package. Note that you have 2 or 3 packages (depending on you embed y into x or embed x and y into z), and they cannot overwrite files of each other.

  10. #10
    Registered User
    Join Date
    Jul 2007
    Location
    Germany
    Posts
    48

    Re: problems installing two applications combined in one sis

    Quote Originally Posted by wizard_hu_ View Post
    After you have fixed UID-s and paths, apply #2: Update Error is a failed overwrite attempt. When you are overwriting something, you "update" it. However you cannot update files installed by an other package. Note that you have 2 or 3 packages (depending on you embed y into x or embed x and y into z), and they cannot overwrite files of each other.
    The problem was indeed at UID's and paths. I fixed this and succesfully combined the two sis in one, installable. Thank you for your help.

    Now I have a problem with the icons, but this is another story
    I try to find out where are the discussions about icon files here on the forum (if they are)

    Have a good day,
    Adriana.

  11. #11
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,335

    Smile Re: problems installing two applications combined in one sis

    Quote Originally Posted by Adriana_P View Post
    Now I have a problem with the icons, but this is another story
    I try to find out where are the discussions about icon files here on the forum (if they are)
    ...
    May be you are looking for this one: http://discussion.forum.nokia.com/fo...d.php?t=118119

    Kiran.

  12. #12
    Registered User
    Join Date
    Jul 2007
    Location
    Germany
    Posts
    48

    Re: problems installing two applications combined in one sis

    Quote Originally Posted by kiran10182 View Post
    May be you are looking for this one: http://discussion.forum.nokia.com/fo...d.php?t=118119

    Kiran.
    Yes, thanks a lot!

    Adriana.

Similar Threads

  1. Installing sis file to emulator
    By symbie in forum Symbian
    Replies: 0
    Last Post: 2003-06-13, 18:11
  2. J2ME Installing problems on 7650
    By rickyhaggett in forum Mobile Java General
    Replies: 6
    Last Post: 2003-04-29, 23:59
  3. Problems with installing the J2ME toolkit
    By lindinig in forum Mobile Java General
    Replies: 1
    Last Post: 2002-10-31, 08:19
  4. Replies: 0
    Last Post: 2002-09-27, 06:55
  5. Problems installing application in 7650
    By mirandp in forum Mobile Java General
    Replies: 0
    Last Post: 2002-09-16, 17:10

Posting Permissions

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