msi: Allow overwriting an existing stream in STREAMS_set_row.
This commit is contained in:
parent
dcbe0fdff2
commit
c1940c1c5f
|
@ -182,6 +182,7 @@ static UINT STREAMS_set_row(struct tagMSIVIEW *view, UINT row, MSIRECORD *rec, U
|
|||
}
|
||||
|
||||
encname = encode_streamname(FALSE, name);
|
||||
IStorage_DestroyElement(sv->db->storage, encname);
|
||||
|
||||
r = write_stream_data(sv->db->storage, name, data, count, FALSE);
|
||||
if (r != ERROR_SUCCESS)
|
||||
|
|
Loading…
Reference in New Issue