http://bugs.winehq.org/show_bug.cgi?id=10922
Summary: JDK 6 offline installer fails to create jdk1.6.0_03\jre\bin\msvcr71.dll, puts up error dialog Product: Wine Version: CVS/GIT Platform: Other URL: http://java.sun.com OS/Version: other Status: NEW Keywords: download, Installer Severity: enhancement Priority: P2 Component: wine-msi AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
The JDK 6 offline installer, jdk-6u3-windows-i586-p.exe, puts up an error dialog "Error loading: C:\Program Files\Java\jdk1.6.0_03\jre\bin\client\jvm.dll"
+file,+msi shows
trace:file:CreateFileW L"c:\Program Files\Java\jdk1.6.0_03\jre\bin\msvcr71.dll" GENERIC_WRITE FILE_SHARE_READ FILE_SHARE_WRITE creation 1 attributes 0x20 ... warn:file:CreateFileW Unable to create file L"c:\Program Files\Java\jdk1.6.0_03\jre\bin\msvcr71.dll" (status c000003a) ... err:msi:ITERATE_DuplicateFiles Failed to copy file L"c:\Program Files\Common Files\Java\Update\Base Images\jdk1.6.0.b105\patch-jdk1.6.0_03.b05\msvcr71.dll" -> L"c:\Program Files\Java\jdk1.6.0_03\jre\bin\", last error 3 ... trace:file:CreateDirectoryW L"jre/bin" ... trace:msi:HANDLE_CustomType34 executing exe L"c:\Program Files\Java\jdk1.6.0_03\\jre\bin\javaw.exe -Xshare:dump" ... err:module:import_dll Library MSVCR71.dll (which is needed by L"C:\Program Files\Java\jdk1.6.0_03\jre\bin\client\jvm.dll") not found
Seems like that CreateDirectory should have come before it tried to put a file in that directory?
http://bugs.winehq.org/show_bug.cgi?id=10922
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |normal
http://bugs.winehq.org/show_bug.cgi?id=10922
--- Comment #1 from Andrey Turkin andrey.turkin@gmail.com 2007-12-30 08:26:09 --- Created an attachment (id=9902) --> (http://bugs.winehq.org/attachment.cgi?id=9902) create directories recursively during DuplicateFiles
Call sequence is correct, but CreateDirectory fails because of missing parent directory (jre). Either some previous install step should have been create it, or DuplicateFiles action must create all parent directories if necessary. I've attached patch to do latter
http://bugs.winehq.org/show_bug.cgi?id=10922
--- Comment #2 from James Hawkins truiken@gmail.com 2008-01-06 13:28:29 --- Patch sent:
http://winehq.org/pipermail/wine-patches/2008-January/048752.html
http://bugs.winehq.org/show_bug.cgi?id=10922
James Hawkins truiken@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #3 from James Hawkins truiken@gmail.com 2008-01-07 12:18:07 --- Patch committed:
http://winehq.org/pipermail/wine-cvs/2008-January/039350.html
http://bugs.winehq.org/show_bug.cgi?id=10922
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |
--- Comment #4 from Dan Kegel dank@kegel.com 2008-01-09 18:11:31 --- The JRE still doesn't install. And, most interestingly,
drwxr-x--- 2 dkegel eng 4096 Jan 9 15:58 msvcr71.dll
Perhaps you got a bit mkdir-happy?
http://bugs.winehq.org/show_bug.cgi?id=10922
James Hawkins truiken@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED
--- Comment #5 from James Hawkins truiken@gmail.com 2008-01-16 09:26:54 --- Last patch committed:
http://winehq.org/pipermail/wine-cvs/2008-January/039647.html
http://bugs.winehq.org/show_bug.cgi?id=10922
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Dan Kegel dank@kegel.com 2008-01-28 06:12:45 --- Closing all RESOLVED FIXED bugs older than 0.9.54.
http://bugs.winehq.org/show_bug.cgi?id=10922
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified
http://bugs.winehq.org/show_bug.cgi?id=10922
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |ced64861f53629f37f8a2616df7 | |10ec8590e6949
https://bugs.winehq.org/show_bug.cgi?id=10922
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Hardware|Other |x86 CC| |focht@gmx.net Version|unspecified |0.9.51. OS|other |Linux URL|http://java.sun.com |https://web.archive.org/web | |/20160417111019/http://www. | |pbh.gov.br/bhissdigital/dow | |nload/desif/jdk-6u3-windows | |-i586-p.exe