×
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
jaaura (Talk | contribs)
m
Narendrachinni (Talk | contribs)
Line 4: Line 4:
 
#include <install.h>
 
#include <install.h>
 
</code>
 
</code>
 
+
{{ReviewerApproved}}
 
<code cpp>
 
<code cpp>
 
CApaCommandLine* cmdLine;
 
CApaCommandLine* cmdLine;

Revision as of 11:16, 7 September 2009

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