Defining New Directives

Listing 1. The sample PKG file defines the two new directives for the S60 3rd Edition platform.

; "&" specifies the languages - 
  as previously supported
&EN,FR

; standard SIS file header
#{"HelloWorld"},(0xA000017F),1,0,0

; "%" specifies localized vendor names.
; List of localized vendor names - one per language. 
  At least one must be provided (English EN). 
; List must correspond to list of languages specified 
  elsewhere in the .pkg
%{"Forum Nokia-EN", "Forum Nokia-FR"}

; ":" specifies a non-localized (global) vendor name. 
  This is used, in combination with signing to
; prevent the unauthorized upgrade of a package by 
  someone other than the rightful vendor.
:"Forum Nokia"

;Supports Series 60 v 3.0
[0x101F7961], 0, 0, 0, {"Series60ProductID"}

; New requirement by backup/restore facility 
"backup_registration.xml"-
  "!:\private\0xA000017F\backup_registration.xml"