http://bugs.winehq.com/show_bug.cgi?id=1113
Summary: kernel32.CopyFileW failure Product: Wine Version: unspecified Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P3 Component: wine-binary AssignedTo: wine-bugs@winehq.com ReportedBy: joern@sierwald.com
Hi everybody.
I was using build 20021007, that was not available to select for "version", on Redhat 7.3. I tried to install the Interbase (an SQL database from Borland) client and the installer reported that it could not copy any of the files from the install subdirectory to the destination. Installation failed. I managed to produce this debug output from wine:
08073ed8:Call kernel32.CopyFileW(402af0f8 L"C:\ib_install\client\ibinstall.dll",402af150 L"C:\Program Files\Borland\InterBase\",00000000) ret=4131ee2f trace:file:CopyFileW L"C:\ib_install\client\ibinstall.dll" -> L"C:\Program Files\Borland\InterBase\" trace:file:CreateFileW L"C:\ib_install\client\ibinstall.dll" GENERIC_READ FILE_SHARE_READ FILE_SHARE_WRITE OPEN_EXISTING attributes 0x0 trace:file:CreateFileW returning 00000054 trace:file:GetFileInformationByHandle 00000054 trace:file:CreateFileW L"C:\Program Files\Borland\InterBase\" GENERIC_WRITE FILE_SHARE_READ FILE_SHARE_WRITE CREATE_ALWAYS attributes 0x20 warn:file:FILE_CreateFile Unable to create file '/usr/share/wine-c/Program Files/Borland/InterBase' (GLE 82) trace:file:CreateFileW returning ffffffff warn:file:CopyFileW Unable to open dest L"C:\Program Files\Borland\InterBase\" 08073ed8:Ret kernel32.CopyFileW() retval=00000000 ret=4131ee2f
What I can see here is that the destination is not a file name (as it is supposed to be) but the name of a subdirectory. WINE does not like that. The installer works flawlessly on any known windows platform, this looks like an undocumented feature of windows to me.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://bugs.winehq.com/show_bug.cgi?id=1113. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.