Reply to Thread

Post a reply to the thread: Revision versus Build

Your Message

Click here to log in

What's the name of our main installation product (in uppercase letters), directly followed by the current year?

 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 02-07-2015, 04:30 AM
    linder

    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
  • 02-06-2015, 03:16 PM
    Peter Gysegem

    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

Posting Permissions

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