Using silent installer to avoid multiple dialog prompts on Symbian
Nokia 5800 XpressMusic
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.
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.