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

This commit is contained in:
Mike McCormack 2006-11-14 12:41:40 +09:00 committed by Alexandre Julliard
parent 4696417941
commit 6914c4749e
1 changed files with 2 additions and 1 deletions

View File

@ -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 );