[Bug 7046] Noteworthy composer upgrade: Copy failed

Wine Bugs wine-bugs at winehq.org
Tue Jan 9 08:39:32 CST 2007


http://bugs.winehq.org/show_bug.cgi?id=7046





------- Additional Comments From online at noteworthysoftware.com  2007-09-01 08:39 -------
The NWC2 install programs use NSIS CopyFiles instruction with the /SILENT 
directive, which calls the Windows Shell function SHFileOperation with the 
operation set to FO_COPY. In Windows, this operation can be used to replace an 
existing file. In Wine, this operation will fail when the target file exists.

The exact cause can be found here:

http://source.winehq.org/source/dlls/shell32/shlfileop.c#L1075

[CODE]
if (SHNotifyCopyFileW(entryToCopy->szFullPath, fileDest->szFullPath, TRUE))
[/CODE]

By setting the parameter "bFailIfExists" to true, the file copy operation will 
fail when the target file exists.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list