Module: wine Branch: master Commit: f13cafad4ac92836a7db3283cc2707983dfc0151 URL: http://source.winehq.org/git/wine.git/?a=commit;h=f13cafad4ac92836a7db3283cc...
Author: Hans Leidekker hans@codeweavers.com Date: Wed Sep 14 12:04:15 2011 +0200
msi: Ignore files if their path cannot be resolved in the RemoveFiles action.
---
dlls/msi/files.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/dlls/msi/files.c b/dlls/msi/files.c index 1f12fe2..9aa2098 100644 --- a/dlls/msi/files.c +++ b/dlls/msi/files.c @@ -1164,8 +1164,10 @@ static UINT ITERATE_RemoveFiles(MSIRECORD *row, LPVOID param)
dir = msi_dup_property(package->db, dirprop); if (!dir) - return ERROR_OUTOFMEMORY; - + { + WARN("directory property has no value\n"); + return ERROR_SUCCESS; + } size = 0; if ((filename = strdupW( MSI_RecordGetString(row, 3) ))) {