First thing you need to so is download the “Full Installer” from Oracles website http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1880261.html. You should not download the installer from java.com because this is the bootstrap installer that goes out to the internet and downloads the install binary.
In my case, I downloaded the jre-7u21-windows-i586.exe setup file. You can install Java from this installer using the /s switch, but I always prefer grabbing the MSI and Data.cab file from the installer. This reduces the install time on the client since the MSI installer doesn’t need to be extracted.
To grab the MSI and Data.cab file, launch jre-7u21-windows-i586.exe (Whatever version you downloaded) installer.
When the installer is launched, it extracts the MSI installer and the Data1.cab into you AppData\LocalLow folder see screen shot below
Go ahead and copy this two files to your package source share and cancel the Java installer
In Configuration Manager you can go ahead the create an Application choose the Windows Installer Type. Browse to the shared folder for the Java Runtime installer files to choose the MSI installer file. Configuration Manager will automatically detect the meta data from the installer file as seen below
In the general information will will want to change the Installation Program command the default will look something like this
I append the following after the /q REBOOT=ReallySuppress AUTOUPDATECHECK=0 EULA=0 JAVAUPDATE=0 IEXPLORER=1 MOZILLA=1 /L*v %temp%\JRE7Update21.log
These parameters will disable updates, suppress reboots, accept EULA, register Java Runtime in browsers, and create a verbose log in the %temp% folder.
Once your application is created you can go ahead and distribute the content to DP’s and deploy it however you like! I just created a available deployment to a device collection
Once the install was complete, I went ahead and checked the Java applet in control panel and the update tab was disabled as desired
Hope this helps! – Justin