shell32: fix program search in ShellExecuteEx, quote program name if it contains spaces
Stefan Leichter
Stefan.Leichter at camline.com
Thu Aug 13 08:47:07 CDT 2009
This patch fixes bug 19666
The directory with the installer contains the installer itself
named "Foxit Reader Setup.exe" and the program to be installed named "Foxit
Reader.exe".
ShellExecuteEx passed the filename "Foxit Reader Setup.exe" without quotes to
CreateProcess which always picked "Foxit
Reader.exe". Therefore the install failed.
The tests passes one Win2k and WinXP
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ShellExecuteEx.diff
Type: text/x-diff
Size: 4644 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090813/60ab64a4/attachment.diff>
More information about the wine-patches
mailing list