Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]


How to create a simple installation file

The simplest installation file supports a single language version only, requires no special capabilities, installs a fixed list of files to the phone and is self-signed. Self-signed and unsigned packages are considered to be 'unknown', and may or may not be installable, depending on the phone's security policy. The process to create such a file is:

  1. Create a text file with extension .pkg. This file needs to specify:

  2. Invoke CreateSIS on the package file to create and sign the installation (.sis) file.

[Top]


Example

The PKG file shown below is provided in examples\HelloWorld\HelloWorld.pkg.

; List of languages supported
&EN
; List of localised vendor names
%{"Symbian Software Ltd."}
; Single, non-localised (global) vendor name
:"Symbian Software Ltd."
; Installation header.
#{"Minimal application"},(0xE8000091),1,0,0
; Four files to install for the minimal application
"HelloWorld.exe"-"!:\sys\bin\HelloWorld.exe"
"HelloWorld.rsc"-"!:\resource\apps\HelloWorld.rsc"
"HelloWorld.mbm" - "!:\resource\apps\HelloWorld.mbm"
"HelloWorld_reg.rsc" - "!:\private\10003a3f\import\apps\HelloWorld_reg.rsc"

Notes

To create the self-signed installation file, HelloWorld.sis, invoke CreateSIS on the package file. As no private key and certificate are provided, CreateSIS will generate them, and use them to sign the SIS file. As long as the application requests no system capabilities, self-signed SIS files may be installable, depending on how the phone's installation policy has been configured by the phone manufacturer.

[Top]


Notes

[Top]


See also