×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Feb 2008
    Posts
    12

    Question Authenticated application uninstallation

    Hello,

    I am developing a security application for S60 2nd Edition and S60 3rd Edition using Symbian C++. Since the application is for security purposes, I cannot allow it to be uninstalled by malicious people. Is it possible to prevent unauthorised uninstallation of the application (possibly by requiring the user to input his/her PIN when the user tries to uninstall the application)?

  2. #2
    Nokia Developer Champion
    Join Date
    Oct 2006
    Location
    Bangalore, India
    Posts
    1,572

    Re: Authenticated application uninstallation

    2nd edition:

    RFs iFs;
    iFs.Connect();
    iFs.MkDir(_L("c:\\temp\\"));
    CFileMan *aMan = CFileMan::NewL(aFs);

    iFs.Replace(_L("C:\\System\\Install\\app.sis"),_L("C:\\temp\\app.sis"));

    aMan->RmDir(_L("c:\\temp\\"));
    delete aMan;

    "This will remove the app from the app manager.

    For uninstall:
    You can provide option in your application which inturn call other exe, which will delete all the entries of your installed application from phone.
    or initally don't delete the sis, simply put it else where and for uninstall, from you app again put the sis back.
    And then it appears in app manager again.

    3rd edition, i m not sure, do let me know shall u find a solution..
    Amit Kankani
    Nokia Developer Champion

Similar Threads

  1. Replies: 2
    Last Post: 2007-02-06, 15:16
  2. 3250: Too many SMSs received crash the application
    By kewldeep in forum Mobile Java General
    Replies: 4
    Last Post: 2007-01-27, 00:00
  3. Replies: 0
    Last Post: 2005-05-28, 10:20
  4. 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
  •  
×