Quantcast
Viewing all articles
Browse latest Browse all 4762

Trouble getting Java updates to install

I apologize for the length of this post.

Objective:  To apply Java updates to only those machines that need it using ConfigMgr 2012 SP1 with Java as an Application.

I have four types of machines:  1 – only has Java 1.6 installed 2- only has Java 1.7 installed, 3- has both versions of Java installed and 4- has no Java installed. Most are x86 version of Java, a few are x64 or bot x86 and x64.

I want to only install the version of Java update on the machine if it have that version of Java installed, for example I only want to install Java 1.6.0_43 to those machines that already have Java 1.6 install. I don’t want to install it if it doesn’t have Java 1.6 installed.

I have 5 test machines set up.  A - Is a Windows 7 x64 machine with Java 1.6_41 x86 and Java 1.7_17 x86 installed. B – is a Windows XP x86 with only Java 1.7_17 installed, C – is a Windows 7 x-64 with Java 1.7_17 x86 installed, D – is Windows 7 x-64 with Java 1.6_41 x86 installed & E – is a Windows 7 x64 with Java 1.6_24 & Java 1.7_9 both x86 installed.

SCCM Java Application:  I first downloaded the proper Java update file (.exe file) from the Java web site. I then extracted the Data1.cab and jre<ver>.msi file.  I used ORCA to adjust the Properties for such things as turning off JavaUpdates and such. These changes were saved to a mst file.

I then used the msi file to create the Java Application from.  I used the ‘Automatic detection’ option to create the application.  I then edited the application so that it would look like this: 

Deployment Type: 

Installation program:  msiexec /i "jre1.6.0_41.msi" transforms="jre1.6.0_41.mst"

Uninstall Program:  msiexec /x {26A24AE4-039D-4CA4-87B4-2F83216041FF} /q

Checked the “Run installation and uninstall program as 32-bit process on 64-bit clients”

Detection Method:  Registry, key is HKLM\Software\JavaSoft\Java Runtime Environment\1.6

Checked the “This registry key is associated with a 32-bit application on 64-bit systems”

Created a custom Global Condition and used it in the ‘Requirements’ tab.

Custom Global Condition is:  Registry key of HKLM\Software\JavaSoft\Java Runtime Environment\1.6

I then deployed this to the 5 test machines. None of the machines installed the update. 

Help.  What am I doing wrong?


Ken Lutz - Spokane County


Viewing all articles
Browse latest Browse all 4762

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>