symbian 4.1.5 SISVersionRange gs6ie1Ah8om888ngeatpeaebhireeo流tes6nesn8e8naets field be omitted. subsequent versions. ing the version SISVersionRange Length From Version SISVersion To Version SISVersion 4.1.5.1 Version Checking When checking a dependency we check the installed version of the package against theromVersion To che ck the rsionwe first check that the major version,of the package being ir stalled,agains RaogoRaeaae then we check the minor version in the same way.If all the components of the versions are equal ther the dependency chec passe In this way we carry out a lexicographical compare of the versions. I ne is1.then the w check passes. The 'To Version'is checked in a similar way. Examples: Major Minor Build From Version To version This will upgrade any version from 3.x.x to 4.5.x where x is any value Major Minor Build From Version 7 3 4 To version This will upgrade either .3.40r1.3.5 4.1.6 SISDate This SISField contains a date.The date is stored according to the Gregorian calendar.with the year part being stored in full,and must be a valid date. SISDate Length Year TUint16 2 bytes www.symbian.com
11 Only positive values or zero can be used to indicate a specific version. However, where applicable, the Major, Minor, or Build components of the SISVersion can be set to –1 in order to indicate any version. 4.1.5 SISVersionRange This SISField specifies a range of versions. It is used to indicate which versions can satisfy a certain dependency. If the range is only a specific version then both the ‘From Version’ and ‘To Version’ fields should be set to the same specific value. If the upgrade is applicable to any version then both the ‘From version’ and the ‘To Version’ should have the Major, Minor and Build components set to –1. The ‘To Version’ field may be omitted, meaning the version range applies to the ‘From Version’ and all subsequent versions. SISVersionRange Length From Version SISVersion To Version SISVersion 4.1.5.1 Version Checking When checking a dependency, we check the installed version of the package against the ‘From Version’ and the ‘To Version’ separately. To check the ‘From Version’ we first check that the major version, of the package being installed, against the major version of the installed version. If the installed major version is less then this dependency check fails. If the installed major version is greater than this dependency check passes. If they are equal then we check the minor version in the same way. If all the components of the versions are equal then the dependency check passes. In this way we carry out a lexicographical compare of the versions. The value of -1 in any of the major, minor or build versions is treated as a special case. If we reach a compare with a field where the ‘From Version’ is -1, then the whole of the from part of the dependency check passes. The ‘To Version’ is checked in a similar way. Examples: Major Minor Build From Version 3 -1 -1 To version 4 5 -1 This will upgrade any version from 3.x.x to 4.5.x where x is any value Major Minor Build From Version 1 3 4 To version 1 3 5 This will upgrade either 1.3.4 or 1.3.5 4.1.6 SISDate This SISField contains a date. The date is stored according to the Gregorian calendar, with the year part being stored in full, and must be a valid date. SISDate Length Year TUint16 2 bytes
symbian Month TUint8 1 byte Day TUint8 1 byte 4.1.6.1Year The year is stored as an absolute number,i.e.the year 2004 is represented by storing 2004 in this field. 4.1.6.2 Month Months are stored using 0 for January up to 11 for December 4.1.6.3Day Davs are stored beginning from one 4.1.7 SISTime This SIsField contains a time.The time must be expressed in UTC.and be a valid time SISTime Length Hours TUint8 1 byte Minutes TUint8 1byte Seconds TUint8 1 byte 4.1.8 SISDateTime This SISField contains both date and time SISFields SISDateTime Length Date SISDate Time SISTime 4.1.9 SISUid This SISField contains the UID of the SIS file. SISUid Length UID1 4 bytes 4.1.10 SISLanguage This SISField identifies a language SISLanguage Length Language TUint32 4 bytes 4.1.10.1 Language mevalue of this field corresponds to the TLanguage enumeration,but is stored as a Tint32 in the www.symbian.com
12 Month TUint8 1 byte Day TUint8 1 byte 4.1.6.1 Year The year is stored as an absolute number, i.e. the year 2004 is represented by storing 2004 in this field. 4.1.6.2 Month Months are stored using 0 for January up to 11 for December. 4.1.6.3 Day Days are stored beginning from one. 4.1.7 SISTime This SISField contains a time. The time must be expressed in UTC, and be a valid time. SISTime Length Hours TUint8 1 byte Minutes TUint8 1 byte Seconds TUint8 1 byte 4.1.8 SISDateTime This SISField contains both date and time SISFields. SISDateTime Length Date SISDate Time SISTime 4.1.9 SISUid This SISField contains the UID of the SIS file. SISUid Length UID 1 TInt32 4 bytes 4.1.10 SISLanguage This SISField identifies a language. SISLanguage Length Language TUint32 4 bytes 4.1.10.1 Language The value of this field corresponds to the TLanguage enumeration, but is stored as a TUint32 in the SIS file