none
Windows Installer: Can I use five numbers for Product Version? RRS feed

  • Question

  • Is it possible to use five numbers for Product Version?

    I use first two numbers to indicate major version, and use third number for service pack/update, and then fourth one for assembly build number. Now in addition to these numbers, I'd like to add another number to indicate setup build number like 8.1.0.123.0

     

    I can build the setup with such version number using InstallShield but I want to make sure that version number in this format would not affect any functionality of InstallShield or Windows Installer such as update, and patch.

    Friday, January 4, 2008 6:54 PM

All replies

  • I have never seen a package with a 5 field-version and I do not really know if they work or not. However, the important point to note is that for upgrades, Windows Installer recognizes only the first three fields anyway:

     

    Note that Windows Installer uses only the first three fields of the product version. If you include a fourth field in your product version, the installer ignores the fourth field.

    (From http://msdn2.microsoft.com/en-us/library/aa372379(VS.85).aspx)

     

    So as Windows Installer ignores field 4 (and 5), these fields are of informative value only. I would thus suggest to restrict yourself to 3 or 4 fields and put any additional, informative versioning information into a separate property.

     

    --Johannes

     

    --

    http://int3.de

    Sunday, January 6, 2008 7:06 PM