United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6764967 Java JRE 1.6u10 installer failed with error 1606 when using "/qb!" switchm
JDK-6764967 : Java JRE 1.6u10 installer failed with error 1606 when using "/qb!" switchm

Details
Type:
Bug
Submit Date:
2008-10-29
Status:
Closed
Updated Date:
2011-02-24
Project Name:
JDK
Resolved Date:
2009-01-29
Component:
install
OS:
windows_xp
Sub-Component:
install
CPU:
x86
Priority:
P2
Resolution:
Fixed
Affected Versions:
6,6u10,6u11
Fixed Versions:
6u12 (b02)

Related Reports
Relates:
Relates:
Relates:

Sub Tasks

Description
FULL PRODUCT VERSION :
jre1.6.0_10.msi

ADDITIONAL OS VERSION INFORMATION :
Windows XP Pro SP3 (32bits)

A DESCRIPTION OF THE PROBLEM :
When Java JRE 1.6u10 is installed with msiexec in unattended mode, if the "/qb!" switch is used (progress bar but no "cancel" button), the installation fails with "Error 1606.Could not access network location 0."

If antorher switch is used such as "/qn" (no dialog box at all), the installation works fine.

LOOKS LIKE BUG #6510981

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
 - Put the .msi and the "Data1.cab" files on a network share

 - Try to deploy the msi using the command: msiexec /i \\server\hare\file.msi /qb! REBOOT=Suppress ALLUSERS=1

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
A dialog box with a progress bar but no "Cancel" button should appear and Java JRE 1.6u10 should be installed.
ACTUAL -
The installation fails with a dialog box that says "Error 1606 Could not access network location 0." Java JRE 1.6u10 is not installed

ERROR MESSAGES/STACK TRACES THAT OCCUR :
Attached seperatly

REPRODUCIBILITY :
This bug can be reproduced always.

CUSTOMER SUBMITTED WORKAROUND :
Do no use the "/qb!" switch, the "/qn" switch has been tested successfully.

Release Regression From : 6u7
The above release value was the last known release where this 
bug was not reproducible. Since then there has been a regression.

                                    

Comments
EVALUATION

I have done some investigation and here is the summary. So far, I am not able to find the cause of the error.
I collected the verbose log files for both 6u11 and 6u7 which does not have the issue.

For 6u11 log file, I see the error in the log
"
MSI (s) (D4:C0) [14:15:59:343]: PROPERTY CHANGE: Adding OutOfDiskSpace property. Its value is '0'.
MSI (s) (D4:C0) [14:15:59:343]: PROPERTY CHANGE: Adding OutOfNoRbDiskSpace property. Its value is '0'.
MSI (s) (D4:C0) [14:15:59:343]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceAvailable property. Its value is '0'.
MSI (s) (D4:C0) [14:15:59:343]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRequired property. Its value is '0'.
MSI (s) (D4:C0) [14:15:59:343]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRemaining property. Its value is '0'.
MSI (s) (D4:C0) [14:15:59:343]: PROPERTY CHANGE: Adding TARGETDIR property. Its value is 'D:\'.
MSI (s) (D4:C0) [14:16:27:093]: Note: 1: 1314 2: 0
MSI (s) (D4:C0) [14:16:27:093]: Note: 1: 1606 2: 0
Action start 14:15:59: CostFinalize.
MSI (s) (D4:C0) [14:22:44:125]: Product: Java(TM) 6 Update 11 -- Error 1606.Could not access network location 0.

"
Error 1314 The specified path  is unavailable.
Error 1606:Could not access location

For the 6u7 log file

"
MSI (s) (2C:F0) [20:57:17:312]: Doing action: CostFinalize
Action ended 20:57:17: IsolateComponents. Return value 1.
MSI (s) (2C:F0) [20:57:17:312]: PROPERTY CHANGE: Adding OutOfDiskSpace property. Its value is '0'.
MSI (s) (2C:F0) [20:57:17:312]: PROPERTY CHANGE: Adding OutOfNoRbDiskSpace property. Its value is '0'.
MSI (s) (2C:F0) [20:57:17:312]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceAvailable property. Its value is '0'.
MSI (s) (2C:F0) [20:57:17:312]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRequired property. Its value is '0'.
MSI (s) (2C:F0) [20:57:17:312]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRemaining property. Its value is '0'.
MSI (s) (2C:F0) [20:57:17:312]: PROPERTY CHANGE: Adding TARGETDIR property. Its value is 'D:\'.
MSI (s) (2C:F0) [20:57:17:312]: PROPERTY CHANGE: Modifying USERPROFILE property. Its current value is 'C:\Documents and Settings\QI ZUO'. Its new value: 'C:\Documents and Settings\QI ZUO\'.
"

I see the TARGETDIR was set to "D\" in both cases which "D:\" does not exist. The error in 6u11 seems to indicate that the issue is the invalid path. But, it does not give error for 6u7 if the issue is "D:\" for TARGETDIR

But, When I do "msiexec /i jre1.6.0_11.msi /qb! /l*v c:/6u11b.log TARGETDIR="valid drive" ROOTDRIVE="valid drive"". I am still getting the same error even the TARGETDIR is set to a valid path.

"
MSI (s) (30:FC) [21:28:16:593]: PROPERTY CHANGE: Adding OutOfDiskSpace property. Its value is '0'.
MSI (s) (30:FC) [21:28:16:593]: PROPERTY CHANGE: Adding OutOfNoRbDiskSpace property. Its value is '0'.
MSI (s) (30:FC) [21:28:16:593]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceAvailable property. Its value is '0'.
MSI (s) (30:FC) [21:28:16:593]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRequired property. Its value is '0'.
MSI (s) (30:FC) [21:28:16:593]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRemaining property. Its value is '0'.
MSI (s) (30:FC) [21:28:16:593]: PROPERTY CHANGE: Modifying TARGETDIR property. Its current value is 'C:\Documents and Settings\QI ZUO\Application Data\Sun\Java\test'. Its new value: 'C:\Documents and Settings\QI ZUO\Application Data\Sun\Java\test\'.
MSI (s) (30:FC) [21:28:44:343]: Note: 1: 1314 2: 0
MSI (s) (30:FC) [21:28:44:343]: Note: 1: 1606 2: 0
Action start 21:28:16: CostFinalize.
MSI (s) (30:FC) [21:28:50:453]: Product: Java(TM) 6 Update 11 -- Error 1606.Could not access network location 0.

"
                                     
2008-11-04
WORK AROUND

/q, /qn (no UI), /qr (reduced UI), and /quiet (quiet mode, no user interation) work.
                                     
2008-11-06



Hardware and Software, Engineered to Work Together