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

This commit is contained in:
Hans Leidekker 2010-03-05 12:29:17 +01:00 committed by Alexandre Julliard
parent ab9a181326
commit 73d316c58d
1 changed files with 7 additions and 0 deletions

View File

@ -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;