tom5870
Posts: 19
Joined: Wed Jul 26, 2017 4:00 pm

Updater says it has updates but install fails.

The updater returns that there are updates, but when the install starts it says there is a version of the product already installed. Recently set the fourth part of the version to match the main app EXE's. This means different builds have a different version number. I suspect the error is coming from MSI since there is waring that MSI ignores the fourth value. Is there a way to get the updater to ignore the fourth value before saying there is an update?
Catalin
Posts: 7513
Joined: Wed Jun 13, 2018 7:49 am

Re: Updater says it has updates but install fails.

Hello Tom,

Unfortunately, this is a limitation of Windows Installer (the core technology that Advanced Installer uses).

You can read more about this here:

ProductVersion Property
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.
We recently added an improvement regarding this on our TODO list (i.e. to allow the user to perform a major upgrade using the 4th field of the ProductVersion property) and I believe it might be available in our next release.

In the meantime, a solution to this is presented in the following thread:

Can't upgrade with 4-part product versions

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”