using SyAM Management Utilities The Third Party Software Deployment feature of SyAM Management Utilities can be used to perform a silent installation of Java Runtime Environment across your network to managed Windows client machines. Requirements: Windows target systems must have the SyAM System Client installed and reporting to SyAM System Area Manager. Target systems must be discovered by Management Utility. Installation executables for Java Runtime Environment can be downloaded from the Oracle website: http://www.oracle.com/technetwork/java/javase/downloads/index.html Click the JRE Download button for the current release. You will need to click the Accept License Agreement radio button to enable downloads. Download the 32-bit and/or 64-bit installer as required. Choose.exe (not.tar.gz) and choose offline (not online) installation files. Place the installation executable(s) in the default application directory defined on the Administration Settings page of Management Utility. In our example we will install the 64-bit JRE. The 32-bit version can be installed in the same way. As Java 8 requires prior versions of Java to be uninstalled you must create a batch file that will perform this action first before installing Java 8. We also recommend disabling the Auto Updating so end users are not prompted if a new Java version is ready for download. Make two batch files, one for 32-bit installation and the other for 64-bit installation. Change the path used in the batch file to use the path to your network share where the java files were downloaded to 1
Java 8 i586 Batch File (32-bit) :: remove current java JRE START /WAIT /MIN WMIC product where "Name LIKE '%%Java%%6%%Update%%'" call uninstall START /WAIT /MIN WMIC product where "Name LIKE '%%Java%%7%%Update%%'" call uninstall :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: install 64bit JRE8-upd25 mkdir c:\tmps xcopy /Y \\192.168.200.101\apps\jre-8u25-windows-i586.exe c:\tmps c:\tmps\jre-8u25-windows-i586.exe /s rd c:\tmps /S /Q ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::set auto update off reg QUERY "HKLM\SOFTWARE\Wow6432Node\JavaSoft\Java Update\Policy" if %ERRORLEVEL% EQU 0 ( reg ADD "HKLM\SOFTWARE\Wow6432Node\JavaSoft\Java Update\Policy" ^ /v "EnableJavaUpdate" /t REG_DWORD /d 0 /f ) exit 2
Java 8 x64 Batch File (64-bit) :: remove current java JRE START /WAIT /MIN WMIC product where "Name LIKE '%%Java%%6%%Update%%'" call uninstall START /WAIT /MIN WMIC product where "Name LIKE '%%Java%%7%%Update%%'" call uninstall :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: install 64bit JRE8-upd25 mkdir c:\tmps xcopy /Y \\192.168.200.101\apps\jre-8u25-windows-x64.exe c:\tmps c:\tmps\jre-8u25-windows-x64.exe /s rd c:\tmps /S /Q ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::set auto update off reg QUERY "HKLM\SOFTWARE\JavaSoft\Java Update\Policy" if %ERRORLEVEL% EQU 0 ( reg ADD "HKLM\SOFTWARE\JavaSoft\Java Update\Policy" ^ /v "EnableJavaUpdate" /t REG_DWORD /d 0 /f ) Exit 3
Save the batch file (in this example, we ll name the file (JRE8-i586.bat and JRE8-x64.bat) and copy it to the default application directory. In Management Utility, create a Third Party template. Enter a template name. Choose Windows as the target platform and select the correct authentication template. Enter the path to the network share containing the Java 8 installation batch file. Click the Find Files button and choose the JRE installation batch file from the drop down menu. Click the Add button and check off Copy these files locally to each target system.. Click the Save Changes button. Create a separate template for each of the 32-bit and 64-bit batch files. 4
Now you can test deployment to a single system. Select a system in the Groups area. Click the system row, then right-click to display the context menu. From the menu, choose Deploy Third Party Software. 5
In the New Task box, choose the Windows authentication template and the newly created JRE deployment template. Click OK. If you are deploying to UAC enabled Target systems you must choose the UAC Authentication Template. 6
On the Add/Edit A Job page, click the Run Job button, then click OK to confirm. The installation will begin shortly. This example shows the single JRE deployment task. After the job is finished, you may review the status by finding the job in the Status area and clicking the View Details link. After testing the job on a single machine you can deploy to groups of machines, using ondemand or scheduled jobs. 7