automatic .exe filetype association when installing wine

Bug #113706 reported by Hanusz leszek
10
Affects Status Importance Assigned to Milestone
wine (Baltix)
Confirmed
Undecided
Unassigned
wine (Ubuntu)
Fix Released
Undecided
Ubuntu Wine Team

Bug Description

Binary package hint: wine

In Ubuntu 7.04 "Feisty" Wine doesn't start when you click on .exe file in nautilus (this worked fine in previous Ubuntu versions) :(

When wine is installed, I propose to automatically add 2 file types association with .exe files:

the default association is wine (opened directly).
the second association is wine (debug) where wine is opened within a terminal with debugging options on.

Tags: feisty
Revision history for this message
Stephan Rügamer (sruegamer) wrote :

Please read bug report #91636 it's right now the behaviour we want to protect you from windows viruses.

Changed in wine:
status: Unconfirmed → Rejected
Revision history for this message
Mantas Kriaučiūnas (mantas) wrote :

This bug isn't a duplicate of #91636, because this is not about "Mimetype error" of .exe files (when the filename indicates "executable", while the contents indicated "DOS/Windows executable"), but about not working launch of wine, when you click on .exe file in Nautilus. This bug occurs in Ubuntu 7.04 "Feisty" - when I click on .exe file in Nautilus I get an error message:

Error: no suitable application
"Cannot open /mnt/home/!SVARBU!/SqueakPluginInstaller.exe: No application suitable for automatic installation is available for handling this kind of file."

Btw, when user double clicks on .exe file that has no executable flag set, he should be asked whether or not it want to execute the file. This question should have a remember-my-choice field that turns the executable on, if the user has the permission to do so with that file. Similar behavior is when you click on executable text file - nautilus asks if you want to execute that file or just open with text editor/viewer.

Changed in wine:
status: Rejected → Confirmed
Revision history for this message
Stephan Rügamer (sruegamer) wrote :

That's right, that's why it's a dup of the other bug.
Nautilus doesn't honor binfmt...but when you chmod 755 <your exe file> and start it via ./<your exec file> it works.

Changed in wine:
assignee: nobody → ubuntu-wine
Revision history for this message
Adam Petaccia (mighmos) wrote :

So should we also add "affects: Nautilus"?

description: updated
Revision history for this message
Scott Ritchie (scottritchie) wrote :

Execution will be changed in Hardy, see:

https://wiki.ubuntu.com/BetterIntegratedWineSpec

Changed in wine:
status: Confirmed → In Progress
Revision history for this message
Beretta_NZ (glenn-peoples) wrote :

Am I getting this wrong, or does this mean that Wine just doesn't work in Feisty or Gutsy? I keep getting the same error message. If Wine doesn't open executables, what good is it at all?

Revision history for this message
Beretta_NZ (glenn-peoples) wrote :

never mind.... I just created the file association of .exe with wine, with the right click. What a noob I am.

Revision history for this message
Scott Ritchie (scottritchie) wrote :

Double click works now. Not yest for msi files, however that's a separate bug. Closing.

Changed in wine:
status: In Progress → Fix Released
Revision history for this message
Fred (eldmannen+launchpad) wrote :

I just installed Ubuntu 9.10 "Karmic Koala".
Now when I try double-click on an .exe file, it opens Archive Manager instead of Wine.

mohamad azam (m-azam-m)
Changed in wine (Baltix):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.