msitools issues
https://gitlab.gnome.org/GNOME/msitools/-/issues
2021-03-16T11:16:53Z
https://gitlab.gnome.org/GNOME/msitools/-/issues/32
msitools 0.101 broken on big-endian platforms
2021-03-16T11:16:53Z
Stephen Kitt
msitools 0.101 broken on big-endian platforms
This is separate from the build issue. On big-endian platforms, once the build issue is worked around, the tests fail:
```
$ ninja test
[0/1] Running all tests.
1/1 Tools tests ERROR 0.87s
The output from the failed tests:
1/...
This is separate from the build issue. On big-endian platforms, once the build issue is worked around, the tests fail:
```
$ ninja test
[0/1] Running all tests.
1/1 Tools tests ERROR 0.87s
The output from the failed tests:
1/1 Tools tests ERROR 0.87s
--- command ---
11:07:43 BUILDDIR='/home/skitt/msitools-0.101/obj-s390x-linux-gnu' SRCDIR='/home/skitt/msitools-0.101' /home/skitt/msitools-0.101/subprojects/bats-core/bin/bats --tap /home/skitt/msitools-0.101/tests
--- stdout ---
1..28
not ok 1 testdatabase shouldn't print fail
# (in test file /home/skitt/msitools-0.101/tests/tools.bats, line 8)
# `! echo "$output" | grep ^FAIL' failed
# FAIL: r == LIBMSI_RESULT_SUCCESS
# FAIL: r == LIBMSI_RESULT_SUCCESS
# FAIL: r == LIBMSI_RESULT_SUCCESS
# FAIL: r == LIBMSI_RESULT_SUCCESS
# FAIL: hquery
# FAIL: r
# FAIL: hrec
# FAIL: r == LIBMSI_RESULT_SUCCESS
# FAIL: str
# FAIL: in
# FAIL: g_str_equal(buf, "test.txt\n")
# rm -rf /tmp/tmp.STmNaWR0gR
ok 2 testrecord shouldn't print fail
ok 3 testsuminfo shouldn't print fail
ok 4 msibuild - invalid command line
ok 5 msibuild - empty MSI
ok 6 msibuild - UUID
ok 7 msibuild - UUID does not change
ok 8 msibuild - Set summary
ok 9 msibuild - add stream
not ok 10 msibuild - add tables
# (in test file /home/skitt/msitools-0.101/tests/tools.bats, line 94)
# `[ "$output" = "_SummaryInformation' failed
# rm -rf /tmp/tmp.8saNLehKPO
not ok 11 msibuild - add tables and definitions
# (in test file /home/skitt/msitools-0.101/tests/tools.bats, line 103)
# `[ "$output" = "$exp" ]' failed
# rm -rf /tmp/tmp.SjeZwyEaiV
not ok 12 msibuild - seperate invocations
# (in test file /home/skitt/msitools-0.101/tests/tools.bats, line 112)
# `[ "$output" = "$exp" ]' failed
# rm -rf /tmp/tmp.zZrwE39i5a
not ok 13 msibuild - add table with data
# (in test file /home/skitt/msitools-0.101/tests/tools.bats, line 119)
# `[ "$output" = "$exp" ]' failed
# rm -rf /tmp/tmp.Tb1cCiRtaW
not ok 14 msibuild - add table with stream
# (in test file /home/skitt/msitools-0.101/tests/tools.bats, line 126)
# `[ "$out" = "Icon.firefox.16.0.2.0.ico.exe" ]' failed
# rm -rf /tmp/tmp.YT7ThUoAE3
ok 15 msibuild - update _SummaryInformation table
ok 16 wixl - invalid command line
ok 17 wixl - WiX tutorial SampleFirst
ok 18 wixl - SampleUser
not ok 19 wixl - SampleMachine
# (in test file /home/skitt/msitools-0.101/tests/wixl.bats, line 43)
# `echo "$output" | grep -q 'ALLUSERS 1'' failed
# rm -rf /tmp/tmp.l2wzWmlQlW
not ok 20 wixl - stable component GUIDs
# (in test file /home/skitt/msitools-0.101/tests/wixl.bats, line 51)
# `out=$(echo "$output" | sed 's/reg\w*'// | sort | grep INSERT)' failed
# rm -rf /tmp/tmp.6W3dvRlDZG
ok 21 wixl - WiX tutorial SampleFragment
ok 22 wixl - preprocessor variables
not ok 23 wixl - preprocessor include & condition
# (in test file /home/skitt/msitools-0.101/tests/wixl.bats, line 122)
# `[ "$output" = "IncludeWarn.wxi:3: warning: IncludeWarn is included" ]' failed
# rm -rf /tmp/tmp.7bpiVN6l9M
ok 24 wixl - system include directory
ok 25 wixl - ARP example
ok 26 wixl - Binary/CustomAction
ok 27 wixl-heat - simple
ok 28 wixl - XML error
--- stderr ---
(test program exited with status code 1)
-------
Summary of Failures:
1/1 Tools tests ERROR 0.87s
1/1 Tools tests ERROR 0.87s
Ok: 0
Expected Fail: 0
Fail: 1
Unexpected Pass: 0
Skipped: 0
Timeout: 0
Full log written to /home/skitt/msitools-0.101/obj-s390x-linux-gnu/meson-logs/testlog.txt
FAILED: meson-test
/usr/bin/meson test --no-rebuild --print-errorlogs
ninja: build stopped: subcommand failed.
```
See the corresponding [testlog.txt](/uploads/73ceccc63acbec1903986414c38af1f0/testlog.txt).
https://gitlab.gnome.org/GNOME/msitools/-/issues/27
ignore case for RegistryValue.Type in wxs files
2020-11-17T09:29:51Z
Marc-André Lureau
ignore case for RegistryValue.Type in wxs files
Benjamin Hubert [reporter] 2015-11-07 12:14:03 UTC
When using "multiString" (with an uppercase S) for the Type-attribute of RegistryValue elements, wixl ends up with the following error:
Can't convert string to enum
1. Please add s...
Benjamin Hubert [reporter] 2015-11-07 12:14:03 UTC
When using "multiString" (with an uppercase S) for the Type-attribute of RegistryValue elements, wixl ends up with the following error:
Can't convert string to enum
1. Please add some further information to this error message. At least the string that caused this error, maybe also the line, the element or some other information.
2. "multiString" is a valid value for this attribute [1] but wixl only supports "multistring" with a lowercase s. I don't think wixl should be case sensitive here.
[1] http://wixtoolset.org/documentation/manual/v3/xsd/wix/registryvalue.html
(from https://bugzilla.gnome.org/show_bug.cgi?id=757729)