The "TableExportToIdt" Command |
This command allows you to export some or all tables in a database (in ".idt" format), all binary streams will also be extracted. The "Export to .IDT" facility (or "ORCA") are the easiest ways of manually exporting. You should probably read the "IDT Export Flakey" section.
To extract all files out of CAB files you could unarchive any extracted ".cab" files but its easier to use the installed "MSI MENU... do do this (administrative install).
This command takes these parameters:
The regular expression "B.* matches any table which starts with upper case "B", and ".*B.* would match any table which contains an upper case "B".
The default for this parameter can be set via the DEFAULT_TABLEIE_EXPORT_DIRECTORY macro.
EXAMPLE - Import .IDT files |
This example is the complete script required to export all tables in a database:
;--- Include the correct support (MAKEMSI.MMH/DEPT.MMH for MSI Creation) ---- #include "OpenMsi.MMH" ;--- Do the work ------------------------------------------------------------ <$Msi "UISAMPLE.msi" ReadOnly="Y"> <$TableExportToIdt> ;;All "normal" tables <$TableExportToIdt TABLE="_SummaryInformation"> ;;Output summary information <$TableExportToIdt TABLE="_ForceCodepage"> ;;Output database code page information <$/Msi>