summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2012-12-19 12:10:45 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2013-01-09 13:56:07 +0100
commit58c2f7ecf68c009060b92a36f1bf8201489482c4 (patch)
treef466768dfb1089f03867d65864db9975763d3748
parent82f273547b1d7c2cb01fd238ba6d0ac001ed15e9 (diff)
downloadmsitools-58c2f7ecf68c009060b92a36f1bf8201489482c4.tar.gz
msitools-58c2f7ecf68c009060b92a36f1bf8201489482c4.tar.xz
msitools-58c2f7ecf68c009060b92a36f1bf8201489482c4.zip
msiinfo: list special tables
-rw-r--r--tests/testsuite.at8
-rw-r--r--tools/msiinfo.c3
2 files changed, 9 insertions, 2 deletions
diff --git a/tests/testsuite.at b/tests/testsuite.at
index ce5b9d9..9a9d226 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -145,7 +145,9 @@ Binary
])
AT_CHECK_MSIBUILD([out.msi -i tables.txt])
AT_CHECK_MSIINFO([tables out.msi], [0],
-[Binary
+[_SummaryInformation
+_ForceCodepage
+Binary
])
AT_CLEANUP
@@ -203,7 +205,9 @@ Binary
])
AT_CHECK_MSIBUILD([-i out.msi tables.txt])
AT_CHECK_MSIINFO([tables out.msi], [0],
-[Binary
+[_SummaryInformation
+_ForceCodepage
+Binary
])
AT_CLEANUP
diff --git a/tools/msiinfo.c b/tools/msiinfo.c
index 9448ce0..7e9a8dd 100644
--- a/tools/msiinfo.c
+++ b/tools/msiinfo.c
@@ -242,7 +242,10 @@ static int cmd_tables(struct Command *cmd, int argc, char **argv, GError **error
if (*error)
goto end;
+ puts("_SummaryInformation");
+ puts("_ForceCodepage");
print_strings_from_query(query, error);
+
r = 0;
end: