[2/2] msi: Ignore files if their path cannot be resolved in the RemoveFiles action.
Hans Leidekker
hans at codeweavers.com
Wed Sep 14 05:04:15 CDT 2011
Fixes http://bugs.winehq.org/show_bug.cgi?id=28327
---
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) )))
{
--
1.7.5.4
More information about the wine-patches
mailing list