Hi Claus,
I did this a while back and used microsoft WMIC instrument to remove java here the cmd code:
I would recommend to get familial with WMIC you'll find it useful
WMIC product where "Name LIKE '%%Java%%'" call uninstall /nointeractive
I would recommend to follow the documentation on:
http://docs.oracle.com/javase/7/docs/webnotes/install/windows/jre-installer-options.html
tip :
use a log file to see errors during the install like:
jre-7u25-windows-i586.exe /s /L C:\tmp\Java_install.log
I would recommend to split it up in two bundles just to make sure java is removed before you install current version
mostly when the installer fails is that something is wrong with the update, so removing old version first is key
Hope that helps
Cheers,
schnopi
I did this a while back and used microsoft WMIC instrument to remove java here the cmd code:
I would recommend to get familial with WMIC you'll find it useful
WMIC product where "Name LIKE '%%Java%%'" call uninstall /nointeractive
I would recommend to follow the documentation on:
http://docs.oracle.com/javase/7/docs/webnotes/install/windows/jre-installer-options.html
tip :
use a log file to see errors during the install like:
jre-7u25-windows-i586.exe /s /L C:\tmp\Java_install.log
I would recommend to split it up in two bundles just to make sure java is removed before you install current version
mostly when the installer fails is that something is wrong with the update, so removing old version first is key
Hope that helps
Cheers,
schnopi