To solve the problem of browsers caching JavaScript and other files we are now including a 4-place version in those filenames, e.g. file-1.4.7.2.js, and is done between building and staging our files and building the installer.
The build sequence uses an Ant script to pull the 4-place ProductVersion string from the Advanced Installer project file using /GetProperty. Then files are renamed and references to them substituted in the appropriate text-based (not compiled) files. Then the installer is built.
The problem --
When getting the ProductVersion with /GetProperty before renaming files Advanced Installer is scanning the staged (not yet renamed) files and adding new components for them. But those files are about to be renamed. So everything isn't in the correct components or features, and every renamed file must be manually moved in Organization.
Is it really required to scan the files and make new components on a simple /GetProperty command?
I suggest not doing the scan and update on commands that are "Gets" because it doesn't make any difference in that context.
Is there a way to tell AI to NOT perform the scan and update?
The only other choice is to set the 4-place version in an Ant property file for renaming purposes. But then it has to be maintained in more than one place.