msi: Don't error when an ODBC Data Source fails to register.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alistair Leslie-Hughes 2019-08-28 01:05:50 +00:00 committed by Alexandre Julliard
parent 7ed2d58793
commit e4f1f9b7bd
1 changed files with 1 additions and 4 deletions

View File

@ -6783,10 +6783,7 @@ static UINT ITERATE_InstallODBCDataSource( MSIRECORD *rec, LPVOID param )
attrs[len + 1] = 0; attrs[len + 1] = 0;
if (!SQLConfigDataSourceW(NULL, request, driver, attrs)) if (!SQLConfigDataSourceW(NULL, request, driver, attrs))
{ WARN("Failed to install SQL data source!\n");
ERR("Failed to install SQL data source!\n");
r = ERROR_FUNCTION_FAILED;
}
uirow = MSI_CreateRecord( 5 ); uirow = MSI_CreateRecord( 5 );
MSI_RecordSetStringW( uirow, 1, desc ); MSI_RecordSetStringW( uirow, 1, desc );