Dumping a Windows Installer database |
Obviously the "MsiDiff.VBS" and "Export to .IDT" tools are very handy but at times you might wish to do something like the following to automatically extract certain information:
;--- 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>