http://bugs.winehq.org/show_bug.cgi?id=17665
--- Comment #4 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2009-11-15 15:57:41 --- Created an attachment (id=24771) --> (http://bugs.winehq.org/attachment.cgi?id=24771) patch/hack(?)
The attached patch fixes the bug. I don't know anything about msi, but my educated guess would be that code snippet:
if ( *pvalue & 0xffff0000 )
tries to check if *pvalue > 65536. That fails somehow, if *pvalue is 65535 the condition is true and an out of range value is thrown by msi.
A msi-guru might shed a light on this i guess