Benches macOS

4

How do you run .exe files with wine by cl…

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

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.

4 replies

Sign in or join Beachball Help to reply.

  1. 0

    BobHarris

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    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.

  2. 0

    tylerbialo

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    The problem is, Wine was compiled using Macports, and is not an application. Am I stuck using terminal for it? Because there is a Wine app that I could use it's just less than reliable...

  3. 0

    BobHarris

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    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&gt;

    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.

  4. 0

    scrib71

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    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...)