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

This commit is contained in:
James Hawkins 2008-07-22 00:52:14 -05:00 committed by Alexandre Julliard
parent 27ce47a263
commit 4e467ad729
1 changed files with 0 additions and 6 deletions

View File

@ -743,12 +743,6 @@ static UINT copy_install_file(MSIFILE *file)
TRACE("overwriting existing file\n"); TRACE("overwriting existing file\n");
gle = ERROR_SUCCESS; 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) else if (gle == ERROR_ACCESS_DENIED)
{ {
SetFileAttributesW(file->TargetPath, FILE_ATTRIBUTE_NORMAL); SetFileAttributesW(file->TargetPath, FILE_ATTRIBUTE_NORMAL);