

I’ll keep you posted if my newest Transform works. The fact the installer won’t work reliably without it is, in a word, stupid. The method on both of the pages above adds the creation of He also makes /QB work in addition to /QN InstallExecuteSequence/UILevel<=3 instead of =2 It explains changing CustomAction/installexe to 3090 It was previous type 1042, or 1024 (Defer until later) + 18 (run executable) Now it’s 3072 (“Executes with no user impersonation. …and citing this page, which has some more nuts and bolts. With 8_25 and higher, there’s a long list of fixes, explained here: The current Java installer is an EXE inside of an MSI inside of an EXE, because Oracle hates you… If your installer isn't working, stuck in the /l*vx %windir%\temp\jre8u51.log

REM start /wait msiexec /i "jre-8u51-windows-i586.msi" TRANSFORMS=8u51-3074-UI3.mst AUTO_UPDATE=0 WEB_ANALYTICS=0 EULA=0 REBOOT=0 SPONSORS=0 /l*vx %windir%\temp\jre8u51.log /qn

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.
