Extract Java MSI Files

Java is something I am reluctantly still deploying in my work environment (thanks INB…).   Anyone that has worked with MSI installers knows they are more native to Windows Installer than EXE installers.  So being able to obtain an MSI for Java can be very handy, especially when deploying through SCCM like I do.

Java MSIs cannot be downloaded directly from the Java wesbite; instead the EXE installer must be downloaded, extracted to a temp location, and then the MSI manually pulled from there.

First download the Java Offline Installer.  The easiest way to get this is from the Java Manual Downloads page: https://www.java.com/en/download/manual.jsp

Next run the offline installer EXE to begin the Java Setup wizard.  Do not continue through the wizard, just open it so the Welcome page appears:

JavaWizard.png

At this point the Java install files will have been extracted to a temp location at: C:\Users\%username%\AppData\LocalLow\Oracle\Java

NOTE: Older Java prior to version 8 may be extracted to a Sun folder instead of an Oracle folder:  C:\Users\%username%\AppData\LocalLow\Sun\Java

Next open the folder reflecting the appropriate Java version that was downloaded such as jre1.8.0_111 and the Windows Installer Package MSI should be there:

msitempfile

Copy this file and use it to install the specified Java version via MSI.  It is particularly easy to deploy via Group Policy or SCCM.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: