Pkg major & minor number - upper limit?
Hi,
I am trying to set my application version number to 2000.1, so I added the following line to my pkg file.
[code]
#{"AXXXXX v2000.1"},(0x200xxxxx),2000,1,0
[/code]
But the version number shown during the installation show 0.01? So is there some kind of upper limit on the version numbers that can be added in the pkg files? If there are, any workarounds to that?
Thanks.
Re: Pkg major & minor number - upper limit?
According to docs, the Major, Monir & build versions should all have 4 bytes space: [url]http://www.developer.nokia.com/Community/Wiki/images/b/b7/SymbianOSv9.x_SIS_File_Format_Specification.pdf?20110511040826[/url]
so there indeed should not be any limites.
Re: Pkg major & minor number - upper limit?
[QUOTE=symbianyucca;892531]According to docs, the Major, Monir & build versions should all have 4 bytes space: [url]http://www.developer.nokia.com/Community/Wiki/images/b/b7/SymbianOSv9.x_SIS_File_Format_Specification.pdf?20110511040826[/url]
so there indeed should not be any limites.[/QUOTE]
Thanks for the info. It indeed looks like for each version number there are 4 bytes. But then am I specifying the version number incorrectly?
Re: Pkg major & minor number - upper limit?
I was ignoring the makesis warnings , which mention the limits :
[code]
Warning : The valid version number ranges are : (Major: 0..127) (Minor: 0..99 ) (Build: 0..32,767).
[/code]
So even though on paper it is limitless, but these are the limits actually.
One more example of Symbian not staying true to its word (literally).
Re: Pkg major & minor number - upper limit?
It is the tool which raises those warnings. The limits come from .sis format for older EPOC/Symbian versions, and probably this part of makesis just remained unchanged. If you need high version numbers, you can try modifying the files with a binary editor, then check what the actual devices think about it. There is also a version of makesis available in the ex-open source code.
Re: Pkg major & minor number - upper limit?
[QUOTE=wizard_hu_;892994]It is the tool which raises those warnings. The limits come from .sis format for older EPOC/Symbian versions, and probably this part of makesis just remained unchanged. If you need high version numbers, you can try modifying the files with a binary editor, then check what the actual devices think about it. There is also a version of makesis available in the ex-open source code.[/QUOTE]
I wonder if we can submit such a tweaked sis for Nokia Publish!!!