JDK-6597916 : When JQS running, FilesInUse dialog displayed with app using separate copy of MSVCR71.dll
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 6u5
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows
  • CPU: x86
  • Submitted: 2007-08-28
  • Updated: 2010-04-04
  • Resolved: 2007-11-28
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
6u10Resolved
Related Reports
Duplicate :  
Description
On Windows XP SP2,
Run Visual Studio .NET or Dev Studio 
Visual Studio .NET 2003 loads a copy of MSVCR71.dll from C:\Program Files\Microsoft\Visual Studio .Net 2003\Common7\IDE\MSVCR71.dll.
Install JRE 6u5 b02
Make sure JQS is running.
Use Process Explorer to see that JQS and only JQS has C:\Program Files\Java\jre6\bin\MSVCR71.dll and any files in C:\Program Files\Java\jre6\ loaded.
Try to uninstall JRE 6u5 b02.

Expect:
no FilesInUseDialog is displayed.

Actual:
The following applications should be closed before continuing the installation:
Microsoft Development Environment.

Workaround:
Stop or kill jqs.exe
Click Retry.
The uninstall will continue without having to close Microsoft Development Environment.

screen shots added

Comments
EVALUATION We should stop using the RemoveFile table to remove files during uninstall. The RemoveFile table and MSI's FilesInUse table has bugs as well as performance issues. Renaming this as a duplicate of a more general fix.
28-11-2007

EVALUATION Jim: Another case of the same problem, but no resolution... http://www.mcse.ms/message2035121.html From all accounts, this appears to be an MSI bug. Chris: I searched also, using FileInUseProcess but didn't find anything that close. This appears to occur when C:\Program Files\Java\jre6\bin\MSVCR71.dll is in use by a process that does not have an application window (jqs) and another program like devenv.exe has a MSVCR71.dll. It appears that it is rounding up suspects for who has C:\Program Files\Java\jre6\bin\MSVCR71.dll locked and thinks devenv.exe is close enough. *** (#1 of 1): [ UNSAVED ] ###@###.###
28-08-2007