http://bugs.winehq.org/show_bug.cgi?id=22812
Summary: mt under wine corrupts executables Product: Wine Version: 1.1.44 Platform: x86 URL: http://ghostscript.com/~hintak/wine-debug/ OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: loader AssignedTo: wine-bugs@winehq.org ReportedBy: htl10@users.sourceforge.net
part of ghostscript's building process runs:
mt -nologo -manifest psi/dwsetup_x86.manifest -outputresource:setupgs.exe;#1 mt -nologo -manifest psi/dwuninst_x86.manifest -outputresource:uninstgs.exe;#1
This step corrupts executables under wine and they gain a wrong image size; both vista and win7 then complains they are not valid win32 applications. See discussion on wine-devel mailing list.
I have modified the makefiles slightly so that setupgs.exe and uninstgs.exe are saved to setupgs.exe.bak and uninstgs.exe.bak before running mt. So the two *.bak files can be found in:
http://ghostscript.com/~hintak/wine-debug/vista-bins.zip and the manifests in: http://ghostscript.com/~hintak/wine-debug/dw_manifests.zip
and one can compare running mt against them with the vista executables, also in that zip file.