×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    50

    Question backup and restore problem with embedded sis files

    Hi,
    I am facing issue with backup/restore of my application. pkg file includes embedded sis files declared as
    @"pips_nokia_1_3_SS.sis", (0x20013851)
    @"ssl.SIS", (0x200110CB)

    1. Application is successfully installed and running.
    2. Taken a backup on E71 using PC suite - successful
    3. Removed my application from the phone - successful
    4. Restored to the last back up using PC suite - successful
    Problem --> All the application files are restored except the binaries related to above embedded sis files. (If i install the embedded sis files explicitly now, application works)

    could anyone help me what i need to do in this case. is this a known problem or a solution exists?

    regards
    Naveen

  2. #2
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: backup and restore problem with embedded sis files

    I will ask for this problem to be fixed.

    Meanwhile, here's a workaround
    Code:
    ; MyAppUpgrade1.pkg
    ;
    ;Language - standard language definitions
    &EN
    
    ; standard SIS file header,PU indicating a package upgrade
    #{"MyAppUpgrade1"},(<APP_UID>),1,0,1,TYPE=PU
    
    ;Localised Vendor name
    %{"<Localized Vendor-Name>"}
    
    ;Unique Vendor name
    :"<vendor name>"
    
    ;Supports Series 60 v 3.< X >
    [PLATOFORM_ID], 0, 0, 0, {"S60ProductID"}
    
    ;Files to install
    
    ;The DLL which is embedded in this package along with its UID
    @"<DLL1 SISx path>\DLL1.SISx",(<DLL1_UID>) 
    
    ;exporting the backup file to the predefined path of Backup Restore manager
    "<DLL1 Backup Registration File path>\DLL1BinaryBackup.xml" -"!:\private\10202D56\import\packages\<DLL1_UID>\backup_registration.xml"
    More details about the idea you can find from the Technical Solution TSS001073 - Backup of add-on DLLs and from SDK's backup and restore related documentation.
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  3. #3
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    50

    Question Re: backup and restore problem with embedded sis files

    ltomuta, Thanks for the workaround.
    But it is working in parts and not solving the complete problem.

    i have tried with
    "backup_registration_pips.xml" -"!:\private\10202D56\import\packages\20009A80\backup_registration.xml"
    "backup_registration_ssl.xml" -"!:\private\10202D56\import\packages\200110CB\backup_registration.xml"
    NOTE: I am not using a PU type

    Problems i am facing are:
    1. only part of these sis files are being backed up.
    when we install PIPS sisx file you can see 2 components in "App.Mg" - "Symbian OS PIPS" and "Symbian OS Pipes". and for ssl.sisx - "LibSSL" and "LibSSL Common". When i backup, remove the application and restore the phone, i am only seeing "Symbian OS PIPS" and "LibSSL Common" and other two are missing and my application is breaking.
    2. When i try to re-install after the restore, i am getting "Update Error".

    Please help me.

  4. #4
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: backup and restore problem with embedded sis files

    It sounds to me like the SIS files themselves have embedded sis files which in turn are not-backed up and you have to take care of them too.

    Code:
    "backup_registration_pips.xml" -"!:\private\10202D56\import\packages\20013851\backup_registration.xml"
    "backup_registration_pips_embedded.xml" -"!:\private\10202D56\import\packages\20009A80\backup_registration.xml"
    "backup_registration_ssl.xml" -"!:\private\10202D56\import\packages\200110CB\backup_registration.xml"
    "backup_registration_ssl_embedded.xml" -"!:\private\10202D56\import\packages\10281f34\backup_registration.xml"
    Last edited by ltomuta; 2008-11-19 at 10:08. Reason: Added PKG script sugestion
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  5. #5
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    50

    Re: backup and restore problem with embedded sis files

    Tried the suggestion. but didnot work out completely.
    SSL problem is solved but Symbian OS PIPES still not found after restore.

    actually my pkg is like this now:
    @"pips_s60_1_2_SS.sis", (0x20009A80)
    @"ssl.SIS", (0x200110CB)

    ;required for pips dlls to be covered by backup/restore facility
    "backup_registration_pips.xml" -"!:\private\10202D56\import\packages\20009A80\backup_registration.xml"
    "backup_registration_ssl.xml" -"!:\private\10202D56\import\packages\10275065\backup_registration.xml"
    "backup_registration_ssl_embedded.xml" -"!:\private\10202D56\import\packages\10281f34\backup_registration.xml"

    - naveen

  6. #6
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: backup and restore problem with embedded sis files

    I do not have the OpenC 1.2 plug-in, the one available on the web site is 1.3 and there should be no reason for you not to use it.

    According to this the applications should be deployed with the registration files suggested by me above while the sis files to be embedded are:

    Code:
    @"pips_nokia_1_3_SS.sis",(0x20013851)
    @"ssl.sis",(0x200110cb)
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  7. #7
    Registered User
    Join Date
    Aug 2006
    Location
    Tallinn, Estonia
    Posts
    37

    Re: backup and restore problem with embedded sis files

    I'm disappointed, to say the least.
    If you are using OpenC 1.3 and want to make universal package for S60 3.* and S60 5.0, there are still several problems:

    1) OpenC is already pre-installed on S60 3rd FP2 and later.
    While it says PIPS 1.3 is made universal (it should install embedded package with the library on 3.0-3.1 and skip it in 3.2+), it is NOT so. It fails to install on 3.2 and 5.0 phones.
    2) PIPS 1.3 has 3 packages: PIPS installer, which includes PIPS, which, in turn, includes pipes. They all have to be backed up.
    3) To make our life even more complicated, PIPS cannot be installed to drive other than C:. PIPS is installed to C: explicitly - that's fine, but embedded pipes is installed to same drive as your application (it has !:\... as a destination). So if you install OpenC application to memory card, and then remove the card, it makes all other OpenC application broken, since PIPS requires PIPES (which was on memory card)

    So the workaround is:
    1) install pips only on 3.2+ devices;
    2) backup all 3 pip(e)s packages;
    3) to install your application to C: explicitly. (C:\ instead of !:\)
    Code:
    if exists("z:\system\install\Series60v3.2.sis")
    ; PIPS preinstalled and fails to install.
    elseif exists("z:\system\install\Series60v5.0.sis")
    ; PIPS preinstalled and fails to install.
    ELSE
    ; 3.0/3.1 need OpenC
    @"$(EPOCROOT)nokia_plugin\openc\s60opencsis\pips_nokia_1_3_SS.sis", (0x20013851)
    ;backup pips installer
    "backup_registration_pips.xml" -"C:\private\10202D56\import\packages\20013851\backup_registration.xml"
    ;backup embedded pips
    "backup_registration_pips_embedded.xml" -"C:\private\10202D56\import\packages\20009A80\backup_registration.xml"
    ;backup embedded pipes (YES! that's 4th level "in deep sis")
    "backup_registration_pipes_embedded.xml" -"C:\private\10202D56\import\packages\20009a7e\backup_registration.xml"
    ENDIF
    Last edited by metalim; 2009-05-21 at 14:26. Reason: more
    Have fun: Win+M, Ctrl+A, Enter.

Similar Threads

  1. Urgent: Backup & Restore problem with Symbian Signing
    By gepida in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 2
    Last Post: 2008-05-29, 13:22
  2. N73 backup problem; how to restore to device from backup file
    By dandekar.abhay in forum General Development Questions
    Replies: 4
    Last Post: 2008-04-30, 16:31
  3. Problem with my Inbox after restore the backup
    By golagha in forum General Messaging
    Replies: 3
    Last Post: 2007-10-17, 20:30
  4. Problem supporting backup / restore on 3rd edition
    By thedawn1977 in forum Symbian
    Replies: 3
    Last Post: 2006-06-28, 16:19
  5. Backup Restore Problem
    By nad123 in forum OMA DM/DS/CP
    Replies: 0
    Last Post: 2005-03-05, 14:41

Posting Permissions

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