http://bugs.winehq.org/show_bug.cgi?id=29827
Bug #: 29827 Summary: Where's Wally? The Fantastic Journey gives 'File not found' when running setup.exe Product: Wine Version: 1.3.34 Platform: x86 OS/Version: Linux Status: NEW Keywords: Installer, regression Severity: normal Priority: P2 Component: kernel32 AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com CC: julliard@winehq.org Blocks: 29130 Classification: Unclassified Regression SHA1: fe7652d0aff8a3c419190f51031a40af81c9de3c
Regression, introduced by: fe7652d0aff8a3c419190f51031a40af81c9de3c is the first bad commit commit fe7652d0aff8a3c419190f51031a40af81c9de3c Author: Alexandre Julliard julliard@winehq.org Date: Tue Dec 13 20:25:53 2011 +0100
kernel32: Don't run a nonexistent builtin from CreateProcess when filename is not specified.
:040000 040000 9f9c9699a29404ba7f375da8a41440bb40c0b7d1 e5529b0ada454455621687a60b768363f466f131 M dlls
austin@aw25 /mnt/cdrom $ wine setup.exe File not found
austin@aw25 /mnt/cdrom $ wine D:\setup.exe File not found
austin@aw25 /mnt/cdrom $ wine "D:\setup.exe" File not found
austin@aw25 /mnt/cdrom $ wine "`winepath -w setup.exe`" File not found
austin@aw25 /mnt/cdrom $ ls autorun.inf* Icon.ico* Main/ setup.exe* Support/
austin@aw25 /mnt/cdrom $ file setup.exe setup.exe: PE32 executable (console) Intel 80386, for MS Windows
http://bugs.winehq.org/show_bug.cgi?id=29827
--- Comment #1 from Alexandre Julliard julliard@winehq.org 2012-02-07 13:58:42 CST --- Please attach a +file,+process trace.
http://bugs.winehq.org/show_bug.cgi?id=29827
--- Comment #2 from Austin English austinenglish@gmail.com 2012-02-07 14:00:53 CST --- Created attachment 38737 --> http://bugs.winehq.org/attachment.cgi?id=38737 fille,process
http://bugs.winehq.org/show_bug.cgi?id=29827
--- Comment #3 from Alexandre Julliard julliard@winehq.org 2012-02-07 14:13:15 CST --- It's because start.exe is in windows\command, not windows\system32. Probably cmd.exe should be looking in there.
http://bugs.winehq.org/show_bug.cgi?id=29827
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #4 from Anastasius Focht focht@gmx.net 2012-02-07 14:39:15 CST --- Hello Austin,
it seems we have different versions of the game.
"Where's Wally? The Fantastic Journey" "Classic Media Distribution Ltd, 2009 Ludia" "Published by Avanquest Software Publishing Ltd" ISBN: 978-1-84156-701-3
The setup bootstrapper/launcher creates a temp batch file "setup.bat" with following content:
--- snip --- Main\setup.exe --- snip ---
and executes it using "cmd /c"
--- snip --- ... $ WINEDEBUG=+tid,+process wine setup.exe 002a:trace:process:init_current_directory starting in L"D:\" (nil) 002a:trace:process:__wine_kernel_init starting process name=L"D:\setup.exe" argv[0]=L"D:\setup.exe" ... 002a:trace:process:create_process_impl app (null) cmdline L""C:\users\focht\Temp\5c78.tmp\setup.bat"" 002a:trace:process:find_exe_file looking for L"C:\users\focht\Temp\5c78.tmp\setup.bat" 002a:trace:process:find_exe_file Trying native exe L"C:\users\focht\Temp\5c78.tmp\setup.bat" 002a:trace:process:create_process_impl starting L"C:\users\focht\Temp\5c78.tmp\setup.bat" as batch binary 002a:trace:process:create_process_impl app L"C:\windows\system32\cmd.exe" cmdline L"C:\windows\system32\cmd.exe /c "C:\users\focht\Temp\5c78.tmp\setup.bat"" 002a:trace:process:open_exe_file looking for L"C:\windows\system32\cmd.exe" 002a:trace:process:create_process_impl starting L"C:\windows\system32\cmd.exe" as Win32 binary (0x10000000-0x10082000) 002c:trace:process:init_current_directory starting in L"D:\" (nil) 002c:trace:process:__wine_kernel_init starting process name=L"C:\windows\system32\cmd.exe" argv[0]=L"C:\windows\system32\cmd.exe" 002a:trace:process:create_process_impl started process pid 002b tid 002c 002a:trace:process:create_process_impl started process pid 002b tid 002c ... D:>Main\setup.exe 002c:trace:process:create_process_impl app L"D:\Main\\setup.exe" cmdline L"Main\setup.exe" 002c:trace:process:open_exe_file looking for L"D:\Main\\setup.exe" 002c:trace:process:create_process_impl starting L"D:\Main\\setup.exe" as Win32 binary (0x400000-0x53b000) 002e:trace:process:init_current_directory starting in L"D:\" (nil) 002e:trace:process:__wine_kernel_init starting process name=L"D:\Main\setup.exe" argv[0]=L"Main\setup.exe" 002c:trace:process:create_process_impl started process pid 002d tid 002e ... --- snip ---
Posted just for completeness.
Regards
http://bugs.winehq.org/show_bug.cgi?id=29827
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |3c8d8f1e95bde22fbb6d11ee1c0 | |154f8c4a094cb Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #5 from Alexandre Julliard julliard@winehq.org 2012-02-11 10:31:01 CST --- Should be fixed by 3c8d8f1e95bde22fbb6d11ee1c0154f8c4a094cb.
http://bugs.winehq.org/show_bug.cgi?id=29827
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org 2012-02-11 13:52:13 CST --- Closing bugs fixed in 1.4-rc3.
http://bugs.winehq.org/show_bug.cgi?id=29827
--- Comment #7 from Austin English austinenglish@gmail.com 2012-02-13 13:07:40 CST --- (In reply to comment #5)
Should be fixed by 3c8d8f1e95bde22fbb6d11ee1c0154f8c4a094cb.
Yep, thanks!