https://bugs.winehq.org/show_bug.cgi?id=51790
--- Comment #4 from Dmitry Timoshkov dmitry@baikal.ru --- (In reply to Hans Leidekker from comment #3)
Created attachment 71245 [details] patch
Does his patch help?
Thanks Hans. I can't at the moment test the affected intaller, but the code seems to include a reasonable subset of the GetBinaryTypeW implementation. Should it also handle STATUS_INVALID_IMAGE_WIN32/STATUS_INVALID_IMAGE_WIN64 like GetBinaryTypeW does (however I don't see where those can be returned from)?