Ignoring version numbers on upgrade - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

toschlog
Posts: 26
Joined: Fri Jun 10, 2011 5:39 pm

Ignoring version numbers on upgrade

I recently had a problem where executable files weren't being upgraded on install because their version numbers hadn't been changed. I fixed that (I think) by using the option "Ensure that all files in this folder overwrite any installed target files".

But this isn't what I really want. I assume that with this option checked files are installed even if they're unchanged. What I really want is "Ignore file version number" that forces the installer to check the date & time of the files. If the new file has a different timestamp I'd like it to be installed. Is this an option?

Thanks!
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Ignoring version numbers on upgrade

Hello,
I recently had a problem where executable files weren't being upgraded on install because their version numbers hadn't been changed. I fixed that (I think) by using the option "Ensure that all files in this folder overwrite any installed target files".
You may encounter this behavior because of a known Windows Installer bug related to file versioning rules. As you mentioned, a workaround is to enable the "Ensure that this file overwrites any installed target file" option for the related files.
What I really want is "Ignore file version number" that forces the installer to check the date & time of the files.
Please keep in mind that this should be the normal behavior when using files with the same version number. Please take a look on "File Versioning Rules" articles.

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

Return to “Common Problems”