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:
parent
7ed2d58793
commit
e4f1f9b7bd
|
@ -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 );
|
||||||
|
|
Loading…
Reference in New Issue