×
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)
hamishwillee (Talk | contribs)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{ArticleMetaData <!-- v1.1 -->
+
{{Archived|timestamp=20120313092113|user=roy.debjit| }}
 +
[[Category:Debugging]][[Category:Symbian C++]][[Category:Code Snippet]][[Category:How To]][[Category:S60 2nd Edition (initial release)]]
 +
{{ArticleMetaData <!-- v1.2 -->
 
|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]] -->
 
|installfile= <!-- Link to installation file (e.g. [[Media:The Installation File.sis]]) -->
 
|installfile= <!-- Link to installation file (e.g. [[Media:The Installation File.sis]]) -->
Line 10: Line 12:
 
|capabilities= <!-- Capabilities required by the article/code example (e.g. Location, NetworkServices. -->
 
|capabilities= <!-- Capabilities required by the article/code example (e.g. Location, NetworkServices. -->
 
|keywords= <!-- APIs, classes and methods (e.g. QSystemScreenSaver, QList, CBase -->
 
|keywords= <!-- APIs, classes and methods (e.g. QSystemScreenSaver, QList, CBase -->
|id= <!-- Article Id (Knowledge base articles only) -->
 
 
|language= <!-- Language category code for non-English topics - e.g. Lang-Chinese -->
 
|language= <!-- Language category code for non-English topics - e.g. Lang-Chinese -->
 
|translated-by= <!-- [[User:XXXX]] -->
 
|translated-by= <!-- [[User:XXXX]] -->
Line 22: Line 23:
 
|author= [[User:Kanu123]]
 
|author= [[User:Kanu123]]
 
}}
 
}}
[[Category:Debugging]]
+
 
 
<code cpp>
 
<code cpp>
 
#include <apacmdln.h>
 
#include <apacmdln.h>
Line 43: Line 44:
 
CleanupStack::PopAndDestroy();
 
CleanupStack::PopAndDestroy();
 
</code>
 
</code>
 
[[Category:Symbian C++]]
 
[[Category:Code Snippet]]
 
[[Category:How To]]
 
[[Category:S60 2nd Edition]]
 

Latest revision as of 09:02, 21 June 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}}.

Article Metadata
CompatibilityArticle
Created: User:Kanu123 (29 Jun 2007)
Last edited: hamishwillee (21 Jun 2012)
#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();
This page was last modified on 21 June 2012, at 09:02.
81 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.

×