Hans Leidekker : msi: Also update the UI when removing files listed in the RemoveFiles table.

Alexandre Julliard julliard at winehq.org
Fri Mar 5 09:42:57 CST 2010


Module: wine
Branch: master
Commit: 73d316c58d6bcff48db33498131a543a194fd510
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=73d316c58d6bcff48db33498131a543a194fd510

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Fri Mar  5 12:29:17 2010 +0100

msi: Also update the UI when removing files listed in the RemoveFiles table.

---

 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;




More information about the wine-cvs mailing list