msilib.Database.OpenView()

Database.OpenView(sql) Return a view object, by calling MSIDatabaseOpenView(). sql is the SQL statement to execute.

msilib.Database.GetSummaryInformation()

Database.GetSummaryInformation(count) Return a new summary information object, by calling MsiGetSummaryInformation(). count is the maximum number of updated values.

msilib.Database.Commit()

Database.Commit() Commit the changes pending in the current transaction, by calling MSIDatabaseCommit().

msilib.CreateRecord()

msilib.CreateRecord(count) Return a new record object by calling MSICreateRecord(). count is the number of fields of the record.

msilib.Control.mapping()

mapping(event, attribute) Make an entry into the EventMapping table for this control.

msilib.Control.event()

event(event, argument, condition=1, ordering=None) Make an entry into the ControlEvent table for this control.

msilib.Control.condition()

condition(action, condition) Make an entry into the ControlCondition table for this control.

msilib.Control

class msilib.Control(dlg, name) Base class of the dialog controls. dlg is the dialog object the control belongs to, and name is the control’s name. event(event, argument, condition=1, ordering=None) Make an entry into the ControlEvent table for this control. mapping(event, attribute) Make an entry into the EventMapping table for this control. condition(action, condition) Make an entry into the ControlCondition table for this control.

msilib.CAB.commit()

commit(database) Generate a CAB file, add it as a stream to the MSI file, put it into the Media table, and remove the generated file from the disk.

msilib.CAB.append()

append(full, file, logical) Add the file with the pathname full to the CAB file, under the name logical. If there is already a file named logical, a new file name is created. Return the index of the file in the CAB file, and the new name of the file inside the CAB file.