I have setup a post install task for Java. It prompts for a certificate message. Once I hit 'yes' it then proceeds with the rest of the scripted install. Here's what I have:

jre-7u9-windows-i586.exe /s ADDLOCAL=ALL IEXPLORER=1 MOZILLA=1 REBOOT=suppress 

0 Comments   [ - ] Hide Comments


Please log in to comment

Answer this question or Comment on this question for clarity



I forgot to add, this works fine on the x64 architecture using the same command line. It's really weird.

Answered 12/10/2012 by: akilpatrick
Fourth Degree Green Belt

Please log in to comment

I think it extracts a msi file in the backend so msi command might work.  Try adding in /qn before /s.  Not sure why it would work for x64 and not x86.

Answered 12/10/2012 by: Timi
Seventh Degree Black Belt

  • Tried adding the /qn and it didn't work.
  • This content is currently hidden from public view.
    Reason: Removed by member request
    For more information, visit our FAQ's.
Please log in to comment

You can pass the msi switches by using the /v""

place your passed commands inside the quotes like this

jre-7u1-windows-i586.exe" /s /v"/norestart AUTOUPDATECHECK=0 JAVAUPDATE=0 JU=0"

mozilla and I explorer seem to be depreciated according to the documentation. 

Answered 12/11/2012 by: jdornan
Red Belt

  • Tried this and it didn't work.

    jre-7u9-windows-i586.exe /s /v"/norestart AUTOUPDATECHECK=0 JAVAUPDATE=0 JU=0"
  • Interesting, Have you tried the deploy thread found here?
  • I tried this;:


    Start the jre-7u5-windows-i586.exe program manually. Browse to where it has extracted the temp files (C:\users\<someuserprofile>\appdata\locallow\sun or similar).

    Zip together the jre1.7.0_05.msi and Data1.cab files (you can cancel the started installation after this).

    with the command line options set too:
    msiexec.exe /i "jre1.7.0_09.msi" /qn

    And this time it worked in the sense that it didn't halt on the certificate error message, but it didn't install Java either.

    I read somewhere that the /qn options didn't work, so I'm going to retry now.
Please log in to comment

just extract the MSI and you are able to do anything you want by using Commandline PROPERTIES or using an MST file with the configuration info.

Answered 12/11/2012 by: jaybee96
Red Belt

  • Will try this and report back.
  • Looks like this didn't work either.
  • Hiplease verify that the date and time are correct in the machine. I had this during an implementation and it told me that the certificate was expired. When checking the date/time I found out that these were not correct
  • I've encountered the same problem and I have yet to find a solution. Fortunately KACE currently has the patch available for Java 7 update 9, but like yourself I've had to resort to manual installs for machines missing Java. I will post if I find a workaround.
  • Thank you, GeekSoldier. It's frustrating for sure.
Please log in to comment

Take a look at the syntax used in this script. Let me know if the options work for you.


Most of it looks the same as the java switches we're all familiar with. The other option is to brave his installer .zip file available for download.

Answered 12/14/2012 by: GeekSoldier
Red Belt

Please log in to comment