×
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
savaj (Talk | contribs)
(Corrected typo)
croozeus (Talk | contribs)
m
Line 1: Line 1:
<code>
+
{{ReviewerApproved}}
 +
<code cpp>
 
#include <apacmdln.h>
 
#include <apacmdln.h>
 
#include <eikdll.h>
 
#include <eikdll.h>
 
#include <instapp.h>
 
#include <instapp.h>
</code>
+
 
{{ReviewerApproved}}
+
<code cpp>
+
 
CApaCommandLine* cmdLine;
 
CApaCommandLine* cmdLine;
  

Revision as of 20:16, 22 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();
86 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×