[Bug 19666] FoxitReader 3.0 will not install

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jul 27 10:18:50 CDT 2014


http://bugs.winehq.org/show_bug.cgi?id=19666

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|http://www.oldapps.com/foxi |http://www.oldapps.com/foxi
                   |t_reader.php                |t_reader.php?old_foxit_read
                   |                            |er=2?download
                 CC|                            |focht at gmx.net
          Component|-unknown                    |shell32

--- Comment #12 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

confirming, still present.

--- snip ---
$ WINEDEBUG=+tid,+seh,+relay,+process,+module,+server,+shell,+ntdll wine
./FoxitReader30_enu_Setup.exe >>log.txt 2>&1
...
0009:Call shell32.ShellExecuteExA(0033f310) ret=00402077
0009:Call KERNEL32.MultiByteToWideChar(00000000,00000000,0033f34c
"C:\\users\\focht\\Temp\\fox5da.tmp\\Foxit Reader
Setup.exe",ffffffff,00000000,00000000) ret=7e8ade25 
...
0009:Call KERNEL32.CreateProcessW(00000000,0033de88
L"C:\\users\\focht\\Temp\\fox5da.tmp\\Foxit Reader
Setup.exe",00000000,00000000,00000000,00000410,00000000,00000000,0033d540,0033d530)
ret=7e8ae97b
0009:trace:process:create_process_impl app (null) cmdline
L"C:\\users\\focht\\Temp\\fox5da.tmp\\Foxit Reader Setup.exe"
0009:trace:process:find_exe_file looking for
L"C:\\users\\focht\\Temp\\fox5da.tmp\\Foxit"
0009:warn:ntdll:NtQueryAttributesFile
L"\\??\\C:\\users\\focht\\Temp\\fox5da.tmp\\Foxit" not found (c0000034)
0009:warn:ntdll:NtQueryAttributesFile
L"\\??\\C:\\users\\focht\\Temp\\fox5da.tmp\\Foxit.exe" not found (c0000034)
0009:warn:ntdll:NtQueryAttributesFile
L"\\??\\C:\\users\\focht\\Temp\\fox5da.tmp\\Foxit" not found (c0000034)
0009:trace:process:find_exe_file looking for
L"C:\\users\\focht\\Temp\\fox5da.tmp\\Foxit Reader"
0009:warn:ntdll:NtQueryAttributesFile
L"\\??\\C:\\users\\focht\\Temp\\fox5da.tmp\\Foxit Reader" not found (c0000034)
0009:trace:process:find_exe_file Trying native exe
L"C:\\users\\focht\\Temp\\fox5da.tmp\\Foxit Reader.exe"
0009:trace:ntdll:FILE_CreateFile handle=0x33cbf8 access=80000000
name=L"\\??\\C:\\users\\focht\\Temp\\fox5da.tmp\\Foxit Reader.exe"
objattr=00000040 root=(nil) sec=(nil) io=0x33cbfc alloc_size=(nil)
attr=00000000 sharing=00000005 disp=1 options=00000060 ea=(nil).0x00000000
0009: create_file( access=80000000, attributes=00000040, sharing=00000005,
create=1, options=00000060, attrs=00000000,
objattr={rootdir=0000,sd={},name=L""},
filename="/home/focht/.wine/dosdevices/c:/users/focht/Temp/fox5da.tmp/Foxit
Reader.exe" )
0009: create_file() = 0 { handle=0060 }
...
0009: new_process( inherit_all=0, create_flags=00000410, socket_fd=17,
exe_file=0060, process_access=001fffff, process_attr=00000000,
thread_access=001fffff, thread_attr=00000000, cpu=x86, info_size=698,
info={debug_flags=0,console_flags=0,console=0001,hstdin=ffffffff,hstdout=0004,hstderr=0008,x=0,y=0,xsize=0,ysize=0,xchars=0,ychars=0,attribute=00,flags=1,show=5,curdir=L"Z:\\home\\focht\\Downloads\\",dllpath=L"Z:\\home\\focht\\Downloads;.;C:\\windows\\system32;C:\\windows\\system;C:\\windows;C:\\windows\\system32;C:\\windows;C:\\windows\\system32\\wbem",imagepath=L"C:\\users\\focht\\Temp\\fox5da.tmp\\Foxit
Reader.exe",cmdline=L"\"C:\\users\\focht\\Temp\\fox5da.tmp\\Foxit Reader\"
Setup.exe",title=L"C:\\users\\focht\\Temp\\fox5da.tmp\\Foxit Reader.exe",...)
0009: *fd* 01c8 -> 95
0009: new_process() = 0 { info=0064, pid=0022, phandle=0068, tid=0023,
thandle=006c } 
...
0023:Call KERNEL32.__wine_kernel_init() ret=7bc59dbc 
...
0023:trace:process:init_current_directory starting in
L"Z:\\home\\focht\\Downloads\\" 0x14
0023:trace:process:__wine_kernel_init starting process
name=L"C:\\users\\focht\\Temp\\fox5da.tmp\\Foxit Reader.exe"
argv[0]=L"C:\\users\\focht\\Temp\\fox5da.tmp\\Foxit Reader" 
...
--- snip ---

Both executables in search path:

--- snip ---
$ pwd
/home/focht/.wine/drive_c/users/focht/Temp/fox5da.tmp

$ ls -1 Fox*.exe
Foxit Reader.exe
Foxit Reader Setup.exe
--- snip ---

--- snip ---
Wine-dbg>bt

Backtrace:
=>0 0x7b85eac5 SearchPathW(path=0x0(nil),
name="C:\users\focht\Temp\fox5b3c.tmp\Foxit Reader", ext=".exe", buflen=0x104,
buffer="", lastpart=(nil))
[/home/focht/projects/wine/wine.repo/src/dlls/kernel32/path.c:870] in kernel32
(0x0033cd58)
  1 0x7b867495 get_file_name+0x28a(appname=0x0(nil),
cmdline="C:\users\focht\Temp\fox5b3c.tmp\Foxit Reader Setup.exe", buffer="",
buflen=0x104, handle=0x33d230, binary_info=0x33d014)
[/home/focht/projects/wine/wine.repo/src/dlls/kernel32/process.c:2250] in
kernel32 (0x0033cdb8)
  2 0x7b86766a create_process_impl+0xd5(app_name=0x0(nil),
cmd_line="C:\users\focht\Temp\fox5b3c.tmp\Foxit Reader Setup.exe",
process_attr=(nil), thread_attr=(nil), inherit=0, flags=0x410, env=0x0(nil),
cur_dir=0x0(nil), startup_info=0x33d570, info=0x33d560)
[/home/focht/projects/wine/wine.repo/src/dlls/kernel32/process.c:2294] in
kernel32 (0x0033d2d8)
  3 0x7b868337 CreateProcessW+0x4f(app_name=0x0(nil),
cmd_line="C:\users\focht\Temp\fox5b3c.tmp\Foxit Reader Setup.exe",
process_attr=(nil), thread_attr=(nil), inherit=0, flags=0x410, env=0x0(nil),
cur_dir=0x0(nil), startup_info=0x33d570, info=0x33d560)
[/home/focht/projects/wine/wine.repo/src/dlls/kernel32/process.c:2464] in
kernel32 (0x0033d318)
  4 0x7e8ca97b
SHELL_ExecuteW+0x218(lpCmd="C:\users\focht\Temp\fox5b3c.tmp\Foxit Reader
Setup.exe", env=0x0(nil), shWait=0, psei=0x33de7c, psei_out=0x33f248)
[/home/focht/projects/wine/wine.repo/src/dlls/shell32/shlexec.c:343] in shell32
(0x0033d608)
  5 0x7e8cf81f SHELL_execute+0x1016(sei=0x33f248, execfunc=0x7e8ca762)
[/home/focht/projects/wine/wine.repo/src/dlls/shell32/shlexec.c:1852] in
shell32 (0x0033f208)
  6 0x7e8d0132 ShellExecuteExA+0x1bb(sei=<couldn't compute location>)
[/home/focht/projects/wine/wine.repo/src/dlls/shell32/shlexec.c:1994] in
shell32 (0x0033f2a8)
  7 0x00402077 in foxitreader30_enu_setup (+0x2076) (0x0041a938)
--- snip ---

The executable name is not quoted through 'ShellExecuteEx' hence
'get_file_name' gets it wrong if multiple executables with the same base words
are present.

$ sha1sum FoxitReader30_enu_Setup.exe 
1a2615fc289dbde7be87decb21645e8de0e37e61  FoxitReader30_enu_Setup.exe

$ du -sh FoxitReader30_enu_Setup.exe 
3.7M    FoxitReader30_enu_Setup.exe

$ wine --version
wine-1.7.23

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