×

Discussion Board

Results 1 to 14 of 14

Threaded View

  1. #1
    Regular Contributor
    Join Date
    Apr 2008
    Posts
    217

    Backup and Restore Problem

    Hi Experts,

    I am testing backup and restore. I followed steps from link http://wiki.forum.nokia.com/index.ph...B_applications and link http://wiki.forum.nokia.com/index.ph...up_and_restore

    Steps I did,
    1) Installed application GUI and EXE. Run it
    2) Took a complete backup
    3) Uninstalled Application both GUI and EXE.
    4) Restored from backup
    5) Application restored and I can run GUI app perfectly fine
    >>>>6) My GUI app actually starts EXE on a menu command and I am not able to start EXE.<<<
    I checked memory card in data mode and my EXE is restored in sys/bin however when I try to start app. I get an error -1 (not found) with RApaLsSession:StartApp

    Code:
                    TThreadId app_threadid;
                    CApaCommandLine* cmdLine; 
                    cmdLine=CApaCommandLine::NewLC();
                    cmdLine->SetExecutableNameL(_L("MyExeApp.exe"));
                    cmdLine->SetCommandL( EApaCommandRun );
                    cmdLine->SetOpaqueDataL(_L8("1"));
                    RApaLsSession ls;
                    User::LeaveIfError(ls.Connect());
                    TInt err = ls.StartApp(*cmdLine,app_threadid);
                    ls.Close();
                    CleanupStack::PopAndDestroy(); // cmdLine
                    
                    TBuf<128> buf;
                    buf.AppendNum((TInt64)err);
                    CEikonEnv::InfoWinL(_L("Error in start App: "),buf);
    This code works fine without backup-restore.

    I am not able to understand why I get KErrNotFound when application is present in sys/bin of memory card? and Executable file for GUI app is also in same folder but that works fine.

    Few More Details:
    I install both GUI and EXE via single package/sis file but since these 2 apps have difference uid so I have 2 backup_registration.xml each kept in their private folder

    Please help
    Last edited by gailu; 2009-02-18 at 21:38.

Similar Threads

  1. backup and restore problem with embedded sis files
    By pncbose in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 6
    Last Post: 2009-05-21, 14:14
  2. 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
  3. 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
  4. Problem with my Inbox after restore the backup
    By golagha in forum General Messaging
    Replies: 3
    Last Post: 2007-10-17, 20:30
  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
  •  
×