×
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
Kanu123 (Talk | contribs)
(New page: <code> #include <apacmdln.h> #include <eikdll.h> #include <install.h> </code> <code cpp> CApaCommandLine* cmdLine; cmdLine=CApaCommandLine::NewLC(); cmdLine->SetLibraryNameL(_L("z:\\syst...)
 
jaaura (Talk | contribs)
m
Line 25: Line 25:
 
[[Category:Code Examples]]
 
[[Category:Code Examples]]
 
[[Category:How To]]
 
[[Category:How To]]
 +
[[Category:Deployment/Installation]]

Revision as of 10:29, 12 December 2007

#include <apacmdln.h>
#include <eikdll.h>
#include <install.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();
58 page views in the last 30 days.