James Hawkins : msi: Halt the installation with an error if a source file is missing.

Alexandre Julliard julliard at winehq.org
Tue Jul 22 09:35:45 CDT 2008


Module: wine
Branch: master
Commit: 4e467ad72973af37a67148c53616c4a2a5d32cb7
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4e467ad72973af37a67148c53616c4a2a5d32cb7

Author: James Hawkins <jhawkins at codeweavers.com>
Date:   Tue Jul 22 00:52:14 2008 -0500

msi: Halt the installation with an error if a source file is missing.

---

 dlls/msi/files.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/dlls/msi/files.c b/dlls/msi/files.c
index 08c1959..26248c5 100644
--- a/dlls/msi/files.c
+++ b/dlls/msi/files.c
@@ -743,12 +743,6 @@ static UINT copy_install_file(MSIFILE *file)
         TRACE("overwriting existing file\n");
         gle = ERROR_SUCCESS;
     }
-    else if (gle == ERROR_FILE_NOT_FOUND)
-    {
-        /* FIXME: this needs to be tested, I'm pretty sure it fails */
-        TRACE("Source file not found\n");
-        gle = ERROR_SUCCESS;
-    }
     else if (gle == ERROR_ACCESS_DENIED)
     {
         SetFileAttributesW(file->TargetPath, FILE_ATTRIBUTE_NORMAL);




More information about the wine-cvs mailing list