‎02-11-201503:06 PM - last edited on ‎07-05-202309:21 AM by ErikT
This package will update/install Java on network computers. You need to download the offline installer from the Java website. The last step disables auto-updates of Java.
1. Open the Java manual download page and download the Offline installers for Windows (32-bit and 64-bit). Copy these into your Package share under folder "\Installers\Java Runtime Environment 8".
2. Review the package (do use the correct folder and installer file names in the "Check installer file" and "Install" steps)
Thank you d0dman. I was having the following error for the 32 bit : Result: Deployment ended: The system cannot find the path specified. Even though it was the same path as the 64bit version. I changed it to "Scanning Credentials" and it worked.
I'm having an issue with getting this package to install.
Any time I put in parameters without quotes I receive the following:
Result: Deployment ended: The system cannot find the path specified. Stop(Failure). Credential: (######). ShareCredential: (######). Command: "\\servername\DefaultPackageShare$\Installers\JavaRE\jre-8u66-windows-i586.exe" /s /lang=1033
However any time I use quotes it opens the install executable (I see it in task manager) and it sits until I kill it (LanSweeper reports a timeout). It seems like it's not recognizing the /s and waiting for a prompt.
Whenever I run the command either way from a command prompt it installs properly.
Thanks.. I've added extra step to run the file from http://www.lansweeper.com/Forum/yaf_postst10942_Script---Remove-Old-Java-Versions-Silently.aspx to remove old versions.
A condition step which looks for the Uninstall registry key of the version to be installed can do this. I modified the package and posted the updated version here.