[4/5] msi: Keep track of the patch filename in apply_registered_patch.
Hans Leidekker
hans at codeweavers.com
Tue Jul 20 07:55:08 CDT 2010
---
dlls/msi/package.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/dlls/msi/package.c b/dlls/msi/package.c
index fba722f..bff1bb4 100644
--- a/dlls/msi/package.c
+++ b/dlls/msi/package.c
@@ -1210,6 +1210,13 @@ static UINT apply_registered_patch( MSIPACKAGE *package, LPCWSTR patch_code )
return r;
}
+ patch_info->localfile = strdupW( patch_file );
+ if (!patch_info->localfile)
+ {
+ msiobj_release( &patch_db->hdr );
+ return ERROR_OUTOFMEMORY;
+ }
+
r = msi_apply_patch_db( package, patch_db, patch_info );
msiobj_release( &patch_db->hdr );
if (r != ERROR_SUCCESS)
--
1.7.0.4
More information about the wine-patches
mailing list