Jerry Geis
2006-Dec-30 10:10 UTC
[Wine] launching wine application for mozilla mail attachments
I am trying to get a wine application to launch when I click on email attachments. The error I get is "The application you specified wine c:/windows/efaxview.exe could not be found" How do I get a wine application to run when clicking on an email attachment. Thanks, Jerry -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.winehq.org/pipermail/wine-users/attachments/20061230/d8cf4a80/attachment.htm
L. Rahyen
2006-Dec-30 23:03 UTC
[Wine] launching wine application for mozilla mail attachments
On Saturday December 30 2006 16:10, Jerry Geis wrote:> I am trying to get a wine application to launch > when I click on email attachments. > > The error I get is "The application you specified wine > c:/windows/efaxview.exe could not be found" > > How do I get a wine application to run when clicking > on an email attachment.It is possible that problem arises because string "wine c:/windows/efaxview.exe" interpreted like "wine\ c:/windows/efaxview.exe". And this is of course lead to such error. This is bug in your application and not in Wine. As workaround try the following. Open "/usr/bin/efaxview.exe" in your favorite text editor (as root). Then paste to this file command to run your Windows application: #!/usr/bin/env sh wine c:/windows/efaxview.exe $@ Save it and close. Now execute (as root): chmod +x /usr/bin/efaxview.exe Now you can use efaxview.exe command from the shell to run it. Simply provide this short command without spaces to your program to open mail attachments. Hope this helps.
Jerry Geis
2006-Dec-31 07:58 UTC
[Wine] launching wine application for mozilla mail attachments
Thanks, I created the file, and clicked on my attachment. Wine does come up now but the file is not loaded. Any thoughts on that? My file is this: #!/usr/bin/env sh /usr/local/bin/wine c:/windows/efaxview.exe $@ Jerry L. Rahyen wrote:> On Saturday December 30 2006 16:10, Jerry Geis wrote: > >> I am trying to get a wine application to launch >> when I click on email attachments. >> >> The error I get is "The application you specified wine >> c:/windows/efaxview.exe could not be found" >> >> How do I get a wine application to run when clicking >> on an email attachment. >> > > It is possible that problem arises because string "wine > c:/windows/efaxview.exe" interpreted like "wine\ c:/windows/efaxview.exe". > And this is of course lead to such error. This is bug in your application and > not in Wine. As workaround try the following. Open "/usr/bin/efaxview.exe" in > your favorite text editor (as root). Then paste to this file command to run > your Windows application: > > #!/usr/bin/env sh > wine c:/windows/efaxview.exe $@ > > Save it and close. Now execute (as root): > > chmod +x /usr/bin/efaxview.exe > > Now you can use efaxview.exe command from the shell to run it. Simply provide > this short command without spaces to your program to open mail attachments. > Hope this helps. > > >
Alexander Nicolaysen Sørnes
2006-Dec-31 08:39 UTC
[Wine] launching wine application for mozilla mail attachments
S?ndag 31 desember 2006 14:58, skrev Jerry Geis:> Thanks, > > I created the file, and clicked on my attachment. Wine does come up now > but the file is not loaded. Any thoughts on that? My file is this: > > #!/usr/bin/env sh > /usr/local/bin/wine c:/windows/efaxview.exe $@Try this instead #!/bin/bash /usr/local/bin/wine "C:\windows\efaxview.exe" "$@" Regards, Alexander N. S?rnes> > > Jerry > > L. Rahyen wrote: > > On Saturday December 30 2006 16:10, Jerry Geis wrote: > >> I am trying to get a wine application to launch > >> when I click on email attachments. > >> > >> The error I get is "The application you specified wine > >> c:/windows/efaxview.exe could not be found" > >> > >> How do I get a wine application to run when clicking > >> on an email attachment. > > > > It is possible that problem arises because string "wine > > c:/windows/efaxview.exe" interpreted like "wine\ > > c:/windows/efaxview.exe". And this is of course lead to such error. This > > is bug in your application and not in Wine. As workaround try the > > following. Open "/usr/bin/efaxview.exe" in your favorite text editor (as > > root). Then paste to this file command to run your Windows application: > > > > #!/usr/bin/env sh > > wine c:/windows/efaxview.exe $@ > > > > Save it and close. Now execute (as root): > > > > chmod +x /usr/bin/efaxview.exe > > > > Now you can use efaxview.exe command from the shell to run it. Simply > > provide this short command without spaces to your program to open mail > > attachments. Hope this helps. > > _______________________________________________ > wine-users mailing list > wine-users@winehq.org > http://www.winehq.org/mailman/listinfo/wine-users