RemoveODBC Action

Windows Installer

RemoveODBC Action

The RemoveODBC action removes the data sources, translators, and drivers listed for removal during the installation. This action queries the ODBCDataSource table, ODBCTranslator table, and ODBCDriver table for each data source, translator, or driver scheduled for removal.

Sequence Restrictions

There are no sequence restrictions.

ActionData Messages

For each driver installed.

Field Description of action data
[1] Driver description. The ODBC driver key.
[2] ComponentId

 

For each translator installed.

Field Description of action data
[1] Driver description. The ODBC driver key.
[2] ComponentId

 


For each data source installed.

Field Description of action data
[1] Driver description. The ODBC driver key.
[2] ComponentId
[3] Registration: SQL_REMOVE_DSN or SQL_REMOVE_SYS_DSN

 


Remarks

If both the ODBC usage count and the file usage count become zero, the file is removed. Registration is dependent on ODBC usage counts and file removal is based on shared DLLs key reference counts.


Send comments about this topic to Microsoft

Build date: 8/13/2009

© 2009 Microsoft Corporation. All rights reserved.