Namespaces
Variants
Actions

Creating a single SIS installation file for S60 3rd edition and S60 5th edition

Jump to: navigation, search
Article Metadata

Article
Created: hamishwillee (16 Dec 2010)
Last edited: hamishwillee (20 Jul 2012)

For ease of distribution it makes more sense to package your S60 3rd edition and S60 5th edition binaries together in a single SIS file.

How do I achieve this?

This is achieved by including all the 3rd edition and 5th edition files in the one sis file and using the installer to figure out which should be installed on what phones.

Step 1 Include platform UIDs for both in pkg file

; MyApp.pkg
;
;Language - standard language definitions
&EN

; standard SIS file header
#{"MyApp"},(<APP_UID>),1,0,0

;Localised Vendor name
%{"<Localized Vendor-Name>"}

;Unique Vendor name
:"<vendor name>"

;Supports S60 v 3
[0x101F7961], 0, 0, 0, {"S60 3rd edition ProductID"}
;Supports S60 v 5
[0x1028315F], 0, 0, 0, {"S60 5th edition ProductID"}

Step 2 Use conditionals to tell the installer what it needs to install

Use conditionals to install the relevant binaries

IF EXISTS("z:\system\install\Series60v5.0.sis")
;install 5th edition binaries.
ELSE
;install 3rd edition binaries
ENDIF

Alternatively you can use conditionals to install the appropriate installation file

IF EXISTS("z:\system\install\Series60v5.0.sis")
;install 5th edition embedded sis.
ELSE
;install 3rd edition embedded sis
ENDIF
Licence icon cc-by-sa 3.0-88x31.png
© 2010 Symbian Foundation Limited. This document is licensed under the Creative Commons Attribution-Share Alike 2.0 license. See http://creativecommons.org/licenses/by-sa/2.0/legalcode for the full terms of the license.
Note that this content was originally hosted on the Symbian Foundation developer wiki.
This page was last modified on 20 July 2012, at 12:45.
101 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved