×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    Oct 2003
    Location
    Spain
    Posts
    329

    Uninstall application

    Hi there,

    Is there any way to programatically uninstall an application? I don't mean the application itself, what I mean is unistall/remove another application.

    It would be for 3rd edition and due to the security platform I think that it is almost impossible to make it silently. But anyway I wanted to ask and if it is possible it would be nice to know what capabilities are needed...

    I guess that a workaround is to launch the uninstaller, but I've been searching the forum and I don't have a clue how to do it (exactly what is the uid or name of this app and what parameters would I need to pass).

    Thanks in advance

  2. #2
    Regular Contributor
    Join Date
    Dec 2006
    Location
    pune
    Posts
    76

    Thumbs up Re: Uninstall application

    hi ajsanchez,

    first see this link.
    http://discussion.forum.nokia.com/fo...ll+application

    and one way to remove .app file and other files in folder \\system\\app\\filename
    and delete folder also . for deleteing file code below.
    TFileName fnAppPath = _L("e:\\system\\apps\\filename\\filename.app");
    RFs fsSession;
    User::LeaveIfError(fsSession.Connect());
    User::LeaveIfError(fsSession.Delete(fnAppPath));
    fsSession.Close();

  3. #3
    Regular Contributor
    Join Date
    Oct 2003
    Location
    Spain
    Posts
    329

    Re: Uninstall application

    Hi ankushbabrekar,

    Thanks for your answer, but that solution is not valid for 3rd edition as application are stored at private directories.

    Regarding that link I've already read, but what I want is not unistall my own application. Instead of that I want to uninstall another app's installed on the phone.

    Bye

  4. #4
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,345

    Smile Re: Uninstall application

    Hello ankushbabrekar,
    Quote Originally Posted by ankushbabrekar
    hi ajsanchez,

    first see this link.
    http://discussion.forum.nokia.com/fo...ll+application

    and one way to remove .app file and other files in folder \\system\\app\\filename
    and delete folder also . for deleteing file code below.
    Originator of the thread is saying about 3rd edition where target build is changed to .exe from .app.
    And as far as i know it is not possible with 3rd. You might need Manufacturer approved capabilities with good reasoning behind.

    Kiran.

  5. #5
    Regular Contributor
    Join Date
    Oct 2003
    Location
    Spain
    Posts
    329

    Re: Uninstall application

    Hi kiran,

    thanks for your response.

    I know it sounds like a virus implementation or something like that, but the point will be for a big corporation to OTA uninstall some applications from their own phones...

    Anyway, I was wondering that it was not possible.

    Regarding the other option, is it possible to launch the uninstaller and let the user choose wether to uninstall the app or not?

    Thanks in advance.

  6. #6
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,345

    Smile Re: Uninstall application

    Hello ajsanchez,

    It's an OS internal behaviour which can not be hooked. And as far as i have dealt with i couldn't find a direct way. There is no such public API to achieve this and i am not aware about any private API.
    I hope someone else may help you if he/she has experienced this issue before.

    Kiran.

Similar Threads

  1. Bringing application to foreground
    By ash_bhatia in forum Symbian User Interface
    Replies: 1
    Last Post: 2006-11-02, 13:39
  2. Replies: 3
    Last Post: 2006-11-02, 10:20
  3. Replies: 0
    Last Post: 2005-05-28, 10:20
  4. Uninstall application
    By nowis in forum Symbian
    Replies: 2
    Last Post: 2005-05-06, 15:53
  5. Replies: 0
    Last Post: 2003-02-03, 08:08

Posting Permissions

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