×
Namespaces

Variants
Actions

Archived:How to uninstall an application programmatically in S60 2nd edition

From Nokia Developer Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

Article Metadata
CompatibilityArticle
Created: User:Kanu123 (29 Jun 2007)
Last edited: hamishwillee (21 Jun 2012)
#include <apacmdln.h>
#include <eikdll.h>
#include <instapp.h>
 
CApaCommandLine* cmdLine;
 
cmdLine=CApaCommandLine::NewLC();
cmdLine->SetLibraryNameL(_L("z:\\system\\apps\\install\\xyz.app"));
 
cmdLine->SetDocumentNameL(_L("c:\\system\\install\\xyzApp.sis"));
 
cmdLine->SetCommandL(EApaCommandRun);
 
cmdLine->SetTailEndL(KUninstallCommandLineTail);
 
EikDll::StartAppL(*cmdLine);
 
CleanupStack::PopAndDestroy();
This page was last modified on 21 June 2012, at 09:02.
114 page views in the last 30 days.
×