msi: Respect UI level in custom action type 19.

This commit is contained in:
Hans Leidekker 2009-09-29 14:55:58 +02:00 committed by Alexandre Julliard
parent 26f380941b
commit 1b7d1d4c87
1 changed files with 3 additions and 2 deletions

View File

@ -1046,10 +1046,11 @@ static UINT HANDLE_CustomType19(MSIPACKAGE *package, LPCWSTR source,
if( row )
{
LPCWSTR error = MSI_RecordGetString( row, 1 );
MessageBoxW( NULL, error, NULL, MB_OK );
if ((gUILevel & INSTALLUILEVEL_MASK) != INSTALLUILEVEL_NONE)
MessageBoxW( NULL, error, NULL, MB_OK );
msiobj_release( &row->hdr );
}
else
else if ((gUILevel & INSTALLUILEVEL_MASK) != INSTALLUILEVEL_NONE)
MessageBoxW( NULL, deformated, NULL, MB_OK );
msi_free( deformated );