How do you run .exe files with wine by clicking on them?

Hi, I need help with using wine on mac osx. I used to use wine on Ubuntu and Linux Mint and it was relatively simple. But on mac osx, I used macports to dowload/install wine, and i used winecfg to create a prefix. I can not figure out for the life of me how to launch an executable by clicking on it. It opens in TextEdit instead of launching in wine. Can someone explain to me how to make a .exe file launch by clicking on it? Do i have to register the filetype with wine? Wine is not in a .app format. I can run any .exe in terminal but it is less than convenient. Thanks in advance.

MacBook, Mac OS X (10.6.2)

Posted on Apr 14, 2010 5:34 PM

Reply
Question marked as ⚠️ Top-ranking reply

Posted on Apr 14, 2010 6:23 PM

In the Finder, select one of your .exe files.

Finder -> File -> Get Info

Open with: ...

Click on the pop-up list and choose Wine if it is in the list, or Other and navigate to Wine.

Once Wine is selected to open for that .exe, click on "Change All", so all .exe files will open with Wine.
4 replies
Sort By: 
Question marked as ⚠️ Top-ranking reply

Apr 14, 2010 6:23 PM in response to tylerbialo

In the Finder, select one of your .exe files.

Finder -> File -> Get Info

Open with: ...

Click on the pop-up list and choose Wine if it is in the list, or Other and navigate to Wine.

Once Wine is selected to open for that .exe, click on "Change All", so all .exe files will open with Wine.
Reply

Apr 14, 2010 7:04 PM in response to tylerbialo

So wrap Wine in an application, and bind the .exe's to the wrapper application.

Platypus (free download)
<http://www.versiontracker.com/dyn/moreinfo/macosx/19870>
Can be used to turn any Unix program or script into a double clickable application, as well as a drag and drop target application.

It should be possible to wrap Wine with Platypus.

As an alternative, you might try Applications -> Automator -> Run Shell Script workflow, and save that as an application. Then bind your .exe's to that workflow you created.

NOTE: I have not played with Wine, so your mileage may vary.
Reply

Jun 15, 2010 9:28 PM in response to BobHarris

Platypus worked well for me for this problem, with one "gotcha."
I set up the Wine app and tried to open an EXE with it to no avail.
It turns out that version 4.2 (current as of this writing) has a bug and does not pass in the parameters properly.

The author promises to fix it in 4.3 and recommends using 4.0 until then if you need this feature.
http://www.sveinbjorn.org/platypus

Setting things up in 4.0 worked like a charm!

(Hopefully this message will be obsolete soon...)
Reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How do you run .exe files with wine by clicking on them?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.