> Can I have the installer of JRE 6.0 automatically
> uninstall any previous versions like 5.0.6 and higher
> on install?
> I am distributing the MSI with corresponding MST
> using GPO.
If all previous applications were installed via a GPO, you could add those GPOs to the update list and select to uninstall prior to installing JRE1.6.
However, I had to resort to a separate GPO containing a startup script (which will only run for about a month) containing the following string:
MsiExec.exe /x {UID} /qn
Once the previous versions are removed, it will fly by on subsequent restarts (it's a starup script, not logon).
where, UID = HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{UID}