September 17, 2014 - Nick

MSI for Java installations

Java is up there with Adobe Flash as one of the most challenging third-party applications to manage in a ‘secure’ enterprise environment. With that said, what makes managing applications in the environment easier, is dealing with them in MSI form.

One of the particular challenges with Java is that it comes in it’s own installation package which is difficult to deploy from a script, psexec, sccm or whatever your application deployment vehicle is. Little did I know that the offline java installation actually comes bundled with the MSI.

  1. In order to find the MSI for any java update (versions 6 and 7), first make sure you download the java offline version:
    java1 java2 

    Once the offline installer is downloaded, go ahead and run it.

  2. When Welcome to Java window appears do not click Install button and navigate to LocalAppData folder (the user Application Data folder). The location of the LocalAppData folder differs for each Windows platform.
  3. Then browse to C:\Users\<user>\AppData\LocalLow\Sun\Java\jre<version> – *It’s important to note that if you’re in a secure environment, you’re probably using a ‘RunAs’ command to launch this installation. The MSI will be located in the user directory above of the user account that’s launched the installation. 
  4. jre<version> folder contains two and
    – jre<version>.msi

    You can now go ahead and take these two files and move them to your install share or whatever location you’re looking to deploy from.

  5. Note: There is no need to continue to install the application as the msi extraction happens after launching the original executable. You can now cancel out of this Welcome to Java screen.


Edit: Found source of this information on Java’s website:

Java / Windows 7 deploying java / enterprise java / java / msi for java / msi java /

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>