eze
27th May 2006 00:17 UTC
uninstall Java Runtime Env. (JRE)
I want to be able to silently uninstall the JRE. I've followed Sun's instructions on http://java.sun.com/j2se/1.5.0/docs/...l#uninstalling
but have been unsuccessful. :( My code, which works to install the JRE, is attached.
Thank you
nandhp
28th May 2006 21:27 UTC
Based on the name of the package j2re-1_4_2_11-windows-i586-p-iftw.exe it would seem that you are trying to remove version 1.4.2_11, in which case the GUID you are passing to msiexec /x is incorrect and should be {3248F0A8-6813-11D6-A77B-00B0D0142110}. I've not actually tried this though, YMMV.
eze
30th May 2006 21:02 UTC
Thanks, nandhp. I tried the new GUID, but, unfortunately, the script still doesn't work. The uninstaller runs, but it completes way too fast to be actually uninstalling something the size of the jre, and afterwards the jre is still installed.
Afrow UK
31st May 2006 12:00 UTC
As nandhp points out, your GUID is likely to apply to older versions of JRE.
You should either find the newest GUID or execute the uninstaller yourself if you know where it resides.
-Stu