×

Discussion Board

Results 1 to 10 of 10
  1. #1
    Regular Contributor
    Join Date
    Feb 2008
    Posts
    269

    Enter password before unistalling

    Hi all,

    Is there any way that my application will ask for a password if anyone try to uninstall it? Before uninstalling the application should ask for a password. For this i think we have to keep track of the installation wizard and whenever it try to uninstall my application just then my application should lock the phone and ask for the password. If the password is correct then it will start uninstalling otherwise it will cancel uninstalling. It just came to mind. Is it possible to do? If then please tell me how to proceed.

    Regards,
    Santu

  2. #2
    Super Contributor
    Join Date
    Oct 2007
    Location
    Deva, Romania
    Posts
    3,471

    Re: Enter password before unistalling

    Search this section of the forum with the words "password uninstall" and you'll find quite a few threads discussing this.

  3. #3
    Regular Contributor
    Join Date
    Feb 2008
    Posts
    269

    Re: Enter password before unistalling

    Hi, i didn't find any post regarding this. Can you please give me any idea here in this post.

    Regards,
    Santu

  4. #4
    Super Contributor
    Join Date
    Oct 2007
    Location
    Deva, Romania
    Posts
    3,471

    Re: Enter password before unistalling

    Well, in this thread, I found this suggestion (the same thread doesn't really say whether it works or not):

    1)Have an exe which runs on uninstall (RR)

    2)Let this exe query the user for password

    3) If the user is authentic then exit , otherwise perform the following actions

    Code:
    const TUid KInstallerUidin3rdEd = {0x101f875a};
    TApaTaskList taskList(iWsSession);
    TApaTask aTask = taskList.FindApp(KInstallerUidin3rdEd);
    if(aTask.Exists())
    {
    // console->Printf(_L("Installer running"));
    aTask.EndTask();
    }
    Quote Originally Posted by santu.paul@gmail.com View Post
    i didn't find any post regarding this.
    Strange... I found 6 threads Here are my search results:
    http://discussion.forum.nokia.com/fo...rchid=19246173
    Last edited by bogdan.galiceanu; 2008-11-19 at 05:10. Reason: Typo

  5. #5
    Super Contributor
    Join Date
    Jun 2008
    Posts
    593

    Smile Re: Enter password before unistalling


  6. #6
    Regular Contributor
    Join Date
    Feb 2008
    Posts
    269

    Re: Enter password before unistalling

    Hi Shah,

    I am trying for S60 2nd edition. So will it works for 2nd edition? Because RR option in the pkg fie giving error.

    "C:\Symbian\9.1\S60_3rd_MR\Epoc32\release\gcce\urel\killmyexe.exe"-"!:\sys\bin\killmyexe.exe",RR

    Regards,
    Santu

  7. #7
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,750

    Re: Enter password before unistalling

    RR can not exist alone, it is a "sub-option" of FR, that is why.

  8. #8
    Regular Contributor
    Join Date
    Feb 2008
    Posts
    269

    Re: Enter password before unistalling

    Hi, i want to know what does this FR and RR means. I couldn't find any topic on this in the SDK.

    Regards,
    Santu

  9. #9
    Super Contributor
    Join Date
    Jul 2007
    Location
    ShenZhen, China
    Posts
    4,346

    Re: Enter password before unistalling

    FR, FileRun
    RR, RunRemove
    ----------------------------
    坚持学习, 坚持编码
    http://www.devdiv.net/
    qxiaoyuan

  10. #10
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,750

    Re: Enter password before unistalling

    In fact since these are not English words, thus searching for either FR or RR in the SDK Help results in a very few hits. You may still want to check that page ("Installing language independent files"), if you have not seen it before.

Similar Threads

  1. Providing continuous network stream
    By directx in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2008-04-07, 18:41
  2. Audio Input Stream on N80
    By tkaihock in forum Symbian Media (Closed)
    Replies: 9
    Last Post: 2006-06-30, 09:15
  3. Problem in setting Password
    By SachinKumar in forum Symbian
    Replies: 0
    Last Post: 2005-06-21, 14:38
  4. TextBox to enter numeric password Ser 40
    By andretr in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2004-06-14, 20:58
  5. Settings Listbox - Problem with Password item
    By ashbhatia in forum Symbian
    Replies: 1
    Last Post: 2002-12-11, 10:14

Posting Permissions

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