[Bug 29806] Hype The Time Quest: DirectX Media (DXM) v6.0 runtime installer fails (advpack.ExecuteCab should extract the INF from CAB before running the install part)

WineHQ Bugzilla wine-bugs at winehq.org
Sat Apr 25 07:31:48 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=29806

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|http://driverscollection.co |https://web.archive.org/web
                   |m/?aid=2192                 |/20200425121253/https://ftp
                   |                            |.matrox.com/pub/mga/archive
                   |                            |/win_nt4/2001/nt4_vt153e.ex
                   |                            |e

--- Comment #5 from Anastasius Focht <focht at gmx.net> ---
Hello joaopa,

--- quote ---
Anastasius, when I do wine ./dxmedia.exe, I receive the following error
message. Can you confirm?
--- quote ---

the package installer needs parameters. If you look closely at my snippet from
comment #3

--- snip ---
$ WINEDEBUG=+tid,+seh,+relay wine ./DXMedia.exe -id:"Hype - The Time Quest"
--- snip ---

-id:<string>

Maybe I should have mentioned this more explicitly. Anyway, refreshing some
info/links here.

https://www.matrox.com/graphics/en/support/drivers/previous/video/

https://ftp.matrox.com/pub/mga/archive/win_nt4/2001/nt4_vt153e.exe

https://web.archive.org/web/20200425121253/https://ftp.matrox.com/pub/mga/archive/win_nt4/2001/nt4_vt153e.exe

--- snip ---
$ 7z l nt4_vt153e.exe 

Scanning the drive for archives:
1 file, 10466124 bytes (10221 KiB)

Listing archive: nt4_vt153e.exe

--
Path = nt4_vt153e.exe
Type = zip
Physical Size = 10466124
Embedded Stub Size = 30314

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2001-01-09 11:25:42 .R...          191          154  DATA.TAG
2001-01-09 11:25:54 .R...      4545553      4538570  data1.cab
1998-09-28 08:23:46 .R...      4703784      4575032  dxmedia.exe
1997-10-20 10:20:28 .R...         4525         2081  lang.dat
2001-01-09 11:25:54 .R...          496          173  layout.bin
1997-05-06 14:15:20 .R...          417          160  os.dat
2001-01-09 11:20:36 .R...        14156         4896  readme.txt
1997-12-05 15:07:12 .R...        24064        11383  Regsvr32.exe
2000-03-08 11:42:22 .R...        21769         3575  rrunner.ini
1998-07-15 17:31:36 .R...        76920        40601  RR_logo.bmp
1998-08-06 10:39:54 .R...        54550         1384  RR_logoS.bmp
1998-07-15 08:44:30 .R...       910136       651960  setup.bmp
1998-01-22 22:08:28 .R...        60416        30809  SETUP.EXE
2001-01-09 11:25:42 .R...           75           75  SETUP.INI
2000-04-18 11:08:28 .R...        74844        18763  setup.ins
2001-01-09 11:25:54 .R...           49           45  setup.lid
1998-08-06 11:01:12 .R...        57958         1401  setup16.bmp
1998-09-18 11:48:56 .R...         1764          359  tvent.reg
1999-03-09 17:33:22 .R...        50984         5515  tvt.reg
1998-01-22 21:54:50 .R...       290733       290004  _INST32I.EX_
1998-01-27 14:07:44 .R...         8704         3809  _ISDEL.EXE
1998-01-23 14:40:20 .R...        11264         3100  _SETUP.DLL
2001-01-09 11:25:40 .R...       203939       181110  _sys1.cab
2001-01-09 11:25:42 .R...       102701        68543  _user1.cab
------------------- ----- ------------ ------------  ------------------------
2001-01-09 11:25:54           11219992     10433502  24 files
--- snip ---

Extracting the package and dump contents again:

--- snip ---
$ 7z x nt4_vt153e.exe dxmedia.exe

$ 7z l dxmedia.exe 

Scanning the drive for archives:
1 file, 4703784 bytes (4594 KiB)

Listing archive: dxmedia.exe

--
Path = dxmedia.exe
Type = PE
Physical Size = 4703784
CPU = x86
Characteristics = Executable 32-bit NoRelocs NoLineNums NoLocalSyms
Created = 1998-09-24 18:40:35
Headers Size = 1024
Checksum = 4737078
Image Size = 4718592
Section Alignment = 4096
File Alignment = 512
Code Size = 18944
Initialized Data Size = 4690432
Uninitialized Data Size = 0
Linker Version = 6.0
OS Version = 4.0
Image Version = 0.0
Subsystem Version = 4.0
Subsystem = Windows GUI
Stack Reserve = 1048576
Stack Commit = 4096
Heap Reserve = 1048576
Heap Commit = 4096
Image Base = 4194304
----
Path = .rsrc/BINARY/202
Size = 1326416
Packed Size = 1326416
--
Path = .rsrc/BINARY/202
Type = Cab
Physical Size = 1326416
Method = MSZip
Blocks = 1
Volumes = 1
Volume Index = 0
ID = 13661

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
1998-09-02 08:55:36 ....A        11149               dxmedia.inf
1998-09-02 08:02:00 ....A        42256               mciqtz32.dll
1998-09-02 08:28:10 ....A        67856               amstream.dll
1998-09-02 08:28:10 ....A        53008               devenum.dll
1998-09-02 08:28:10 ....A       746768               quartz.dll
1998-09-02 08:28:20 ....A        66320               mpg2splt.ax
1998-09-02 08:02:02 ....A       155408               qcap.dll
1998-09-02 08:02:02 ....A       194320               qcut.dll
1998-09-02 08:02:02 ....A       207120               qdv.dll
1998-09-02 08:02:04 ....A       247568               qdvd.dll
1998-09-02 08:28:16 ....A      1088272               danim.dll
1998-08-17 09:21:54 ....A        11776               mciqtz.drv
1998-08-17 09:21:56 ....A         5672               quartz.vxd
1998-08-17 09:21:56 ....A        10240               vidx16.dll
------------------- ----- ------------ ------------  ------------------------
1998-09-02 08:55:36            2907733      4703784  14 files
--- snip ---

Creating new 32-bit WINEPREFIX and using 'winecfg' to set WinVer to 'Windows NT
4.0' (supported since Wine 5.7 release):

--- snip ---
$ rm -rf ~/.wine
$ export WINEARCH=win32 && winecfg /v nt40
--- snip ---

--- snip ---
...
002d:Call KERNEL32.CreateFileA(00409cb8
"C:\\users\\focht\\Temp\\~dxmcab~\\support.cab",40000000,00000000,00000000,00000002,00000080,00000000)
ret=00402145
...
002d:Ret  KERNEL32.CreateFileA() retval=00000068 ret=00402145
002d:Call KERNEL32.SizeofResource(00400000,0040d3e8) ret=0040216c
002d:Ret  KERNEL32.SizeofResource() retval=0006bf0c ret=0040216c
002d:Call KERNEL32.WriteFile(00000068,00495730,0006bf0c,018ef5cc,00000000)
ret=0040217b
...
002d:Ret  KERNEL32.WriteFile() retval=00000001 ret=0040217b
002d:Call KERNEL32.CloseHandle(00000068) ret=00402185
...
002d:Ret  KERNEL32.CloseHandle() retval=00000001 ret=00402185
...
002d:Call advpack.ExecuteCab(ffffffff,018ef4c0,00000000) ret=00401919
002d:trace:advpack:ExecuteCabA (FFFFFFFF, 018EF4C0, 00000000)
002d:Call ntdll.RtlCreateUnicodeStringFromAsciiz(018ef454,0040a830
"C:\\users\\focht\\Temp\\~dxmcab~\\support.cab") ret=00385491
...
002d:trace:advpack:ExecuteCabW (FFFFFFFF, 018EF23C, 00000000)
002d:fixme:advpack:ExecuteCabW Cab archive not extracted!
...
002d:Call setupapi.SetupOpenInfFileW(00edfd20
L"C:\\users\\focht\\Temp\\~dxmcab~\\support.inf",00000000,00000002,00000000)
ret=00385a3c
...
002d:Call KERNEL32.CreateFileW(00ee0f90
L"C:\\users\\focht\\Temp\\~dxmcab~\\support.inf",80000000,00000001,00000000,00000003,00000000,00000000)
ret=1001b4ae
...
002d:Ret  KERNEL32.CreateFileW() retval=ffffffff ret=1001b4ae 
--- snip ---

Analysis from 2014 still applies.

https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/advpack/install.c#l666

$ wine --version
wine-5.7

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list