Hans Leidekker : msi: Ignore files if their path cannot be resolved in the RemoveFiles action.
Alexandre Julliard
julliard at winehq.org
Wed Sep 14 12:25:40 CDT 2011
Module: wine
Branch: master
Commit: f13cafad4ac92836a7db3283cc2707983dfc0151
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f13cafad4ac92836a7db3283cc2707983dfc0151
Author: Hans Leidekker <hans at 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) )))
{
More information about the wine-cvs
mailing list