JDK-6643605 : PIP - Clicking "Ignore" in "Files in Use" dialog corrupt installation
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: beta,6u10
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows,windows_xp
  • CPU: generic,x86
  • Submitted: 2007-12-19
  • Updated: 2010-09-08
  • Resolved: 2008-03-12
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6u10 b13Fixed
Related Reports
Duplicate :  
Description
"Files in Use" dialog provides an "Ignore" option, while showing the list of applications that lock java files. If we click "Ignore" and continue with installation, the existing installation is corrupted. With Patch-In-Place, its not recommended to ignore such locking, so better to disable/remove "Ignore" button.

 - Install 6u10
 - Launch IE, MZ, FF with Applets
 - Install 6u11 Offline
 - Files-in-Use dialog shown listing all browsers
 - Click "Ignore"
 - Files-in-Use dialog shown again
 - Click "Ignore" again
 - Error 1722 shown, registry entries are removed

Even though java installation is available under "$Program Files/Java/jre6"

  - Applets are not loaded (Standalone applications can be loaded)
  - Java installation not listed in "Add or Remove Programs"
  - Java icon missing in windows "Control Panel"

Logs and screenshot attached..
The proposed fix, removing the 'ignore' control from Control.idt for the msi has some issues.  Namely, msival2 whined during rebuild of the MSI with the change:

ICE          Type       Description
ICE03        ERROR     Not a valid foreign key; Table: ControlEvent, Column: Control_, Key(s): FilesInUse.Ignore.EndDialog.Ignore.1
ICE20        ERROR     Required PushButtons not found for the FilesInUseDialog.

It is now proposed that the button be hidden.  Exploring this avenue now...
Hiding the Ignore button via the ControlCondition.idt table checked out ok.

The fix is tested and ready to be put-back for the offline installer.  The sponsors installer will also need to be fixed and tested (in progress).
Testcase:
http://oklahoma.east/deployment/www/tests/1.6.0_10/6643605/test_6643605.html
webrev:
http://sa.sfbay.sun.com/projects/deployment_data/6u10/6643605

Comments
EVALUATION The fix should be to disable/hide the "Ignore" button.
07-01-2008