Bug? Lower file version number causes file to delete - Advanced Installer Community
hovedsjef
Posts: 14
Joined: Wed Dec 14, 2011 2:22 pm

Bug? Lower file version number causes file to delete

In the previous release of our installation package built with Advanced Installer a couple of DLLs had gotten its product version number set to a wrong number that was higher than it should have been (18.5.3625.586 instead of 1.8.3625.586). We fixed this in the next release so that the DLL now had version 1.8.3677.848 set. By mistake I had not checked the "Ensure that this file overwrites any installed target file", so when running an upgrade installation (running the new version of the installation package on top of the already installed one), the new DLL with the lower version number was not copied - which would be expected since the new DLL had a lower version number than the old one.

What I however consider a bug is that the old DLL was deleted! I ended up with an installation where neither the old (version 18.5...) nor the new (version 1.8...) was present - resulting in an incomplete installation. I would have expected that the old DLL (version 18.5...) should have been left in place if the new DLL had a lower version number and the "Ensure that this file overwrites any installed target file" had not been checked.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Bug? Lower file version number causes file to delete

Hello,

Here's a similar thread that discusses the same issue. My colleague Cosmin explained the behavior throughly.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”