msi: Respect UI level in custom action type 19.
This commit is contained in:
parent
26f380941b
commit
1b7d1d4c87
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue