Our customer just approved to deploy the update 40 of JRE 8(32Bits Version).
We don’t have any problem with the task created for any another platform. However when I try to target machines with Win8/Win8.1 running 64Bits the taks fails when run the jre*.exe with a return code different of 0.
I think some process is using the java virtual machines, but it’s hard to know which is as the env varies on every machine.
This is the task that I developed.
prefetch jre-8u40-windows-i586.exe sha1:c583ea81fe3cf6b06e2851f6805ec895226a0053 size:37066152 http://EXAMPLEURL/jre-8u40-windows-i586.exe
// Note: update .exe will restart service automatically
if{exists running service "JavaQuickStarterService"}
delete __appendfile
delete stop_javaquickstarter.bat
appendfile net stop JavaQuickStarterService
move __appendfile stop_javaquickstarter.bat
waithidden stop_javaquickstarter.bat
endif
waithidden {if (name of operating system = "WinXP" AND personal bit (suite mask of operating system)) then "tskill java /a" else "taskkill /F /IM java.exe"}
waithidden {if (name of operating system = "WinXP" AND personal bit (suite mask of operating system)) then "tskill javaw /a" else "taskkill /F /IM javaw.exe"}
waithidden {if (name of operating system = "WinXP" AND personal bit (suite mask of operating system)) then "tskill javaws /a" else "taskkill /F /IM javaws.exe"}
waithidden {if (name of operating system = "WinXP" AND personal bit (suite mask of operating system)) then "tskill iexplore /a" else "taskkill /F /IM iexplore.exe"}
waithidden {if (name of operating system = "WinXP" AND personal bit (suite mask of operating system)) then "tskill firefox /a" else "taskkill /F /IM firefox.exe"}
waithidden {if (name of operating system = "WinXP" AND personal bit (suite mask of operating system)) then "tskill chrome /a" else "taskkill /F /IM chrome.exe"}
wait __Download/jre-8u40-windows-i586.exe /s
As you can see I force to kill browsers and java process, even though it doesn’t work on that specific machines.
I just found this bug but not sure if in this version it is not fixed yet.