I need a logic to uninstall all older java versions and install Java 8 Update 25.
When I tried with a script to uninstall all older versions of Java and install the new one, Older versions getting uninstalled but new Java8u25 fails to install with error 1722 in the MSI logfile. Please help me to install Java8u25 in 30000 machines through Altiris deployment without any issue.
Is there any particular file or registry to be deleted before installl of Java8?
Error is as below:
Product: Java 8 Update 25 -- Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action installexe, location: C:\Windows\Installer\MSIC2A4.tmp, command: /s INSTALLDIR="C:\Program Files (x86)\Java\jre1.8.0_25\\" EULA=0 REPAIRMODE=0