×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jan 2011
    Posts
    2

    smart installer fails with "unable to delete file"

    Hello,

    smart installer do all the steps successfully until installing the application itself it gives me " unable to delete file error"

  2. #2
    Super Contributor
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: smart installer fails with "unable to delete file"

    You might want to tell folks what sort of device you were installing on, what was previously loaded on the device, etc.

  3. #3
    Registered User
    Join Date
    Jan 2011
    Posts
    2

    Re: smart installer fails with "unable to delete file"

    thanks , the problem is solved

  4. #4
    Registered User
    Join Date
    Apr 2011
    Posts
    17

    Re: smart installer fails with "unable to delete file"

    Hi,

    Great to know that you solved your problem. Would have been awesome if you could have posted your solution.

    I am facing a similar problemn. I have developed an application which has an auto update feature. The way it works is that the App queries the server to check if there is an update available. If there is an update available it pulls and saves the .sis file in Phone memory, after that it launches the installer and exits the application.

    Below is code for the same. However the application is unable to install, it failes to install saying "Unable to delete file". Not sure what is going wrong. If I install the update from outside the application it works just fine.

    Really hoping to get some help from the experts.

    RApaLsSession lsSession;
    User::LeaveIfError(lsSession.Connect());
    //CleanupClosePushL(lsSession);
    TThreadId threadId;



    if(BaflUtils::FileExists(CEikonEnv::Static()->FsSession(), UPDATE))
    {
    User::LeaveIfError(rFile.Open(CEikonEnv::Static()->FsSession(), UPDATE, EFileRead));
    lsSession.StartDocument(rFile, threadId, NULL);

    iSelf->iAppUi.CloseApplication();

    Regards,
    Garfy

Similar Threads

  1. Replies: 8
    Last Post: 2009-11-06, 21:42
  2. Replies: 0
    Last Post: 2008-02-14, 10:27
  3. "Unable to delete file mmatemp_-1759301385" appear when stoping recording audio.
    By williampresent in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2005-07-29, 06:09

Posting Permissions

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