Commit 4e467ad7 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

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

parent 27ce47a2
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment