James Hawkins : msi: dest_path refers to the directory prefix, not the entire file path.
Alexandre Julliard
julliard at winehq.org
Wed Jan 16 07:09:33 CST 2008
Module: wine
Branch: master
Commit: ced64861f53629f37f8a2616df710ec8590e6949
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ced64861f53629f37f8a2616df710ec8590e6949
Author: James Hawkins <truiken at 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
More information about the wine-cvs
mailing list