mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
msi: Halt the installation with an error if a source file is missing.
This commit is contained in:
parent
27ce47a263
commit
4e467ad729
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user