Using silent installer to avoid multiple dialog prompts on Symbian

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Code ExampleTested with
Devices(s): Tested in Nokia N79,
Nokia 5800 XpressMusic
Platform(s): S60 3rd Edition
S60 5th Edition
S60 5th Edition
S60 3rd Edition (initial release)
Keywords: SwiUI::RSWInstSilentLauncher
Created: User:Kbwiki (10 Mar 2010)
Last edited: hamishwillee (01 Aug 2012)



If an installation package contains other SIS files as embedded packages, then an installation query dialog is displayed for each. As a result, the user has to confirm several dialogs even though all components are part of a single application.


A workaround for this problem can be implemented using RSWInstSilentLauncher from the SW Installer Launcher API. Instead of embedding each dependendy SIS file into the main package, they are simply copied into a temporary folder during the initial installation. A separate installer application is then launched automatically using FILERUN, RUNINSTALL pkg file options; it will wait for the installer to finish, then start the installation of the additional SIS packages copied to the temporary folder using the SW Installer Launcher API. The installation is done silently, with no query dialogs displayed to the user.

Note.pngNote: :SW Installer Launcher API is not part of the public SDK. It can be found in the SDK API Plug-in.


The following example project demonstrates how to implement a small Symbian application that can be used for silently installing additional SIS packages during normal application deployment. Installation is done silently, with no confirmation dialogs displayed to the user. Instead, the installer displays a series of splash screens while the installation is in progress.




  • The above example installer supports S60 5th Edition devices, as nHD portrait (360*640) resolution is used for the full-screen splash images. However, there are no other restrictions for supporting S60 3rd Edition devices as well.
  • As the installing location (phone memory or memory card) cannot be selected by the user during silent install, it must be either hard-coded or selected automatically by the installing application. The target drive should be checked for sufficient free space - otherwise, a (silent) installation failure may falsely appear successful to the user because an Install complete dialog is displayed as part of the main SIS package installation process.
  • Using FILERUN, RUNINSTALL options in the pkg file requires the SIS file to be signed against a trusted certificate.
This page was last modified on 1 August 2012, at 07:41.
82 page views in the last 30 days.