Commit 73d316c5 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

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

parent ab9a1813
...@@ -912,6 +912,7 @@ static UINT ITERATE_RemoveFiles(MSIRECORD *row, LPVOID param) ...@@ -912,6 +912,7 @@ static UINT ITERATE_RemoveFiles(MSIRECORD *row, LPVOID param)
{ {
MSIPACKAGE *package = param; MSIPACKAGE *package = param;
MSICOMPONENT *comp; MSICOMPONENT *comp;
MSIRECORD *uirow;
LPCWSTR component, filename, dirprop; LPCWSTR component, filename, dirprop;
UINT install_mode; UINT install_mode;
LPWSTR dir = NULL, path = NULL; LPWSTR dir = NULL, path = NULL;
...@@ -966,6 +967,12 @@ static UINT ITERATE_RemoveFiles(MSIRECORD *row, LPVOID param) ...@@ -966,6 +967,12 @@ static UINT ITERATE_RemoveFiles(MSIRECORD *row, LPVOID param)
} }
done: 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(path);
msi_free(dir); msi_free(dir);
return ERROR_SUCCESS; return ERROR_SUCCESS;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment