z_shangyi
Posts: 27
Joined: Sat Aug 26, 2006 5:44 am

Bug on versions comparison

Including the latest versions 6.9.1, Wrong on the all versions for versions comparison. For example: 6.9.1 and 6.80 compared to 6.9.1 will less than 6.80, 6.6 and 6.41 compared to 6.6 will less than 6.41 etc., when the generated package is installed.
Option: Automatically upgrade older product versions.

Note: To resolve this problem, remove the row that contains string AI_NEWERPRODUCTFOUND in Upgrade table in msi file.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Bug on versions comparison

Hi,
Including the latest versions 6.9.1, Wrong on the all versions for versions comparison. For example: 6.9.1 and 6.80 compared to 6.9.1 will less than 6.80, 6.6 and 6.41 compared to 6.6 will less than 6.41 etc., when the generated package is installed.
Please note that the version fields are numerical values. Since 80 is higher than 9, the version 6.80 will be higher than 6.9. This is not a bug, it is the normal behavior. For your example the correct versions would be 6.80 and 6.90.1.
To resolve this problem, remove the row that contains string AI_NEWERPRODUCTFOUND in Upgrade table in msi file.
Please note that it is not recommended to remove this entry. If this entry is removed the package may be installed over an existing version, corrupting both installations.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Feature Requests”