This page was last modified 18:54, 24 June 2008.
SW Installer Launcher API
From Forum Nokia Wiki
| Note! |
|---|
|
API Purpose
RSWInstLauncher is the client side handle to access SW Installer UI services.. It handles the installation of SISX packages, and Java MIDlets. During normal installation, various notes are displayed to the user. Through these notes, the user can control the process: continue the installation or cancel it, browse the detail information of the application etc. RSWInstSilentLauncher can be used to silently install the SISX without user intervention. We can control by giving options as parameter to RSWInstSilentLauncher SilentInstall.
Use cases
One of the use case can be to download SISX from a server and then to silently install it. It has been checked in 5500.
Example code
Headers: #include <SWInstApi.h> #include <SWInstDefs.h> SwiUI::RSWInstSilentLauncher iLauncher; SwiUI::TInstallOptions iOptions; SwiUI::TInstallOptionsPckg iOptionsPckg; iOptions.iUpgrade = SwiUI::EPolicyNotAllowed; iOptions.iOCSP = SwiUI::EPolicyNotAllowed; iOptions.iDrive = 'C'; iOptions.iUntrusted = SwiUI::EPolicyNotAllowed; iOptions.iCapabilities = SwiUI::EPolicyNotAllowed; iOptionsPckg = iOptions; iLauncher.Connect(); TBufC<50> FName(KTempPath); iLauncher.SilentInstall(waiter->iStatus,FName,iOptionsPckg); iLauncher.Close();
Example project
Example application to install Silently: Image:SilentInst.zip
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [NDS] Can't install under Gentoo | claquos | Mobile Java Tools & SDKs | 8 | 2003-11-12 22:32 |
| nokia application installer | tsouby | Mobile Java Tools & SDKs | 1 | 2002-11-01 09:26 |
| 请哪位好心人告诉我几个 Navigation key 的keyCode的宏定义 | daijuntang | Symbian | 9 | 2006-03-30 08:36 |
| Application Installer: File Size Limit | tp4f | PC Suite API and PC Connectivity SDK | 3 | 2007-06-19 00:46 |
| How to auto start a program in S60 3rd Edition? | classicsong | General Symbian C++ | 34 | 2008-04-12 14:10 |
