[WINESYNC] msi: Check for failure from do_msidbCustomActionTypeDll().

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>

wine commit id 5f21acdc9e9840b50a6991b8e8dc52758adb192d by Zebediah Figura <z.figura12@gmail.com>
This commit is contained in:
winesync 2022-03-13 21:40:18 +01:00 committed by Mark Jansen
parent 8585445613
commit fc7157139f
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B

View file

@ -792,7 +792,8 @@ static UINT HANDLE_CustomType1( MSIPACKAGE *package, const WCHAR *source, const
TRACE("Calling function %s from %s\n", debugstr_w(target), debugstr_w(binary->tmpfile));
info = do_msidbCustomActionTypeDll( package, type, binary->tmpfile, target, action );
if (!(info = do_msidbCustomActionTypeDll( package, type, binary->tmpfile, target, action )))
return ERROR_FUNCTION_FAILED;
return wait_thread_handle( info );
}
@ -897,7 +898,8 @@ static UINT HANDLE_CustomType17( MSIPACKAGE *package, const WCHAR *source, const
return ERROR_FUNCTION_FAILED;
}
info = do_msidbCustomActionTypeDll( package, type, file->TargetPath, target, action );
if (!(info = do_msidbCustomActionTypeDll( package, type, file->TargetPath, target, action )))
return ERROR_FUNCTION_FAILED;
return wait_thread_handle( info );
}