Hi,
I observed one scenario with Installer developed using AdvancedInstaller (AI). The scenario is that some already existing files (binaries, C# Dlls etc)are not overwritten with files from AI installation.
I checked those files which are not getting overwritten and found that, the File version and size of these existing files matches with files from AI Installer. Then I checked File Properties in AI IDE and saw that "Overwrite Behavior' is set to "Overwrite Only If existing file is older".
I did some experiments as a part of my analysis. I made all source files to Installer as latest. I wrote a tool which read its contend, then delete the files from Disk and then create file with same name and wrote the data back to file. So i got same files with very recent modified time. So they are latest than existing file.
Though, I re-built Setup with these latest files, same above mentioned behavior is observed. I expected that latest Files (one having recent modified time than existing one) from Installer should overwrite existing files even though they matches its data and File version.
I would like to know what is the criteria which AI used for determining whether existing files are older or not.
Thanks,
Prasanth
FOLLOW US
Get the latest news in Application Packaging