Hi, thanks for the log file. It clearly confirm what I was thinking.
So you should write :
The given executable file not a valid Win32 application.You set :
<ElementType>CustomUpdateElements.ExecutableElement</ElementType>
<PathToExecutable>jre1.8.0_51.msi</PathToExecutable>
<Parameters>/i jre1.8.0_51.msi /quiet /norestart AUTOUPDATECHECK=0 WEB_JAVA=1 JAVAUPDATE=0 JU=0 </Parameters>
But you cannot RUN an .MSI file, you need to OPEN it with MsiExec.exe. As you cannot RUN an .XLS file, you need to OPEN it with Excel.exe.So you should write :
<ElementType>CustomUpdateElements.ExecutableElement</ElementType>
<PathToExecutable>%windir%\System32\msiexec.exe</PathToExecutable>
<Parameters>/i jre1.8.0_51.msi /quiet /norestart AUTOUPDATECHECK=0 WEB_JAVA=1 JAVAUPDATE=0 JU=0 </Parameters>