http://bugs.winehq.com/show_bug.cgi?id=685
*** shadow/685 Thu May 16 10:50:51 2002 --- shadow/685.tmp.19878 Thu May 16 10:50:51 2002 *************** *** 0 **** --- 1,37 ---- + +============================================================================+ + | Error loading Unreal Tournament type installers | + +----------------------------------------------------------------------------+ + | Bug #: 685 Product: Wine | + | Status: UNCONFIRMED Version: unspecified | + | Resolution: Platform: | + | Severity: normal OS/Version: All | + | Priority: P1 Component: wine-ipc | + +----------------------------------------------------------------------------+ + | Assigned To: wine-bugs@winehq.com | + | Reported By: Speeddymon@yahoo.com | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | Milestone: TargetMilestone: --- | + | URL: | + +============================================================================+ + | DESCRIPTION | + When attempting to run any Unreal Tournament type installer from the root + directory of the cd, i get an error along the lines of: + + err:PE_Import_fixups_module:D:\System\Setup.exe cannot load as winelib + application, D:\System\Setup.exe: no such file or directory. + + After 4 hours of debugging at 2am, i was (fortunately) able to find the cause. + + It appears that wine thinks that open_winelib_app should be called when the + installer (D:\Setup.exe) calls the real installer (D:\System\Setup.exe)... I + wasn't able to find a workaround for that but I was able to fix the problem + (hopefully without breaking anything) by adding a check for the filename that + is actually called by the installer. If it exists then it skips the if + statement that loads the called filename with the .so extension thereby + loading the correct file and allowing you to run the ut-type installers. I + also tested to make sure that the wine-bundled apps didnt break with this + running notepad and regedit, and they both loaded with many different command + lines from many different directories... + + Patch is below and being submitted to wine-patches... \ No newline at end of file