[15/15] msi: Also update the UI when removing files listed in the RemoveFiles table.
Hans Leidekker
hans at codeweavers.com
Fri Mar 5 05:29:17 CST 2010
---
dlls/msi/files.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/dlls/msi/files.c b/dlls/msi/files.c
index 7ccb2c7..4050163 100644
--- a/dlls/msi/files.c
+++ b/dlls/msi/files.c
@@ -912,6 +912,7 @@ static UINT ITERATE_RemoveFiles(MSIRECORD *row, LPVOID param)
{
MSIPACKAGE *package = param;
MSICOMPONENT *comp;
+ MSIRECORD *uirow;
LPCWSTR component, filename, dirprop;
UINT install_mode;
LPWSTR dir = NULL, path = NULL;
@@ -966,6 +967,12 @@ static UINT ITERATE_RemoveFiles(MSIRECORD *row, LPVOID param)
}
done:
+ uirow = MSI_CreateRecord( 9 );
+ MSI_RecordSetStringW( uirow, 1, MSI_RecordGetString(row, 1) );
+ MSI_RecordSetStringW( uirow, 9, dir );
+ ui_actiondata( package, szRemoveFiles, uirow );
+ msiobj_release( &uirow->hdr );
+
msi_free(path);
msi_free(dir);
return ERROR_SUCCESS;
--
1.6.3.3
More information about the wine-patches
mailing list