Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6764967
Votes 1
Synopsis Java JRE 1.6u10 installer failed with error 1606 when using "/qb!" switchm
Category java:install
Reported Against
Release Fixed 6u12(b02)
State 11-Closed, Verified, bug
Priority: 2-High
Related Bugs 6510981 , 6774461
Submit Date 29-OCT-2008
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 ( customer  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  customer  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.
Posted Date : 2008-10-29 08:35:51.0
Work Around
/q, /qn (no UI), /qr (reduced UI), and /quiet (quiet mode, no user interation) work.
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.

"
Posted Date : 2008-11-04 19:47:45.0
Comments
  
  Include a link with my name & email   

Submitted On 02-NOV-2008
Petz02
I am trying to deploy this version of Java with just the MSI and a simple transformation MST file. On some PCs that already have a Java install it freezes the PC before the login prompt with 'Deploying Managed sotware: Java'. On clean machines without a Java install it seems fine.

Would this bug be impacting me in that situation. If so whats the recommended action?
- Build a wrapper for the MSI that uses the /qn switch.
- Use version 6u7.
- What for a fix.

I noticed you also get the same error running an repair install '/fa'
msiexec /fa jre1.6.0_10.msi /t Java_IE_Moz_NoUpdate.mst /lv! logme.txt


Submitted On 02-NOV-2008
Petz02
Should have mentioned I am using a Computer based Group Policy for deployment not msiexec on the command line.

Also found this bug which could be similar ---> 6759045
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6759045


Submitted On 05-DEC-2008
Another way to fix the issue is to edit the MSI and replace every instance of 'UILevel=2' with 'UILevel<=3' and every instance of 'UILevel<>2' with 'UILevel>3' (credit to 'Lamarth ' at http://www.appdeploy.com/packages/detail.asp?id=923 for this suggestion). This appears to work & could be implemented into future versions of the installer.


Submitted On 15-DEC-2008
David_Olson
Applied the changed recommend by Lamarth and received the same error. If I only use the /qn switch (rather than the /qb!) then JRE does not install properly (no Sun Java Console under the tools menu in IE and settings in deployment.properties are not applied). So neither switch (/qn or /qb!) currently works.


Submitted On 17-DEC-2008
patPaquin
neither switch (/qn or /qb!),
even if I tried with .EXE file with swicht /QUIET  not installed, didn<t receive error message but not appears in add/remove



PLEASE NOTE: JDK6 is formerly known as Project Mustang