James Hawkins : msi: dest_path refers to the directory prefix, not the entire file path.
Module: wine Branch: master Commit: ced64861f53629f37f8a2616df710ec8590e6949 URL: http://source.winehq.org/git/wine.git/?a=commit;h=ced64861f53629f37f8a2616df... Author: James Hawkins <truiken(a)gmail.com> Date: Tue Jan 15 22:29:56 2008 -0600 msi: dest_path refers to the directory prefix, not the entire file path. --- dlls/msi/files.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/dlls/msi/files.c b/dlls/msi/files.c index b447461..ba25f04 100644 --- a/dlls/msi/files.c +++ b/dlls/msi/files.c @@ -901,13 +901,11 @@ static UINT ITERATE_DuplicateFiles(MSIRECORD *row, LPVOID param) } dest = build_directory_name(2, dest_path, dest_name); - create_full_pathW(dest); + create_full_pathW(dest_path); TRACE("Duplicating file %s to %s\n",debugstr_w(file->TargetPath), debugstr_w(dest)); - CreateDirectoryW(dest_path, NULL); - if (strcmpW(file->TargetPath,dest)) rc = !CopyFileW(file->TargetPath,dest,TRUE); else
participants (1)
-
Alexandre Julliard