http://bugs.winehq.org/show_bug.cgi?id=19666
Summary: FixitReader 2.3 and 3.0 will not install Product: Wine Version: 1.1.27 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P4 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: ToddAndMargo@verizon.net
Created an attachment (id=22951) --> (http://bugs.winehq.org/attachment.cgi?id=22951) trace on FoxitReader 2.3 install
Hi All,
The free FoxitReader 3.0 and 2.3 will not install. You can download them from: http://www.foxitsoftware.com/downloads/older_ver.html
Version 2.3 supports the creation of fill in forms (I need this). V3 has this removed.
After running setup, you get: "z:\home\CDs\WindowsInternet\Adobe\setup.exe, could not open file, File not found" (z:\home\CDs\WindowsInternet\Adobe is where I have stored FoxitReader-2.3.3902_enu_Setup.exe).
My run string: $ WINEDEBUG=+relay,+seh,+tid /usr/local/bin/wine ./FoxitReader-2.3.3902_enu_Setup.exe &> wine.log; sleep 5; tar jcf /home/temp/FoxitReader_`date +%F_%H-%M`.tar.bz2 wine.log; rm -f wine.log
Many thanks, -T
http://bugs.winehq.org/show_bug.cgi?id=19666
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #1 from Austin English austinenglish@gmail.com 2009-08-09 22:48:23 --- austin@midna:~$ wine FoxitReader233902_enu_Setup.exe wine: created the configuration directory '/home/austin/.wine' fixme:system:SetProcessDPIAware stub! fixme:dwmapi:DwmIsCompositionEnabled 0x33cf94 fixme:file:MoveFileWithProgressW MOVEFILE_WRITE_THROUGH unimplemented fixme:advapi:SetNamedSecurityInfoW L"C:\windows\system32\gecko\1.0.0\wine_gecko\components\xpti.dat" 1 536870916 (nil) (nil) 0x1e9684 (nil) fixme:iphlpapi:NotifyAddrChange (Handle 0x411e908, overlapped 0x411e910): stub fixme:iphlpapi:GetAdaptersAddresses no support for IPv6 addresses fixme:file:MoveFileWithProgressW MOVEFILE_WRITE_THROUGH unimplemented fixme:advapi:SetNamedSecurityInfoW L"C:\windows\system32\gecko\1.0.0\wine_gecko\components\compreg.dat" 1 536870916 (nil) (nil) 0x1dedf2c (nil) fixme:shell:DllCanUnloadNow stub wine: configuration in '/home/austin/.wine' has been updated. fixme:xrender:X11DRV_AlphaBlend not a dibsection err:shell:SHGetFileInfoW pidl is null!
Confirming.
Is this a regression?
http://bugs.winehq.org/show_bug.cgi?id=19666
--- Comment #2 from Stefan Leichter Stefan.Leichter@camLine.com 2009-08-10 06:36:29 --- Created an attachment (id=22967) --> (http://bugs.winehq.org/attachment.cgi?id=22967) Some registry settings
i got the installer of version 2.3 installing something by 1. building wine-1.1.27 with the patch http://www.winehq.org/pipermail/wine-patches/2009-August/076819.html 2. applying the attached registry keys to the registry 3. running winetricks mfc42 4. running the installer with native linkinfo,shell32,shlwapi dlls from windows XP
http://bugs.winehq.org/show_bug.cgi?id=19666
--- Comment #3 from Stefan Leichter Stefan.Leichter@camLine.com 2009-08-10 16:47:06 --- Found the difference between native and builtin shell32. It is the call to CreateProcessW() in function ShellExecuteExA() Native Shell32: ------------------------------------------------------------------------------ 0009:Call KERNEL32.CreateProcessW(0013e894 L"C:\windows\temp\fox1d1f.tmp\Foxit Reader Setup.exe",0013c5fc L""C:\windows\temp\fox1d1f.tmp\Foxit Reader Setup.exe" ",00000000,00000000,00000000,04000410,00000000,0013c3f4 L"L:\wine-bugs\19666",0013fef8,0013ff44) ret=007b37fc 0009:Ret KERNEL32.CreateProcessW() retval=00000001 ret=007b37fc 0025:Starting process L"C:\windows\temp\fox1d1f.tmp\Foxit Reader Setup.exe" (entryproc=0x40b850) ------------------------------------------------------------------------------ Builtin shell32 ------------------------------------------------------------------------------ 0009:Call KERNEL32.CreateProcessW(00000000,0032daac L"C:\windows\temp\fox213d.tmp\Foxit Reader Setup.exe",00000000,00000000,00000000,00000400,00000000,00000000,0032c968,0032c9ac) ret=7e8a4683 0009:Ret KERNEL32.CreateProcessW() retval=00000001 ret=7e8a4683 0026:Starting process L"C:\windows\temp\fox213d.tmp\Foxit Reader.exe" (entryproc=0x495db5) ------------------------------------------------------------------------------ But the main problem is that CreateProcessW picks the wrong executable when called from builtin ShellExecuteExA(). CreateProcessW starts "Foxit Reader.exe" instead of "Foxit Reader Setup.exe". Both executables are in the same directory.
http://bugs.winehq.org/show_bug.cgi?id=19666
--- Comment #4 from Stefan Leichter Stefan.Leichter@camLine.com 2009-08-11 16:31:30 --- testcase see http://www.winehq.org/pipermail/wine-devel/2009-August/077892.html
http://bugs.winehq.org/show_bug.cgi?id=19666
--- Comment #5 from Stefan Leichter Stefan.Leichter@camLine.com 2009-08-21 06:55:17 --- Patch http://www.winehq.org/pipermail/wine-patches/2009-August/077397.html Looks like it will _not_ make it into wine.
http://bugs.winehq.org/show_bug.cgi?id=19666
Ilya Basin basinilya@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |basinilya@gmail.com
--- Comment #6 from Ilya Basin basinilya@gmail.com 2010-06-24 04:28:19 --- About http://www.winehq.org/pipermail/wine-patches/2009-August/077397.html IMHO, the following block had to be changed instead: ************************************ strcpyW(wcmd, wszApplicationName); if (sei_tmp.lpParameters[0]) { strcatW(wcmd, wSpace); strcatW(wcmd, wszParameters); } ************************************
It should be changed to something like: ************************************ wcmdLen +=2; ... wcmd[0] = '"'; strcpyW(wcmd+1, wszApplicationName); strcatW(wcmd, '"'); if (sei_tmp.lpParameters[0]) { strcatW(wcmd, wSpace); strcatW(wcmd, wszParameters); } ************************************
http://bugs.winehq.org/show_bug.cgi?id=19666
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #7 from Bruno Jesus 00cpxxx@gmail.com 2011-10-02 22:46:51 CDT --- Still present in 1.3.29?
http://bugs.winehq.org/show_bug.cgi?id=19666
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.oldapps.com/foxi | |t_reader.php Summary|FixitReader 2.3 and 3.0 |FoxitReader 2.3 and 3.0 |will not install |will not install
--- Comment #8 from Bruno Jesus 00cpxxx@gmail.com 2011-10-12 22:02:50 CDT --- Still present in wine-1.3.30-77-g43baacf.
The error seems to remain the same: the lack of quotes around the lpCurrentDirectory parameter in CreateProcess.
http://bugs.winehq.org/show_bug.cgi?id=19666
Rafal Stanilewicz washuu@eastnews.com.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |washuu@eastnews.com.pl
--- Comment #9 from Rafal Stanilewicz washuu@eastnews.com.pl 2012-10-24 15:33:35 CDT --- Still present in wine 1.5.15.
$ wine FoxitReader30_enu_Setup.exe err:shell:SHGetFileInfoW pidl is null! [at the same time alert in messagebox about error with opening setup.exe]
http://bugs.winehq.org/show_bug.cgi?id=19666
Frédéric Delanoy frederic.delanoy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |frederic.delanoy@gmail.com Summary|FoxitReader 2.3 and 3.0 |FoxitReader 3.0 will not |will not install |install
--- Comment #10 from Frédéric Delanoy frederic.delanoy@gmail.com 2013-07-08 05:45:26 CDT --- Using wine-1.6-rc4-52-g9a0b434
Foxit 2.3 installs correctly
Foxit 3.0 fails to install, giving a "Setup.exe File not found" popup
http://bugs.winehq.org/show_bug.cgi?id=19666
hanska2@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hanska2@luukku.com
--- Comment #11 from hanska2@luukku.com --- I tried the 3.0 version.
I only get these console outputs
fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046} err:shell:SHGetFileInfoW pidl is null!
and the error message that is written before this post.
So the problem might be in SHGetFileInfoW source...
wine 1.7.22
http://bugs.winehq.org/show_bug.cgi?id=19666
Anastasius Focht focht@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@gmx.net Component|-unknown |shell32
--- Comment #12 from Anastasius Focht focht@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
https://bugs.winehq.org/show_bug.cgi?id=19666
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #13 from Anastasius Focht focht@gmx.net --- *** Bug 23270 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=19666
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|FoxitReader 3.0 will not |Multiple applications start |install |wrong executable if | |whitespace present in name | |('ShellExecute' doesn't | |quote executable | |name)(FoxitReader 3.0, GTA2 | |Manager)
--- Comment #14 from Anastasius Focht focht@gmx.net --- Hello folks,
refining summary to collect dupes here.
$ wine --version wine-1.7.24-150-gcf4404c
Regards
https://bugs.winehq.org/show_bug.cgi?id=19666
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
https://bugs.winehq.org/show_bug.cgi?id=19666
--- Comment #15 from Sebastian Lackner sebastian@fds-team.de --- A slightly modified and rebased version of Stefan Leichters patch was added to Wine-Staging:
https://github.com/wine-compholio/wine-staging/blob/master/patches/shell32-Q...
https://bugs.winehq.org/show_bug.cgi?id=19666
--- Comment #16 from Anastasius Focht focht@gmx.net --- *** Bug 23321 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=19666
--- Comment #17 from Sebastian Lackner sebastian@fds-team.de --- This might be fixed with http://source.winehq.org/git/wine.git/commit/943ead502295793f608ad65eb0ca144... or one of the previous patches of the series. Could you please retest?
https://bugs.winehq.org/show_bug.cgi?id=19666
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |943ead502295793f608ad65eb0c | |a144ba67546ce Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #18 from Anastasius Focht focht@gmx.net --- Hello folks,
this is fixed by commit https://source.winehq.org/git/wine.git/commitdiff/943ead502295793f608ad65eb0...
Thanks Piotr
Although of non-serious consequence, the code should be further revised to avoid garbage being present after the quote (no parameters).
--- snip --- ... 0009:Call KERNEL32.CreateProcessW(00000000,0032ded0 L""C:\users\focht\Temp\fox244d.tmp\Foxit Reader Setup.exe"\e4a02\fab3\7bcb",00000000,00000000,00000000,00000410,00000000,00000000,0032d9a0,0032d990) ret=7e83f8c2 0009:trace:process:create_process_impl app (null) cmdline L""C:\users\focht\Temp\fox244d.tmp\Foxit Reader Setup.exe"\e4a02\fab3\7bcb" ... --- snip ---
--- snip --- $ Wine-dbg>info locals 0x7e8440e4 SHELL_execute+0xcf5: (0033f228) LPSHELLEXECUTEINFOW sei=0x33f268 (parameter [EBP+8]) SHELL_ExecuteW32 execfunc=0x7e83f6c3 (parameter [EBP+12]) ... WCHAR* wszApplicationName="C:\users\focht\Temp\fox7001.tmp\Foxit Reader Setup.exe" (local [EBP-28]) WCHAR* wszParameters="" (local [EBP-32]) WCHAR* wszDir="" (local [EBP-36]) WCHAR* wcmd="?3" (local [EBP-40]) DWORD dwApplicationNameLen=0x38 (local [EBP-44]) DWORD parametersLen=0x400 (local [EBP-48]) DWORD dirLen=0x104 (local [EBP-64]) DWORD wcmdLen=0x400 (local [EBP-52]) DWORD len=0x39 (local [EBP-56]) SHELLEXECUTEINFOW sei_tmp={cbSize=0x3c, fMask=0x40, hwnd=(nil), lpVerb=0x0(nil), lpFile="C:\users\focht\Temp\fox7001.tmp\Foxit Reader Setup.exe", lpParameters="", lpDirectory="", nShow=0x5, hInstApp=(nil), lpIDList=0x0(nil), lpClass=0x0(nil), hkeyClass=(nil), dwHotKey=0, ={hIcon=0x0(nil), hMonitor=0x0(nil)}, hProcess=0x0(nil)} (local [EBP-4964]) ...
Wine-dbg>n 1773 len = lstrlenW(wszApplicationName); Wine-dbg>n 1774 memcpy(wcmd+1, wszApplicationName, len * sizeof(WCHAR)); Wine-dbg>n 1775 len++; Wine-dbg>n 1776 wcmd[len++] = '"'; Wine-dbg>p wcmd ""C:\users\focht\Temp\fox7001.tmp\Foxit Reader Setup.exe??3????" Wine-dbg>n 1777 if (sei_tmp.lpParameters[0]) { Wine-dbg>p wcmd ""C:\users\focht\Temp\fox7001.tmp\Foxit Reader Setup.exe"?3????" Wine-dbg>n 1782 retval = execfunc(wcmd, NULL, FALSE, &sei_tmp, sei);
--- snip ---
https://source.winehq.org/git/wine.git/blob/943ead502295793f608ad65eb0ca144b...
Regards
https://bugs.winehq.org/show_bug.cgi?id=19666
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #19 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.48.
https://bugs.winehq.org/show_bug.cgi?id=19666
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.oldapps.com/foxi |https://web.archive.org/web |t_reader.php?old_foxit_read |/20101021040206/http://cdn0 |er=2?download |2.foxitsoftware.com/pub/fox | |it/reader/desktop/win/3.x/3 | |.0/enu/FoxitReader30_enu.zi | |p