summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2012-12-19 14:30:28 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2013-01-09 13:56:07 +0100
commit3bdc057d306e72eca2e561be783d0532d8fd643d (patch)
treeab26976f6eaa60f4bbdfa7346970c27f2cbc83f5 /tests
parent58c2f7ecf68c009060b92a36f1bf8201489482c4 (diff)
downloadmsitools-3bdc057d306e72eca2e561be783d0532d8fd643d.tar.gz
msitools-3bdc057d306e72eca2e561be783d0532d8fd643d.tar.xz
msitools-3bdc057d306e72eca2e561be783d0532d8fd643d.zip
msibuild: fix loading the _SummaryInformation table
Do not overwrite the loaded table with old data.
Diffstat (limited to 'tests')
-rw-r--r--tests/data/_SummaryInformation.idt17
-rw-r--r--tests/testsuite.at20
2 files changed, 37 insertions, 0 deletions
diff --git a/tests/data/_SummaryInformation.idt b/tests/data/_SummaryInformation.idt
new file mode 100644
index 0000000..fe17436
--- /dev/null
+++ b/tests/data/_SummaryInformation.idt
@@ -0,0 +1,17 @@
+PropertyId Value
+i2 l255
+_SummaryInformation PropertyId
+1 1252
+2 Installation Database
+3 Acme's Foobar 1.0 Installer
+4 Acme Ltd.
+5 Installer
+6 Foobar is a registered trademark of Acme Ltd.
+7 Intel;1033
+9 {D045A303-F114-4A3B-A01D-24FC2D2A67D7}
+12 2012/12/18 15:12:50
+13 2012/12/18 15:12:50
+14 100
+15 2
+18 Windows Installer XML (3.7.1119.0)
+19 2
diff --git a/tests/testsuite.at b/tests/testsuite.at
index 9a9d226..01ac62b 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -211,3 +211,23 @@ Binary
])
AT_CLEANUP
+AT_SETUP([Update _SummaryInformation table])
+AT_MSIDATA([_SummaryInformation.idt])
+AT_CHECK_MSIBUILD([-i out.msi _SummaryInformation.idt])
+AT_CHECK_MSIINFO([suminfo out.msi], [0],
+[Title: Installation Database
+Subject: Acme's Foobar 1.0 Installer
+Author: Acme Ltd.
+Keywords: Installer
+Comments: Foobar is a registered trademark of Acme Ltd.
+Template: Intel;1033
+Revision number (UUID): {D045A303-F114-4A3B-A01D-24FC2D2A67D7}
+Created: Wed Dec 18 15:12:50 3912
+Last saved: Wed Dec 18 15:12:50 3912
+Version: 100 (64)
+Source: 2 (2)
+Restrict: 0 (0)
+Application: Windows Installer XML (3.7.1119.0)
+Security: 2 (2)
+])
+AT_CLEANUP