How to create a Symbian .sis file

12/07/06 Permalink

From the help Carbide help section

Firstly make a .pkg from an exe:



;Localised Vendor name
%{"Company Test EN","Company Test FR"}

;Unique Vendor name

;Files to install
;where's the app "-" where to install the app on device
;can be .app instead of .exe

Using makesis

You can use the makesis tool to generate the .sis file. makesis.exe can be found in \epoc32\tools and its usage is as described below:

Usage : MakeSIS [-h] [-i] [-s] [-v] [-d directory] pkgfile [sisfile]

-h: shows help page
-i: shows Open SSL licence
-s: creates a stub file
-v: verbose output to screen
-d: specify a directory path to search
pkgfile: name of the PKG file
sisfile: if not specified, will be derived from the name of the PKG file, but with a SIS file extension

Note that the .sis file format has changed in Symbian OS 9.1:

It now supports multiple (nested) signings and additional file metadata such as platform security (PlatSec) capabilities.

It is now based on a Type, Length and Value (TLV) structure, which allows future flexibility.

Much of the data required to analyze an installed application is now at the start of the file rather than the end: this facilitates installing over the network without the whole file being present.

How to Create a .sis File

You can run makesis as described below to generate a .sis file

To generate MyTestApp.sis, enter the following command:

makesis MyTestApp.pkg

The verbose option is: makesis -v MyTestApp.pkg

To generate MyTestAppTest.sis from MyTestApp.pkg, enter the following command:

makesis -v MyTestApp.pkg MyTestAppTest.sis

The next step is to sign your .sis file. Note that you do not need to sign your .sis file with a developer certificate if your application does not require any capabilities or the needed capabilities are open to all - in this case it can be signed with a self-created certificate. The following section explains how to sign your .sis file.


Share It: Digg | | Furl | reddit | Facebook | Yahoo! | Send to Phone | Feedback