http://bugs.winehq.org/show_bug.cgi?id=20112
Summary: Cannot install Directx on Fedora 11 with 64-bit wine Product: Wine Version: 1.1.29 Platform: PC URL: http://www.microsoft.com/downloads/details.aspx?displa ylang=en&FamilyID=04ac064b-00d1-474e-b7b1-442d8712d553 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: mail@robwhalley.co.uk
Background: Using Steam, I'm trying to start "Secret of Monkey Island Special Edition". Before it can start for the first time, the program tries to install DirectX. This is not successful so the game cannot be loaded.
Have tried installing the DirectX setup files manually and via winetricks but with no luck.
Using wine package 1.1.29-3.fc11 @updates-testing
Error returned: Trying to load PE image for unsupported architecture (AMD-64) wine: could not load L"C:\windows\temp\DX1a3d.tmp\infinst.exe": Bad EXE format for
Investigation details: The problem seems to be related to wine choosing the correct binary to begin with, then being unable to run a 64-bit binary which is also part of the install (i.e. it uses wine32 all of the time, when some of the time it should be using wine64).
Looking at the behaviour of wine, it correctly identifies that DXSETUP.exe is a 32-bit file and uses wine32 as expected. However, there is an executable file that is supposed to run as part of the install:
infinst.exe: PE32+ executable for MS Windows (GUI) Mono/.Net assembly
This is a 64-bit file so wine32 chokes on it and the install fails. Is this restricted to Fedora 11 or is it common to any wine environment where wine32 and wine64 are present?
The infinst.exe application can be run successfully using wine64 infinst.exe and simply returns: fixme:heap:HeapSetInformation 0x7f98ba590000 0 0x7f98bcd4fd10 4
If wine32 infinst.exe is run, it returns: Trying to load PE image for unsupported architecture (AMD-64) Trying to load PE image for unsupported architecture (AMD-64) wine: could not load L"H:\Download\Windows\DX\infinst.exe": Bad EXE format for
Additional information: The temporary folder (shown above) that is created when the files are extracted disappear too quickly to be looked at in detail. I got a better look at infinst.exe by extracting all the cab files with:
#!/bin/sh for file in *.cab do cabextract "$file" done