×
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
hamishwillee (Talk | contribs)
m (Hamishwillee - Bot update - Fix reviewer approved and ArticleMetaData)
debjit.roy (Talk | contribs)
(Debjit.roy -)
Line 1: Line 1:
 +
[[Category:Debugging]][[Category:Symbian C++]][[Category:Code Snippet]][[Category:How To]][[Category:S60 2nd Edition]]
 
{{ArticleMetaData <!-- v1.1 -->
 
{{ArticleMetaData <!-- v1.1 -->
 
|sourcecode= <!-- Link to example source code e.g. [[Media:The Code Example ZIP.zip]] -->
 
|sourcecode= <!-- Link to example source code e.g. [[Media:The Code Example ZIP.zip]] -->
Line 22: Line 23:
 
|author= [[User:Kanu123]]
 
|author= [[User:Kanu123]]
 
}}
 
}}
[[Category:Debugging]]
+
{{Archived|timestamp=20120313092113|user=roy.debjit| }}
 +
 
 
<code cpp>
 
<code cpp>
 
#include <apacmdln.h>
 
#include <apacmdln.h>
Line 43: Line 45:
 
CleanupStack::PopAndDestroy();
 
CleanupStack::PopAndDestroy();
 
</code>
 
</code>
 
[[Category:Symbian C++]]
 
[[Category:Code Snippet]]
 
[[Category:How To]]
 
[[Category:S60 2nd Edition]]
 

Revision as of 12:21, 13 March 2012

Article Metadata
CompatibilityArticle
Created: User:Kanu123 (29 Jun 2007)
Last edited: debjit.roy (13 Mar 2012)

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}}.

#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();
84 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.

×