msiquery.h header

This header is used by Application Installation and Servicing. For more information, see:

Functions

Title Description
MsiCreateRecord The MsiCreateRecord function creates a new record object with the specified number of fields. This function returns a handle that should be closed using MsiCloseHandle.
MsiCreateTransformSummaryInfoA The MsiCreateTransformSummaryInfo function creates summary information of an existing transform to include validation and error conditions. Execution of this function sets the error record, which is accessible by using MsiGetLastErrorRecord.
MsiCreateTransformSummaryInfoW The MsiCreateTransformSummaryInfo function creates summary information of an existing transform to include validation and error conditions. Execution of this function sets the error record, which is accessible by using MsiGetLastErrorRecord.
MsiDatabaseApplyTransformA The MsiDatabaseApplyTransform function applies a transform to a database.
MsiDatabaseApplyTransformW The MsiDatabaseApplyTransform function applies a transform to a database.
MsiDatabaseCommit The MsiDatabaseCommit function commits changes to a database.
MsiDatabaseExportA The MsiDatabaseExport function exports a Microsoft Installer table from an open database to a Text Archive File.
MsiDatabaseExportW The MsiDatabaseExport function exports a Microsoft Installer table from an open database to a Text Archive File.
MsiDatabaseGenerateTransformA The MsiDatabaseGenerateTransform function generates a transform file of differences between two databases.
MsiDatabaseGenerateTransformW The MsiDatabaseGenerateTransform function generates a transform file of differences between two databases.
MsiDatabaseGetPrimaryKeysA The MsiDatabaseGetPrimaryKeys function returns a record containing the names of all the primary key columns for a specified table. This function returns a handle that should be closed using MsiCloseHandle.
MsiDatabaseGetPrimaryKeysW The MsiDatabaseGetPrimaryKeys function returns a record containing the names of all the primary key columns for a specified table. This function returns a handle that should be closed using MsiCloseHandle.
MsiDatabaseImportA The MsiDatabaseImport function imports an installer text archive file into an open database table.
MsiDatabaseImportW The MsiDatabaseImport function imports an installer text archive file into an open database table.
MsiDatabaseIsTablePersistentA The MsiDatabaseIsTablePersistent function returns an enumeration that describes the state of a specific table.
MsiDatabaseIsTablePersistentW The MsiDatabaseIsTablePersistent function returns an enumeration that describes the state of a specific table.
MsiDatabaseMergeA The MsiDatabaseMerge function merges two databases together, which allows duplicate rows.
MsiDatabaseMergeW The MsiDatabaseMerge function merges two databases together, which allows duplicate rows.
MsiDatabaseOpenViewA The MsiDatabaseOpenView function prepares a database query and creates a view object. This function returns a handle that should be closed using MsiCloseHandle.
MsiDatabaseOpenViewW The MsiDatabaseOpenView function prepares a database query and creates a view object. This function returns a handle that should be closed using MsiCloseHandle.
MsiDoActionA The MsiDoAction function executes a built-in action, custom action, or user-interface wizard action.
MsiDoActionW The MsiDoAction function executes a built-in action, custom action, or user-interface wizard action.
MsiEnableUIPreview The MsiEnableUIPreview function enables preview mode of the user interface to facilitate authoring of user-interface dialog boxes. This function returns a handle that should be closed using MsiCloseHandle.
MsiEnumComponentCostsA The MsiEnumComponentCosts function enumerates the disk-space per drive required to install a component.
MsiEnumComponentCostsW The MsiEnumComponentCosts function enumerates the disk-space per drive required to install a component.
MsiEvaluateConditionA The MsiEvaluateCondition function evaluates a conditional expression containing property names and values.
MsiEvaluateConditionW The MsiEvaluateCondition function evaluates a conditional expression containing property names and values.
MsiFormatRecordA The MsiFormatRecord function formats record field data and properties using a format string.
MsiFormatRecordW The MsiFormatRecord function formats record field data and properties using a format string.
MsiGetActiveDatabase The MsiGetActiveDatabase function returns the active database for the installation. This function returns a read-only handle that should be closed using MsiCloseHandle.
MsiGetComponentStateA The MsiGetComponentState function obtains the state of a component.
MsiGetComponentStateW The MsiGetComponentState function obtains the state of a component.
MsiGetDatabaseState The MsiGetDatabaseState function returns the state of the database.
MsiGetFeatureCostA The MsiGetFeatureCost function returns the disk space required by a feature and its selected children and parent features.
MsiGetFeatureCostW The MsiGetFeatureCost function returns the disk space required by a feature and its selected children and parent features.
MsiGetFeatureStateA The MsiGetFeatureState function gets the requested state of a feature.
MsiGetFeatureStateW The MsiGetFeatureState function gets the requested state of a feature.
MsiGetFeatureValidStatesA The MsiGetFeatureValidStates function returns a valid installation state.
MsiGetFeatureValidStatesW The MsiGetFeatureValidStates function returns a valid installation state.
MsiGetLanguage The MsiGetLanguage function returns the numeric language of the installation that is currently running.
MsiGetLastErrorRecord The MsiGetLastErrorRecord function returns the error record that was last returned for the calling process. This function returns a handle that should be closed using MsiCloseHandle.
MsiGetMode The MsiGetMode function is used to determine whether the installer is currently running in a specified mode, as listed in the table.
MsiGetPropertyA The MsiGetProperty function gets the value for an installer property.
MsiGetPropertyW The MsiGetProperty function gets the value for an installer property.
MsiGetSourcePathA The MsiGetSourcePath function returns the full source path for a folder in the Directory table.
MsiGetSourcePathW The MsiGetSourcePath function returns the full source path for a folder in the Directory table.
MsiGetSummaryInformationA The MsiGetSummaryInformation function obtains a handle to the _SummaryInformation stream for an installer database. This function returns a handle that should be closed using MsiCloseHandle.
MsiGetSummaryInformationW The MsiGetSummaryInformation function obtains a handle to the _SummaryInformation stream for an installer database. This function returns a handle that should be closed using MsiCloseHandle.
MsiGetTargetPathA The MsiGetTargetPath function returns the full target path for a folder in the Directory table.
MsiGetTargetPathW The MsiGetTargetPath function returns the full target path for a folder in the Directory table.
MsiOpenDatabaseA The MsiOpenDatabase function opens a database file for data access. This function returns a handle that should be closed using MsiCloseHandle.
MsiOpenDatabaseW The MsiOpenDatabase function opens a database file for data access. This function returns a handle that should be closed using MsiCloseHandle.
MsiPreviewBillboardA The MsiPreviewBillboard function displays a billboard with the host control in the displayed dialog box.
MsiPreviewBillboardW The MsiPreviewBillboard function displays a billboard with the host control in the displayed dialog box.
MsiPreviewDialogA The MsiPreviewDialog function displays a dialog box as modeless and inactive.
MsiPreviewDialogW The MsiPreviewDialog function displays a dialog box as modeless and inactive.
MsiProcessMessage The MsiProcessMessage function sends an error record to the installer for processing.
MsiRecordClearData The MsiRecordClearData function sets all fields in a record to null.
MsiRecordDataSize The MsiRecordDataSize function returns the length of a record field. The count does not include the terminating null character.
MsiRecordGetFieldCount Returns the number of fields in a record.
MsiRecordGetInteger The MsiRecordGetInteger function returns the integer value from a record field.
MsiRecordGetStringA The MsiRecordGetString function returns the string value of a record field.
MsiRecordGetStringW The MsiRecordGetString function returns the string value of a record field.
MsiRecordIsNull Reports a null record field.
MsiRecordReadStream The MsiRecordReadStream function reads bytes from a record stream field into a buffer.
MsiRecordSetInteger Sets a record field to an integer field.
MsiRecordSetStreamA The MsiRecordSetStream function sets a record stream field from a file. Stream data cannot be inserted into temporary fields.
MsiRecordSetStreamW The MsiRecordSetStream function sets a record stream field from a file. Stream data cannot be inserted into temporary fields.
MsiRecordSetStringA The MsiRecordSetString function copies a string into the designated field.
MsiRecordSetStringW The MsiRecordSetString function copies a string into the designated field.
MsiSequenceA The MsiSequence function executes another action sequence, as described in the specified table.
MsiSequenceW The MsiSequence function executes another action sequence, as described in the specified table.
MsiSetComponentStateA The MsiSetComponentState function sets a component to the requested state.
MsiSetComponentStateW The MsiSetComponentState function sets a component to the requested state.
MsiSetFeatureAttributesA The MsiSetFeatureAttributes function can modify the default attributes of a feature at runtime. Note that the default attributes of features are authored in the Attributes column of the Feature table.
MsiSetFeatureAttributesW The MsiSetFeatureAttributes function can modify the default attributes of a feature at runtime. Note that the default attributes of features are authored in the Attributes column of the Feature table.
MsiSetFeatureStateA The MsiSetFeatureState function sets a feature to a specified state.
MsiSetFeatureStateW The MsiSetFeatureState function sets a feature to a specified state.
MsiSetInstallLevel The MsiSetInstallLevel function sets the installation level for a full product installation.
MsiSetMode The MsiSetMode function sets an internal engine Boolean state.
MsiSetPropertyA The MsiSetProperty function sets the value for an installation property.
MsiSetPropertyW The MsiSetProperty function sets the value for an installation property.
MsiSetTargetPathA The MsiSetTargetPath function sets the full target path for a folder in the Directory table.
MsiSetTargetPathW The MsiSetTargetPath function sets the full target path for a folder in the Directory table.
MsiSummaryInfoGetPropertyA The MsiSummaryInfoGetProperty function gets a single property from the summary information stream.
MsiSummaryInfoGetPropertyCount The MsiSummaryInfoGetPropertyCount function returns the number of existing properties in the summary information stream.
MsiSummaryInfoGetPropertyW The MsiSummaryInfoGetProperty function gets a single property from the summary information stream.
MsiSummaryInfoPersist The MsiSummaryInfoPersist function writes changed summary information back to the summary information stream.
MsiSummaryInfoSetPropertyA The MsiSummaryInfoSetProperty function sets a single summary information property.
MsiSummaryInfoSetPropertyW The MsiSummaryInfoSetProperty function sets a single summary information property.
MsiVerifyDiskSpace The MsiVerifyDiskSpace function checks to see if sufficient disk space is present for the current installation.
MsiViewClose The MsiViewClose function releases the result set for an executed view.
MsiViewExecute The MsiViewExecute function executes a SQL view query and supplies any required parameters.
MsiViewFetch The MsiViewFetch function fetches the next sequential record from the view. This function returns a handle that should be closed using MsiCloseHandle.
MsiViewGetColumnInfo The MsiViewGetColumnInfo function returns a record containing column names or definitions. This function returns a handle that should be closed using MsiCloseHandle.
MsiViewGetErrorA The MsiViewGetError function returns the error that occurred in the MsiViewModify function.
MsiViewGetErrorW The MsiViewGetError function returns the error that occurred in the MsiViewModify function.
MsiViewModify The MsiViewModify function updates a fetched record.