[Ieview] Trying to make ieview work under linux with wine

Jonathan Ernst Jonathan at ErnstFamily.ch
Wed Feb 9 17:52:25 EST 2005


Le mercredi 09 février 2005 à 09:24 -0500, Paul Roub a écrit : 
> Jonathan Ernst wrote:
> > - iexplore (where iexplore is a shell script that runs iexplore using
> > wine)
> > - /usr/bin/iexplore
> 
> The latter would be the best -- the IE location option doesn't allow 
> parameters, so the rest won't work at all.
> 
> So that script, when run as, say:
> 
> 	/usr/bin/iexplore http://mozilla.org/
> 
> Loads the Mozilla site under IE?

Yes.

> 
> What happens when you try it w/IE View?  Any error messages, etc.? 
> Anything in the Javascript console?

Using this command line I have a JavaScript error in a popup:
[Exception... "Component returned failure code: 0x80520009
(NS_ERROR_FILE_INVALID_PATH)[nsILocalFile.target]" nsresult: "0x80520009
(NS_ERROR_FILE_INVALID_PATH)" location: "JS frame :: 
chrome://ieview/content/ieviewOverlay.js :: ieViewLaunch :: line 323"
data: no]


However I found a way that works just fine !!!

For some reason if the script is in /usr/bin i get the error message I
reproduced before.
If you put it somewhere else it doesn't make any error but it doesn't
work either.
So I reproduced what is made for mozilla on my distribution (gentoo):
1) put a script in /usr/libexec/iexplore-launcher with the following
content:

#!/bin/bash

main() {
  wine "c:\program files\Internet Explorer\IEXPLORE.exe" "$@" &
  return 1;
}

# Call the main sub, which is defined at the top of this script
main "$@"

2) put a link in /usr/bin that links to the script:
ln -s /usr/libexec/iexplore-launcher /usr/bin/iexplore

3)set /usr/bin/iexplore in ie view configuration

and everything works !


You might want to add these informations to your website as it might
interest other users as well (web developpers, people who need activex,
etc.)

Thank you for your help
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : http://mozdev.org/pipermail/ieview/attachments/20050209/3a9be4b4/attachment.bin


More information about the Ieview mailing list