msi: Also update the UI when removing files listed in the RemoveFiles table.
This commit is contained in:
parent
ab9a181326
commit
73d316c58d
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
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;
|
||||||
|
|
Loading…
Reference in New Issue