diff --git a/dlls/msi/helpers.c b/dlls/msi/helpers.c index 490e1812715..819c310bfe6 100644 --- a/dlls/msi/helpers.c +++ b/dlls/msi/helpers.c @@ -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 );