REM - Old command line, all options moved to Transform. IF NOT EXIST '%ALLUSERSPROFILE%\Oracle\Java\' product where 'name like 'Java 8%%'' call uninstall IF NOT EXIST '%ALLUSERSPROFILE%\Oracle\Java' MKDIR '%ALLUSERSPROFILE%\Oracle\Java' Here's my install script (with some old u51 names), because I don't trust their installer for anything: off I break out the MSI (which now ends up in the 'Oracle' programdata folder, not Sun, like u51), and I apply a transform with all of my fixes. I posted this recently, but below is an email I sent summarizing my problems with it. I've for good measure added a reboot step just before the java installation to try to counter any issues with locked files or similar.Īnyone had any similar hellish experience with Java 8 Update 60, and wish to share their solution (Or just rant about how absolutely shitty the Java installer is?)? Once B&C has completed, I can clearly see the placed correctly and if I just run the installer EXE, it will install silently with the correct config. If I've understood it correctly, this is the way to do it.
Run jre-8u60-windows-i586.exe as a package, no switches. It just plain fails, with no context as to why.Ĭopy to %ProgramData%\Oracle\Java I'm having one hell of a hard time getting Java to install properly during OSD.