If you wish to extract the MSI file yourself from the offline installer for Java, then you can follow this simple guide:
Once you have the executable installer you should launch the file until you get to the “Welcome to Java” dialogue page. You should not click the Install button, instead, navigate to your local appdata folder (the user Application Data folder). The location of the local appdata folder is different for each Windows platform.
Note: You can navigate directly to your appdata folder by typing from a run box:
The different locations for the local appdata folders per operating system are below:
NOTE: from version 8 update 60, replace “Sun” with “Oracle” for this part.
Windows Vista and Windows 7
C:\Users\<username>\AppData\LocalLow\Oracle\Java\jre<version_number> – version 8 update 60 onwards
C:\Documents and Settings\<username>\Local Settings\ApplicationData\Sun\Java\jre<version_number>
C:\Documents and Settings\<username>\Local Settings\ApplicationData\Oracle\Java\jre<version_number> – version 8 update 60 onwards
C:\Documents and Settings\<username>\ApplicationData\Sun\Java\jre<version_number>
C:\Documents and Settings\<username>\ApplicationData\Sun\Oracle\jre<version_number> – version 8 update 60 onwards
The jre<version_number> folder will contain two files (one MSI file version 8 update 60 onwards):
Copy the MSI and CAB files from the appdata folder and into a new folder on your desktop (or any other temporary location).
Now, going back to your Java installation, click the Cancel button to terminate the installation. There is no need to continue installation after the MSI and CAB files have been extracted.
You can now use these two files to distribute over your network in your preferred method.
Version 8 Update 60 and above – MSI tweak for deployment
You may notice that using the extracted MSI files from version 8 update 60 and above, does not work. This is due to a setting within the MSI that needs to be changed.
Using Orca, edit the MSI file and go to the CustomAction table and look for “installexe“. Then look for the Type – this should be 1042 like below:
This needs to be changed to “3090” and then save the MSI file like below:
You can then use this MSI file for network distribution.
Alternatively, you can just download the already amended MSI files from our Downloads section.