×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Sep 2009
    Posts
    53

    Uninstall Problem

    Hi,

    When I try to uninstall an application, I couldn't uninstall and I got an error. Her is my code
    Code:
    	 SwiUI::RSWInstSilentLauncher inst; 
    	 inst.Connect(); 
    	     SwiUI::TUninstallOptions options; 
    	        SwiUI::TUninstallOptionsPckg optionsPckg; 
    	       options.iKillApp = SwiUI::EPolicyNotAllowed; 
    	        options.iBreakDependency = SwiUI::EPolicyNotAllowed; 
                    optionsPckg = options; 
    	      int resp =   inst.SilentUninstall( TUid::Uid(0x2002FB99), 
    	                                           optionsPckg, 
           SwiUI::KSisMimeType ); 
    
    inst.Close();
    resp returns "-1".
    I guess -1 means file not found but I am sure there is a application with 0x2002FB99 UID. Do you have any idea what can I do?

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: Uninstall Problem

    have you read this older thread already: http://discussion.forum.nokia.com/fo...4498-swinstapi

  3. #3
    Regular Contributor
    Join Date
    Sep 2009
    Posts
    53

    Re: Uninstall Problem

    Quote Originally Posted by symbianyucca View Post
    have you read this older thread already: http://discussion.forum.nokia.com/fo...4498-swinstapi
    I read it. I added TrustedUI capability and I used pkg uid but still I got error.

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,567

    Re: Uninstall Problem

    I would believe to that -1. Note that the UID and the PkgUID can be different.

Similar Threads

  1. Uninstall problem
    By NightStalkerDNS in forum Mobile Java General
    Replies: 1
    Last Post: 2010-01-16, 08:31
  2. Uninstall problem
    By yumariso in forum Mobile Java General
    Replies: 2
    Last Post: 2007-11-15, 11:17
  3. Uninstall extra SIS files at uninstall time
    By rob_savageminds in forum Symbian Tools & SDKs
    Replies: 5
    Last Post: 2007-11-01, 22:47
  4. Uninstall problem
    By westweb in forum Symbian C++
    Replies: 1
    Last Post: 2007-07-12, 12:28
  5. Uninstall Problem
    By SymVian in forum Symbian C++
    Replies: 1
    Last Post: 2006-01-20, 11: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
  •