Hi All

Can any see whats wrong with this command, the log file is empty yet Java is not installing?

The data1.cab is in the same location as the msi incase that makes a difference

%systemroot%\system32\msiexec.exe /i jre1.6.0_29.msi /qn /norestart IEXPLORER=1 REBOOT=Suppress JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0 SYSTRAY=0 /L C:\Temp\java16.txt

Answer Summary:
%systemroot%\system32\msiexec.exe /I "%~dp0jre16029.msi" IEXPLORER=1 REBOOT=ReallySuppress JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0 SYSTRAY=0 /qn
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Community Chosen Answer

2

Why do you try the same command line without /qn

One suggesstion here, If you really want to suppress reboot then I would recommend you to use REBOOT=ReallySuppress instead of Suppress

Answered 08/08/2012 by: jagadeish
Red Belt

  • If I try without the /qn its not a silent install, it launches the setup but then I have to click "install"
    I need it to be a silent install
  • What about /qb!
    Have you tried this
  • Just tried this and get error
    "this installation package could not be opened. verify that the package exists and that you can access it, or contact the application vendor to verify that this is a valid win installer package"

    Think that switch must be for .exe and not msi ?
  • You need to supply full path of the jre1.6.0_29.msi file in command line...
  • Or Else
    Create a batch file with the following commands

    start /wait MSIEXEC /I "%~dp0jre1.6.0_29.msi" IEXPLORER=1 REBOOT=ReallySuppress JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0 SYSTRAY=0 /L C:\Temp\java16.txt /qn

    Keep this batch file in .msi's location and call it
  • Jagadeish, Thanks so much finally got there with your help, just had to add little entry at the beginning of your command then it worked -

    %systemroot%\system32\msiexec.exe /I "%~dp0jre16029.msi" IEXPLORER=1 REBOOT=ReallySuppress JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0 SYSTRAY=0 /qn

    Really appreciate your help :-)
    • This content is currently hidden from public view.
      Reason: Removed by user request
      For more information, visit our FAQ's.
Please log in to comment

Answers

This content is currently hidden from public view.
Reason: Removed by user request
For more information, visit our FAQ's.

0

 

<jre>.exe   [/lang=<language ID>] [/s] 
            [IEXPLORER=1] [MOZILLA=1] [INSTALLDIR=<drive>:\<install_path>] [STATIC=1]

http://www.oracle.com/technetwork/java/javase/silent-136552.html

this link might help you

 

Answered 08/08/2012 by: ontari.ontari
Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity