Working with Records

Working with Records

The installer supplies functions that manipulate the records in an installation database. These functions can be used in conjunction with the functions described in Working with Queries to make actual changes in a database.

The following functions create or remove records:

  • To create a new record for a database, call the MsiCreateRecord function.
  • To clear data from a record, set each field to null by calling the MsiRecordClearData function.

The following functions fill specified fields of records:

The following functions read values from specified fields of records:

The following functions are informational record functions:

  • To get the number of fields a record contains, call the MsiRecordGetFieldCount function.
  • To get the size of a field, call the MsiRecordDataSize function. The return value of MsiRecordDataSize is sensitive to the field type.



Community Additions

© 2016 Microsoft