http://bugs.winehq.org/show_bug.cgi?id=23810
Summary: 16-bit setup program can't find its files Product: Wine Version: 1.2 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: markk@clara.co.uk
Created an attachment (id=29869) --> (http://bugs.winehq.org/attachment.cgi?id=29869) Crossword Construction Kit 2.0
This bug applies to the installer for Crossword Construction Kit 2.0, as included on the "At Home With Your PC" CD-ROM #44.
Unpack the attached archive and run SETUP.EXE. Two text fields are shown in the window: Source points to the location you ran SETUP.EXE from (where the installation files are). Destination is C:\CWKIT by default. Click Start Installation. There is a dialog box saying "Program files not found at specified source."
I will attach (the hopefully relevant part of) a WINEDEBUG=+relay log when running SETUP.EXE. For that log, I ran SETUP.EXE from the original CD, however the same error appears regardless of where you run it from.
http://bugs.winehq.org/show_bug.cgi?id=23810
--- Comment #1 from markk@clara.co.uk 2010-07-27 15:44:27 --- Created an attachment (id=29870) --> (http://bugs.winehq.org/attachment.cgi?id=29870) Extract from +relay log
http://bugs.winehq.org/show_bug.cgi?id=23810
--- Comment #2 from markk@clara.co.uk 2010-07-27 15:45:46 --- Created an attachment (id=29871) --> (http://bugs.winehq.org/attachment.cgi?id=29871) Full +relay log, compressed with bzip2
http://bugs.winehq.org/show_bug.cgi?id=23810
markk@clara.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download CC| |markk@clara.co.uk
http://bugs.winehq.org/show_bug.cgi?id=23810
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #3 from Andrew Nguyen arethusa26@gmail.com 2010-07-27 21:14:17 --- The installer does:
trace:int21:INT21_CreateFile CreateFile called: function=3d, action=01, access/share=0002, create flags=0000, file=Z:\home\arethusa\DOWN~NTG\cwkit\Sample\cwf.exe. trace:file:CreateFileW L"Z:\home\arethusa\DOWN~NTG\cwkit\Sample\cwf.exe" GENERIC_READ GENERIC_WRITE FILE_SHARE_READ FILE_SHARE_WRITE creation 3 attributes 0x0 ... warn:file:CreateFileW Unable to create file L"Z:\home\arethusa\DOWN~NTG\cwkit\Sample\cwf.exe" (status c0000022) trace:file:CreateFileW returning 0xffffffff trace:int21:DOSVM_Int21Handler failed, error 5
CWF.EXE has the permissions:
-r-xr-xr-x. 1 arethusa arethusa 372992 1995-06-11 21:00 CWF.EXE
Probably the application expects the old (circa Win9x) behavior of CreateFile where requesting write access succeeds on read-only media. After changing the permissions of the files, the installer gets further, hanging at "Creating Program Group".
http://bugs.winehq.org/show_bug.cgi?id=23810
--- Comment #4 from markk@clara.co.uk 2010-07-28 06:40:00 --- Aha.
Some other points worth noting: - The installer works correctly under Windows (Vista). - The same thing happens regardless of what the Wine Windows version is set to. - File permissions seem to matter less than whether the medium is read-only (write-protected or a CD-ROM). I tried mounting the CD with -o mode=777 so all files had rwx permissions, but the installer still fails.
http://bugs.winehq.org/show_bug.cgi?id=23810
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #5 from Andrew Nguyen arethusa26@gmail.com 2010-07-30 10:55:11 --- A patch that rectifies the compatibility hack for read/write file opens on read-only media for Win16 apps was committed:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=4e49518a38cf0447f7b608...
http://bugs.winehq.org/show_bug.cgi?id=23810
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.2.x
http://bugs.winehq.org/show_bug.cgi?id=23810
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org 2010-07-30 12:59:53 --- Closing bugs fixed in 1.3.0.
http://bugs.winehq.org/show_bug.cgi?id=23810
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.2.x |---
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2010-10-08 10:40:42 CDT --- Removing 1.2.x milestone from bugs fixed in 1.2.1.
https://bugs.winehq.org/show_bug.cgi?id=23810
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |win16 Fixed by SHA1| |4e49518a38cf0447f7b60813e10 | |0c4857ffb0537 CC| |focht@gmx.net