Functions
Access.h File Reference

Go to the source code of this file.

Functions

CA_API UINT __stdcall ConfigDataSource_Access (MSIHANDLE hInstall)
 Create, configure or remove a Microsoft Access DSN using Microsoft Access Driver (*.MDB) More...
 
CA_API UINT __stdcall CreateDatabases_Access_Immediate (MSIHANDLE hInstall)
 Table-driven immediate custom action that creates Microsoft Access database. Use in combination with AppSecInc.Wix.Extensions.DataSourceExtension. More...
 
CA_API UINT __stdcall CreateDatabases_Access_Deferred (MSIHANDLE hInstall)
 Table-driven deferred custom action that creates Microsoft Access database. Use in combination with AppSecInc.Wix.Extensions.DataSourceExtension. More...
 

Function Documentation

CA_API UINT __stdcall ConfigDataSource_Access ( MSIHANDLE  hInstall)

Create, configure or remove a Microsoft Access DSN using Microsoft Access Driver (*.MDB)

Parameters
DSN_NAMEName for the new DSN
DSN_ACCESS_DBQComplete path to the .mdb database file. Note that creating the DSN will succeed with the wrong path, but the database will be inaccessible.
DSN_ACCESS_UIDOptional database username.
DSN_ACCESS_PWDOptional database password.
ODBC_FLAGODBC flag for SQLConfigDataSource, one of the following:
  • ODBC_ADD_DSN: create a user DSN
  • ODBC_CONFIG_DSN: configure a user DSN
  • ODBC_REMOVE_DSN: remove a user DSN
  • ODBC_ADD_SYS_DSN: create a system DSN
  • ODBC_CONFIG_SYS_DSN: configure a system DSN
  • ODBC_REMOVE_SYS_DSN: remove a system DSN
  • ODBC_REMOVE_DEFAULT_DSN: remove the default DSN
CA_API UINT __stdcall CreateDatabases_Access_Deferred ( MSIHANDLE  hInstall)

Table-driven deferred custom action that creates Microsoft Access database. Use in combination with AppSecInc.Wix.Extensions.DataSourceExtension.

CA_API UINT __stdcall CreateDatabases_Access_Immediate ( MSIHANDLE  hInstall)

Table-driven immediate custom action that creates Microsoft Access database. Use in combination with AppSecInc.Wix.Extensions.DataSourceExtension.



© Application Security Inc. - All Rights Reserved http://msiext.codeplex.com