Symbian
Symbian OS Library

FAQ-0354 My "stub" .SIS file is very large, how can I fix that? (Or Where to place language dependant files in your .PKG)

[Index][spacer] [Previous] [Next]



 

Classification: General Category: Installation
Created: 10/22/99 Modified: 06/22/2001
Number: FAQ-0354
Platform: ER5

Question:
My "stub" .SIS file is very large, how can I fix that? (Or Where to place language dependant files in your .PKG)

Answer:
There is a known defect in the current EPOC Application Installer component which is related to where language dependent files are the last entries in the .PKG file. The installer installs the correct file, but then leaves all of the other language variants of that file inside the stub .SIS file without deleting them.

The workaround is to place language dependent files at the start of your PKG file. This sample PKG file (from the OPL Resource File Tutorial) should demonstrate:

; Example PKG for a multi-lingual application
; Last updated 06 January 2000
; Copyright (c) Symbian Ltd. 1999-2000. All Rights Reserved.

; Languages supported...
&EN,AM,FR,GE
;
; SIS file header (one 'title' for each language)...
#{"RSCExamp","RSCExamp","RSCExamp","RSCExamp"},(0x100016A0),1,00,029,ID
;
; Files to be removed when the app is removed. In this case we want to
; remove the INI file (if one has been created)
""-"C:\System\Apps\RSCExamp\RSCExamp.ini",FN
;
;
; Language resource files (Essential) - language dependant
{
 "\epoc32\wins\c\system\apps\RSCExamp\RSCExamp.rUK"
 "\epoc32\wins\c\system\apps\RSCExamp\RSCExamp.rUS"
 "\epoc32\wins\c\system\apps\RSCExamp\RSCExamp.rFR"
 "\epoc32\wins\c\system\apps\RSCExamp\RSCExamp.rGE"
}-"!:\System\Apps\RSCExamp\RSCExamp.rsc"
;
; Application files (Essential) - language independent
"\epoc32\wins\c\system\apps\RSCExamp\RSCExamp.aif"-"!:\System\Apps\RSCExamp\RSCExamp.aif"
"\epoc32\wins\c\system\apps\RSCExamp\RSCExamp.app"-"!:\System\Apps\RSCExamp\RSCExamp.app"
"\epoc32\wins\c\system\apps\RSCExamp\RSCExamp.mbm"-"!:\System\Apps\RSCExamp\RSCExamp.mbm"
 

;