Author Topic: [SOLVED]Wine does not install programme  (Read 186 times)

Offline Nippur

  • Sr. Member
  • ****
  • Posts: 333
  • Yes,good looking ;)
[SOLVED]Wine does not install programme
« on: January 08, 2013, 12:48:47 PM »
Hi all ;)

I am trying to install a programme with wine and when clicking on the .exe instead of executing it, it opens the data inside like if it was a folder explorer.

What can I do?
« Last Edit: January 08, 2013, 02:37:25 PM by Nippur »

Offline rastus

  • Sr. Member
  • ****
  • Posts: 261
Re: Wine does not install programme
« Reply #1 on: January 08, 2013, 12:53:07 PM »
Does it open it actually in Wine, or in a compression program like file roller? What is the program you're trying to install?
It has been said that democracy is the worst form of government except all the others that have been tried.

Offline Nippur

  • Sr. Member
  • ****
  • Posts: 333
  • Yes,good looking ;)
Re: Wine does not install programme
« Reply #2 on: January 08, 2013, 01:01:46 PM »
Does it open it actually in Wine, or in a compression program like file roller? What is the program you're trying to install?

Now I'm using lxde but when I used xfce I remember downloading wine and just doubleclicking an .exe and installing.
Now with thesame procedure it just launches file roller and it does this with any .exe.

I'm trying to install Rosetta  Stone to learn a bit of russian ;)

Offline rastus

  • Sr. Member
  • ****
  • Posts: 261
Re: Wine does not install programme
« Reply #3 on: January 08, 2013, 02:12:44 PM »
PC > File Tools > PCManFM. Navigate to the .exe file, right click, select Open with Wine.
If Wine is unavailable in the right click menu, or you wish to permanently alter the file association, open PCManFM as root user and navigate to /usr/share/applications/mimeinfo.cache. Make a copy of this file and name it something like "mimeinfo.cache.bak" just in case.

Open mimeinfo.cache in Leafpad, click Control-F to open a find dialog, and enter the term "x-ms-dos-executable". It should point to a line starting application/x-ms-dos-executable

Change that line to read application/x-ms-dos-executable=wine.desktop;

If you just want Wine to have priority over File Roller for opening .exe files, edit the line to:

application/x-ms-dos-executable=wine.desktop;file-roller.desktop;

This will give preference to opening an .exe file with Wine over File Roller.
« Last Edit: January 08, 2013, 02:18:48 PM by rastus »
It has been said that democracy is the worst form of government except all the others that have been tried.

Offline Nippur

  • Sr. Member
  • ****
  • Posts: 333
  • Yes,good looking ;)
Re: [SOLVED]Wine does not install programme
« Reply #4 on: January 08, 2013, 02:37:55 PM »
Thank you rastus!!! it works!  ;)