http://bugs.winehq.org/show_bug.cgi?id=32137
--- Comment #2 from Qian Hong fracting@gmail.com 2012-12-13 13:45:31 CST --- Created attachment 42798 --> http://bugs.winehq.org/attachment.cgi?id=42798 Patch: Dirty hack
Confirming, a +relay,+snoop,+tid,+gdiplus,+profile trace show that GdipLoadImageFromFile try to open a file with completely wrong name, so GdipGetImage{Height,Width} pass zero value to *height/*width, that is why we get a 'divide by zero'.
I'm not very sure why GdipLoadImageFromFile get a wrong file name, it seems that there is something wrong with GetPrivateProfileSection. I've attached a dirty hack which make this installer happy.