×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Super Contributor
    Join Date
    Jun 2004
    Location
    SymbianLand
    Posts
    763

    Question 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
    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.

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: Pkg major & minor number - upper limit?

    According to docs, the Major, Monir & build versions should all have 4 bytes space: http://www.developer.nokia.com/Commu...20110511040826

    so there indeed should not be any limites.

  3. #3
    Super Contributor
    Join Date
    Jun 2004
    Location
    SymbianLand
    Posts
    763

    Re: Pkg major & minor number - upper limit?

    Quote Originally Posted by symbianyucca View Post
    According to docs, the Major, Monir & build versions should all have 4 bytes space: http://www.developer.nokia.com/Commu...20110511040826

    so there indeed should not be any limites.
    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?

  4. #4
    Super Contributor
    Join Date
    Jun 2004
    Location
    SymbianLand
    Posts
    763

    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).
    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).

  5. #5
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,684

    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.

  6. #6
    Super Contributor
    Join Date
    Jun 2004
    Location
    SymbianLand
    Posts
    763

    Re: Pkg major & minor number - upper limit?

    Quote Originally Posted by wizard_hu_ View Post
    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.
    I wonder if we can submit such a tweaked sis for Nokia Publish!!!

Similar Threads

  1. Limit on the number of application downloads
    By beginner@nokia in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 1
    Last Post: 2011-01-25, 09:06
  2. CAknTextQueryDialog Number limit
    By sruthimp in forum Symbian User Interface
    Replies: 1
    Last Post: 2007-06-15, 12:45
  3. Can carbide set major, minor and build vesion?
    By imzadi_il in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 6
    Last Post: 2006-09-30, 01:15
  4. Limit on number of active object
    By anilgeorge in forum Symbian
    Replies: 1
    Last Post: 2004-02-27, 07:21
  5. Why is there a midlet upper size limit?
    By gwhistance in forum Mobile Java General
    Replies: 4
    Last Post: 2002-10-25, 21:04

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×