Hi, I have Java 1.4.2 (minimum) as a prerequisite in my installer. So (if java is not installed or is below 1.4.2) the file j2re-1_4_2_12-windows-i586-p.exe (which sits alongside our installer) is installed.
We send out updates to our installer to various remote staff, who don't always have the latest JRE available (and don't always have internet access).
Now release 13 of 1.4.2 (j2re-1_4_2_13-windows-i586-p.exe) is available, as is 1.5 (jre-1_5_0_11-windows-i586-p.exe), Java 6, etc. Some of our remote staff have these latest JRE installers, some of them don't.
So I want the installer to install the the highest version that is available (that the remote staff put alongside the installer). Eg I'd like to supply a list of files for the prerequisite, i.e:
jre-1_5_0_11-windows-i586-p.exe,
j2re-1_4_2_13-windows-i586-p.exe,
j2re-1_4_2_12-windows-i586-p.exe,
etc
I.e if the first is there then install it else try the second... third... etc.
Is this possible?
(BTW, we don't keep sending out the latest JRE with our installers as we are updating them regularly and don't want the extra overhead of the JRE installer that doesn't change often.)