msi: Warn if a transform file cannot be opened.

This commit is contained in:
Hans Leidekker 2010-07-23 09:43:11 +02:00 committed by Alexandre Julliard
parent 2b0c45674f
commit bdda3b950c
1 changed files with 3 additions and 0 deletions

View File

@ -733,7 +733,10 @@ UINT MSI_DatabaseApplyTransformW( MSIDATABASE *db,
r = StgOpenStorage( szTransformFile, NULL,
STGM_DIRECT|STGM_READ|STGM_SHARE_DENY_WRITE, NULL, 0, &stg);
if ( FAILED(r) )
{
WARN("failed to open transform 0x%08x\n", r);
return ret;
}
r = IStorage_Stat( stg, &stat, STATFLAG_NONAME );
if ( FAILED( r ) )