OK, so when you say "included a script" do you mean you enabled PackageBoot and then used a pre-update Run Program command to call CSCRIPT.EXE and specified some command line parameters for the filename, etc... AND added that script as an additional file to the package?
or were you attempting this in some other way?
I have found the problem, after checking the java install error file "C:\windows\temp\jusched.log"
It points to the java.settings.file not existing or the system user being able to access it.
A blank file of java.settings.cfg needs to be created in C:\ProgramData\Oracle\Java
This still does not work but I think thats related to other things im doing. But it has got me past this error listed above.