×
Namespaces

Variants
Actions
(Difference between revisions)

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

From Nokia Developer Wiki
Jump to: navigation, search
croozeus (Talk | contribs)
m (removed cat)
savaj (Talk | contribs)
m
Line 24: Line 24:
 
[[Category:Code Examples]]
 
[[Category:Code Examples]]
 
[[Category:How To]]
 
[[Category:How To]]
 +
[[Category:S60 2nd Edition]]

Revision as of 10:49, 23 June 2010

{{{width}}}
#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();
100 page views in the last 30 days.
×