https://bugs.winehq.org/show_bug.cgi?id=42798
Bug ID: 42798 Summary: MsiGetPatchInfoEx returns incorrect values for UNINSTALLABLE, PATCHSTATE properties Product: Wine Version: 2.5 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msi Assignee: wine-bugs@winehq.org Reporter: pgkos.bugzilla@yahoo.com Distribution: ArchLinux
On Windows, MsiGetPatchInfoEx for:
INSTALLPROPERTY_UNINSTALLABLE and INSTALLPROPERTY_PATCHSTATE
returns a number converted to a string consisting of ascii digits (0x30 - 0x39).
On Wine, this function returns raw DWORD registry value.
For example, if "Uninstallable" property has a DWORD value 0 in registry, Windows' MsiGetPatchInfoEx returns '0' (ascii digit 0x30), but Wine's implementation returns a null byte (0x00).
If necessary, I can send some C code demonstrating the bug.