Commit 6914c474 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

msi: Print a message if we fail to delete a file.

parent 46964179
......@@ -405,7 +405,8 @@ static void remove_tracked_tempfiles(MSIPACKAGE* package)
list_remove( &temp->entry );
TRACE("deleting temp file %s\n", debugstr_w( temp->Path ));
DeleteFileW( temp->Path );
if (!DeleteFileW( temp->Path ))
ERR("failed to delete %s\n", debugstr_w( temp->Path ));
msi_free( temp->File );
msi_free( temp->Path );
msi_free( temp );
......
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