https://bugs.winehq.org/show_bug.cgi?id=46125
Bug ID: 46125 Summary: DOS input redirection attempts are not passed into DOSBox temporary config file Product: Wine Version: 3.0.3 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: dos Assignee: wine-bugs@winehq.org Reporter: s.maddox@lantizia.me.uk Distribution: ---
Created attachment 62771 --> https://bugs.winehq.org/attachment.cgi?id=62771 Screenshot of DOSBox running when prompted to by Wine
Lo,
So I basically stumbled upon this one when trying to apply a patch for a game, although the patch was an InstallShield 5 program (self-extracting with PackageForTheWeb) - the patching would actually be done by it just calling an exe->pif->bat that runs a 16-bit zip.exe program which updates a ZIP file of the games with some replacement files.
I've worked out this is a Wine issue and there is an easier way to test it (as the patch above would need you to have the game installed etc...)
# Grab an old 16-bit version of zip.exe (or anything that takes stdin using the '<' symbol) wget ftp://retronn.de/mirrors/garbo/pc/goldies/zip20x.zip unzip zip20x.zip zip.exe
# Run it wine cmd /c 'zip -@ x.zip < zip.exe'
# Witness what you will see in the screenshot I have attached.
The '< zip.exe' portion of the command just isn't written to the DOSBox temporary config file... (e.g. /home/lantizia/.wine/dosdevices/c:/users/lantizia/Temp/cfg4950.tmp )
[autoexec] mount -z y mount c /home/lantizia/.wine/dosdevices/c: mount d /home/lantizia/.wine/dosdevices/d: mount e /home/lantizia/.wine/dosdevices/e: mount z /home/lantizia/.wine/dosdevices/z: Z: cd \home\lantizia\DOWN~NTG config -securemode Z:\home\lantizia\DOWN~NTG\zip.exe -@ x.zip exit