1

I do something like:

$ ln -s '/home/deostroll/.wine/dosdevices/c:/Program Files/Internet Explorer/iexplore.exe' /usr/bin/iexplore

I am expecting that at the shell I can just type the following and expect the Internet explorer browser window to show up:

$ pwd
<where ever>
$ iexplore

But instead I get the following error message:

wine: cannot find L"Z:\\usr\\bin\\iexplore."

What am I doing wrong?

Ringtail
  • 16,285
deostroll
  • 1,769

2 Answers2

0

That is because you need to create a script (a wrapper of sorts) to make WINE find the .exe correctly.

Here's an example:

  • Create the link (as you did in your question).
  • Open a text editor and type the following:

    wine /path/to/link
    
  • Save the file as iexplore.

  • Make the file executable.
  • Place this file in /usr/bin.

An alternative method (if the link still causes issues) is to copy the iexplore.exe file /usr/bin and simply tell the script to point to it:

wine iexplore.exe


A third option would be to point the script directly to the file:

wine /path/to/iexplore.exe

RolandiXor
  • 51,797
0

First - remove the link you created, it's no good, then -

You could try this - though i'd probably copy to /usr/local/bin or ~/bin instead

sudo cp /usr/bin/notepad /usr/bin/iexplore

Then either move iexplore.exe to your ~/.wine/drive_c/windows or ~/.wine/drive_c/windows/system32 folder or do a link to it in either

Ex.

 ln -s '/home/deostroll/.wine/dosdevices/c:/Program Files/Internet Explorer/iexplore.exe' '/home/deostroll/.wine/dosdevices/c:/windows/'

Then the command iexplore should open iexplore.exe (whatever that is

What this does is create a wine wrapper script named iexplore which will run iexplore.exe in wine

doug
  • 17,212