http://bugs.winehq.org/show_bug.cgi?id=7017
Summary: Linux native vs Windows helper apps in ShellExecute file path? Product: Wine Version: 20041201 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-shell32 AssignedTo: wine-bugs@winehq.org ReportedBy: ryampolsky@gmail.com
My app uses PDF for all of its printing, and for print preview, it uses ShellExecute on the PDF file to launch the default PDF viewer. When I run under WINE, and am using a native Linux PDF viewer, the path passed to the viewer on the command line is in Windows format with the 'drive letter' of the WINE temp directory. To get around this, I had to write a small C app to make my default PDF viewer. That app simply translates the path and launches the PDF viewer with the native Linux path.
Is this a known problem? Can the WINE mime system be set up to flag whether the helper app is a Windows or Linux app and provide the appropriate file path?
By the way, I haven't tested this in a while. The last version of WINE I tested against was loaded via the rpm wine-20041201-1wbel3winehq on a RHEL 3 system (kernel linux-2.4.21-4.EL).