cosmin wrote:Please note that most developers use a linear versioning system. Therefore, even if you use external files, their versions shouldn't be a problem (you are the first person to ask us about using different versions randomly). Also, since this is a Windows Installer bug, I'm not sure if there are other solutions other than the ones I mentioned.
Cosmin,
the file versioning approach (be it via file version number or modification date) used by Windows Installer assumes a perfect world with perfect developers.
But developers are human - when put under pressure (if not before already) they make mistakes. Horrible, glaring mistakes. And the processes around them need to make up for their mistakes and keep their mistakes into account. Missing to increment a version number, removing a version number, or rewriting a tool and forgetting to include a version number in the new binary are very realistic possibilities.
Including external files such as the Sun JRE/JDK into my own product is another wide field for errors in this regard. When the next release of the JRE/JDK comes around, can anyone guarantee that the Sun developers gave consideration to the file version numbers of all individual files? (Pick Python or anything else as a runtime included in my product, if you like - the validity of the case remains.)
And what about my case of including an external program from source1, then from source2? Both programs perform the same task but are form completely different authors, and their version numbers (if existing at all) are completely unrelated. It's enough to pick another pre-compiled binary of some open source software from another developer already to have relevant version number differences.
Also, if I include a file in my installer, I have tested it in conjunction with all the other files in that very installer. Windows Installer assuming that the file already existing in the installation directory should be kept is really asking for hard to find trouble, because it can lead to combinations of files that have not been tested.
Anyway, thank you for your reply.
With best regards
Clemens Anhuth
FOLLOW US
Get the latest news in Application Packaging