JDK-6510981 : msi package deployement error "1606" when using non-interactive installation
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • OS: windows_2000
  • CPU: x86
  • Submitted: 2007-01-09
  • Updated: 2011-02-16
  • Resolved: 2007-04-16
Related Reports
Relates :  
Description
FULL PRODUCT VERSION :
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)

ADDITIONAL OS VERSION INFORMATION :
Windows 2000 SP4
Windows XP Pro SP2

A DESCRIPTION OF THE PROBLEM :
When the MSI package is installed with non-interactive switch (/qb!), the installation fails and throws a "1606" error. When using a interactive installation, everything goes fine.

Previous packages of older branches up to 1.5.0.10 works fine and any other msi package (such as OpenOffice, PDFCreator, Norton Antivirus CE, Adobe Reader) works fine to.

This error is specific to this particular version of Java JRE for Windows.

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
 - Extract the .msi file from the .exe setup as described here:
http://www.java.com/en/download/help/5000011100.xml

 - Launch the installation with: msiexec /i java.msi /qb! REBOOT=Suppress ALLUSERS=1

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The setup should display a progress bar and basic information about the installation. The setup should be fully automatic, no interaction of the user (for setup choices and/or setup abort) should be possible. At the end, the JRE should be installed on the system.
ACTUAL -
The installation fails and stops with an error "1606". The JRE is not installed.

ERROR MESSAGES/STACK TRACES THAT OCCUR :
Log of the installation when it fails attached seperatly.

REPRODUCIBILITY :
This bug can be reproduced always.

CUSTOMER SUBMITTED WORKAROUND :
 - Keep using the last version of the previous branch (1.5.0.10 at this time).

 - Do an interactive installation (unconceivable on a corporate environment).

Comments
EVALUATION This is no longer reproducible with 6u1.
16-04-2007

EVALUATION I've contacted the user with this text: "I'm contacting you about the error 1606 that you are getting with the Java 6 JRE. We have a new feature that will delete the extracted msi file if the user quits out of the installation. So can you try launching the JRE installer, and when the license agreement is showing, make a copy of the extracted msi file. Now decline the license agreement. Then try launching the msi file in /qb! mode. Let me know if that fixes your problem." Waiting to hear back from them.
09-01-2007