Wine Doesn't Work - Help !!!

Asked by taurus

I installed wine using: 'sudo apt-get install wine' ... however, when I right click to open an .exe file with wine, nothing happens.

Also, someone suggested that I use: 'wine program.exe'... however, when I run this in temrinal, I get an error message that says, 'could not load L"c:\\windows\\system32\\program.exe": Module not found'.

What do I do to fix this?

Lastly, is the best way to install wine using 'sudo aptitude install wine'?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Bhavani Shankar (bhavi) said :
#1

Bhavani Shankar suggests this article as an answer to your question:
FAQ #64: “Using wine in ubuntu”.

Revision history for this message
Bhavani Shankar (bhavi) said :
#2

OK..

A little bit more Info:

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 "c:\windows\system32" directory.

Try this instead:-

In nautilus (the file browser) All you do is right click a music file, click Properties, and go to the Open With tab. As the dialog says, whatever program you select from the list will be used as the default program for files of that type. If it doesn't apply that setting to all other files of that type, try it again, or try it after a restart.

Alternatively, you should have a .wine directory in you home directory. If not, you can run winecfg 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.

If The above steps does not work..

Remove wine completely

sudo apt-get remove --purge wine

and install wine again

sudo apt-get install wine

Hope it helps

Bhavani Shankar.

Revision history for this message
Bhavani Shankar (bhavi) said :
#3

Edit: Here I have taken music file as an example.. Same with .exe files..

Can you help with this problem?

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

To post a message you must log in.