JDK-6714194 : JDK installer shouln't start if minimum disk space is not available
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 6u10
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2008-06-13
  • Updated: 2010-04-04
  • Resolved: 2008-06-20
Related Reports
Duplicate :  
Description
JDK installer is starting on low disk space but fail with error 1722. We should nake sure that if minimum disk space is not available JDK instller is not starting.

How to reproduce

1.) Make sure you have around 300 MB disk space.
2.) Launch JDK installer
3.) Install all the feature includinh JRE and JAVA DB
4.) JDK installer will fail with error code 1722.
5.) After clciking on OK, roll back action takes place. Roll back action takes around 1 hr to complete.

Last few lines from the log file.
MSI (s) (38:24) [19:22:28:843]: Executing op: CustomActionSchedule(Action=jsse,ActionType=3106,Source=C:\Program Files\Java\jdk1.6.0_10\jre\lib\,Target="C:\Program Files\Java\jdk1.6.0_10\jre\lib\\launcher.exe" "C:\Program Files\Java\jdk1.6.0_10\bin\\unpack200.exe" -r -v -l "" "C:\Program Files\Java\jdk1.6.0_10\\jre\lib\jsse.pack" "C:\Program Files\Java\jdk1.6.0_10\\jre\lib\jsse.jar",)
MSI (s) (38:24) [19:22:29:140]: Executing op: ActionStart(Name=postprogress5,,)
Action 19:22:29: postprogress5.
MSI (s) (38:24) [19:22:29:140]: Executing op: CustomActionSchedule(Action=postprogress5,ActionType=3073,Source=BinaryData,Target=CAProgress,)
MSI (s) (38:24) [19:22:29:156]: Creating MSIHANDLE (79) of type 790536 for thread 1572
MSI (s) (38:04) [19:22:29:156]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI16CF.tmp, Entrypoint: CAProgress
MSI (s) (38!D8) [19:22:30:609]: Creating MSIHANDLE (80) of type 790531 for thread 2264
MSI (s) (38!D8) [19:22:30:609]: Closing MSIHANDLE (80) of type 790531 for thread 2264
MSI (s) (38:04) [19:22:30:609]: Closing MSIHANDLE (79) of type 790536 for thread 1572
MSI (s) (38:24) [19:22:30:609]: Executing op: ActionStart(Name=tools,,)
Action 19:22:30: tools.
MSI (s) (38:24) [19:22:30:609]: Executing op: CustomActionSchedule(Action=tools,ActionType=3106,Source=C:\Program Files\Java\jdk1.6.0_10\jre\lib\,Target="C:\Program Files\Java\jdk1.6.0_10\jre\lib\\launcher.exe" "C:\Program Files\Java\jdk1.6.0_10\bin\\unpack200.exe" -r -l "" "C:\Program Files\Java\jdk1.6.0_10\\lib\tools.pack" "C:\Program Files\Java\jdk1.6.0_10\\lib\tools.jar",)
MSI (s) (38:24) [19:22:32:343]: Note: 1: 1722 2: tools 3: C:\Program Files\Java\jdk1.6.0_10\jre\lib\ 4: "C:\Program Files\Java\jdk1.6.0_10\jre\lib\\launcher.exe" "C:\Program Files\Java\jdk1.6.0_10\bin\\unpack200.exe" -r -l "" "C:\Program Files\Java\jdk1.6.0_10\\lib\tools.pack" "C:\Program Files\Java\jdk1.6.0_10\\lib\tools.jar"
DEBUG: Error 2835:  The control ErrorIcon was not found on dialog SetupError
Internal Error 2835. ErrorIcon, SetupError 

There are couple of issue which should be addressed
1.) JDK installaer shouldn't start if minimum disp space is not available
2.) It should calculate the total disk space required for all the features selected by user. As user may select unselect some of the features offered by JDK.
3.) If JDK installer fails to install for some error, we should clean the installation directory and files.