+ Reply to Thread
Results 1 to 2 of 2

Thread: Revision versus Build

  1. #1
    Join Date
    May 2007
    Location
    Bangkok, Thailand
    Posts
    22

    Lightbulb Revision versus Build

    Back on July 11, 2011 there was a thread about the functionality of extracting the Revision and Build numbers from a full version string (FUNCTION:Retrieve Build Version Number). At least according to what I have been able to find, I think you got it backwards. Most of the sources I have found define it as:

    1st set of digits = Major Version
    2nd set of digits = Minor Version
    3rd set of digits = Release or revision number
    4th set of digits = Build number

    I wish that the above definition was, uh, definitive. Unfortunately it is not. Even within Microsoft some times the 3rd and 4th sets of digits are one way and, in another product, it is reversed (.NET has it reversed from my list above). SetupBuilder does it like .NET and reverses the 3rd and 4th sets of digits from my list.

    I don't suggest you make any changes to SetupBuilder but you might want to address it in the online help and the manual. I had it backwards from what SetupBuilder does it and it eventually came back to bite me.

    Peter
    There are 10 kinds of people: those who understand binary and those who don't.

  2. #2
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Revision versus Build

    Hi Peter,

    IIRC, in 2001/2002 Microsoft "officially" switched to the four-part major.minor.build.revision version numbering model. That is what SetupBuilder supports. The file version is stored in two 32-bit integers.

    The most common software versioning scheme (major.minor.revision.build) differs from the official "standard" Microsoft version number scheme (major.minor.build.revision). In Windows, you have to use the Microsoft version number scheme. Otherwise, you might run into a situation where you replace a new file with an older one.

    And for the Microsoft Certification exam, the correct answer to "The correct format for version is major.minor.revision.build" is FALSE <g>

    BTW, here is an interesting link:

    http://www.unthinkability.com/softwa...-at-microsoft/

    I'll add this information to the documentation. Thank you for your suggestion!!!

    Friedrich
    Attached Images Attached Images    

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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