/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


Java 7 update 9 x86

12/10/2012 4141 views

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   [ + ] Show comments

Comments


All Answers

0

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
Brown Belt

0

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
7th 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.
0

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?
    http://www.itninja.com/software/oracle/java-2/7-552
  • I tried this;:

    Workaround:

    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.
0

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.
0

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

http://www.mockbox.net/configmgr-sccm/175-install-sun-java-update-silently

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

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ