installed but can't run "wine"

Asked by Jeff Felberbaum

That's the gist of it. I used synaptic, but now can't find Wine in "applications" and also can't run it from the command line. Typed in: "wine PROGRAM,"
and I get

wine: could not load L"c:\\windows\\system32\\program.exe": Module not found

Thx!

JF

oh yeah--running Ubuntu edgy.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu synaptic Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) said :
#1

That's probably because you are not explicitly telling wine where the program is, just that there is a program called "program.exe", so it defaults to looking for it in the simulated "c:\windows\system32" directory.

Try this instead:-

In nautilus (the file browser) navigate to the program you want to run and right click it. Choose to open with another program and when prompted at the bottom of the window type wine and click ok. It should then open with wine. You will then also have an extra option in the right click context menu to allow you to open future programs easily in wine by right clicking and choosing "open with wine".

Revision history for this message
Ralph Janke (txwikinger) said :
#2

Alternatively, you should have a .wine directory in you home directory. If not, you can run wincfg to create it.

Inside is a file "system.reg" which has a line that looks somewhat like

"PATH"="c:\\windows\\system32;c:\\windows"

You can add other directories to it separated by ';' in order to extend the places in which wine will look for you program.

Let us know if this helped you.

Revision history for this message
Ralph Janke (txwikinger) said :
#3

It should be winecfg in the message above

Can you help with this problem?

Provide an answer of your own, or ask Jeff Felberbaum for more information if necessary.

To post a message you must log in.