walteste
Posts: 20
Joined: Sun Apr 22, 2012 7:15 pm
Location: Dubai, UAE

Issue if only revision number increases

Hi,

We are using the SVN-Revision as the fourth pair of the version number with the following format: [MAJOR].[MINOR].[PATCH].[REVISION]

It can happen that we will have multiple MSI's with the same MAJOR, MINOR and PATCH version number and only the REVISION is increasing. It seems that by increasing the REVISION only, the newer version will not be recognized by Windows and an update can not be performed. :(

Is there a proper solution/workaround to this problem to still get our requirement working?

Best Regards,
Stefan
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Issue if only revision number increases

Hello Stefan,

Indeed Windows Installer ignores the fourth field of the ProductVersion. Only the first three sections of the ProductVersions are used by Windows Installer.

The only workaround you can use is to build an EXE package type and use our "Uninstall a package with the same version (if found)" option from "Builds" page -> "Configuration" tab.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
walteste
Posts: 20
Joined: Sun Apr 22, 2012 7:15 pm
Location: Dubai, UAE

Re: Issue if only revision number increases

Hi Daniel,

Thanks for you feedback. :)

Then I need to change our versioning logic accordingly!

Best Regards,
Stefan
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Issue if only revision number increases

You're always welcome Stefan.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”