Extracting Java MSI from Java EXE

If you are using Configuration Manager 2012, creating Applications is a fairly simple process using the vendor supplied MSI package.  Java updates (like Adobe Updates) never end. By default the Java website has you downloading an .EXE from their website. Fortunately, you can use the .EXE to extract the .MSI and .CAB files. First go to the Java Update website >>http://www.java.com/en/download/manual.jsp  to download the latest Java Update.

Java Update Website

Since our goal is to extract the Java MSI from the Java EXE, I select the “Windows Offline” selection so I can download the EXE to my PC.

Java Update Configuration Manager 2012

After the file is downloaded, browse to the Downloads directory and  Double-Click or Right-Click-Open the downloaded Java Update EXE, in this case were updating to Java 7 Update 40.

Java 7 Update 40

Once you see the “Welcome to  Java” screen shown below, the Java Program has already extracted the .MSI and .CAB files into a directory.

Java 7 Install

Ignore the “Welcome to Java” installation window for now.

For Windows 7 PC’s  and Windows 8 PC’s Browse to C:\Users\UserName\AppData\LocalLow\Sun\Java and you will see a directory of past Java Updates plus the new installation directory denoted by the Java version number on the directory. Obviously you have to replace UserName in the path with your actual user name.

Java MSI Extract

In this case the latest version was Java  7.0_40 as you can see above. A quick way to get close to this directory is by using the RUN Command and type in %APPDATA% .

For Windows XP and Windows 2000  installations use the directories listed below to locate the extracted MSI file.

Windows XP >>> C:\Documents and Settings\<user>\Local Settings\ApplicationData\Sun\Java\jre<version_number>

Windows 2000 >>> C:\Documents and Settings\<user>\ApplicationData\Sun\Java\jre<version_number>

As you can see below the latest Java MSI and CAB files have been extracted to this directory.

Java Update SCCM

If you have Configuration Manager 2012 you can now use the .MSI file to Create a Java Update Application.