mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 02:25:17 +00:00
[WINESYNC] msi: Skip the special SummaryInformation stream in msi_commit_streams.
Avoids adding a useless table stream when called on an existing database. Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org> wine commit id 02a25a9d4fb170755d8de7aa7cb5d388c206b337 by Hans Leidekker <hans@codeweavers.com>
This commit is contained in:
parent
8530abce68
commit
23993e205c
1 changed files with 3 additions and 0 deletions
|
@ -616,7 +616,10 @@ UINT msi_commit_streams( MSIDATABASE *db )
|
|||
for (i = 0; i < db->num_streams; i++)
|
||||
{
|
||||
name = msi_string_lookup( db->strings, db->streams[i].str_index, NULL );
|
||||
if (!strcmpW( name, szSumInfo )) continue;
|
||||
|
||||
if (!(encname = encode_streamname( FALSE, name ))) return ERROR_OUTOFMEMORY;
|
||||
TRACE("saving stream %s as %s\n", debugstr_w(name), debugstr_w(encname));
|
||||
|
||||
hr = IStorage_CreateStream( db->storage, encname, STGM_WRITE|STGM_SHARE_EXCLUSIVE, 0, 0, &stream );
|
||||
if (SUCCEEDED( hr ))
|
||||
|
|
Loading…
Reference in a new issue