bruce
Posts: 15
Joined: Tue Aug 09, 2005 2:55 am
Location: Perth, Western Australia
Contact: Website

Version numbering

Situation:

I am taking over development of a Java application. I would like to use Advanced Installer for this product.

The software version numbering at this company is of the form A.B.X, where A and B are numbers and X is a letter of the alphabet. MSI installers seem to use all numbers. Is this correct?

My first thought was to put the application version directly into the Product Name string, and not use the version number. It doesn't feel like a great solution, but it seems to work OK.

Any thoughts on using this workaround? Or suggestions of other solutions?
ciprian
Posts: 259
Joined: Thu Jul 14, 2005 12:56 pm
Location: Craiova, Romania
Contact: Website

Hi,

That is correct. Microsoft's Windows Installer uses a string with the following format to designate the product version.

major.minor.build

The first field is the major version and has a maximum value of 255. The second field is the minor version and has a maximum value of 255. The third field is called the build version or the update version and has a maximum value of 65,535.

You cannot change this format for the version string.

The product version and the product code are used to determine where an older version of the product is present on the user's computer, and upgrade it.

You could place your custom format for the version string in the application name and use the real format for the version of the product.

More information on this topic at:

http://msdn.microsoft.com/library/defau ... ersion.asp

All the best,
Ciprian
Ciprian Burca
Advanced Installer Team
http://www.advancedinstaller.com
bruce
Posts: 15
Joined: Tue Aug 09, 2005 2:55 am
Location: Perth, Western Australia
Contact: Website

Thank you

For your prompt response.

Return to “Common Problems”