[Wine] Helpful Hints for OS X Users (Idiots Guide?)

computerwiz_222 wineforum-user at winehq.org
Sun Feb 8 08:48:02 CST 2009


I have been busy working away at getting Darwine to run on OS X with no luck... I tried uninstalling and reinstalling many times, but I was continually getting gdi32.dll errors.

This guide was tested on OS X Leopard 1.5.6. The following guide is how I set it up. The steps may vary slightly for you. Be sure to read this whole thread before actually trying some of the things listed here, some of them might not apply to your situation.

Remove Darwine

First, if you have already tried to get Darwine running on your own, but had difficulty or error messages, remove it and start from scratch. Go to your applications folder and delete the folder entitled Darwine. If you installed Trix, delete it as well. Next, you will need to remove a hidden folder in your user folder. There is a complicated way to do this, and there is my easy way. Go to your Applications folder, open the Utilities folder and launch Terminal.

The following command will allow you to see hidden files and folders from finder.

defaults write com.apple.Finder AppleShowAllFiles YES

Copy and paste that command into the terminal and press enter. It will appear that nothing has happened.

Next click on the Apple in the top left of your screen and click "Force Quit..." When the window opens, click Finder and then click the relaunch button. This just restarted Finder to allow that command to take effect.

Go to your User Folder. This can be found by opening Macintosh HD, and clicking your Home Folder. Locate the folder ".wine" and delete it.

Now to restore Finder to its original state, run this command, and restart Finder again.

defaults write com.apple.Finder AppleShowAllFiles NO

You have just removed Darwine!

Install XQuartz 2.3.2

You will need to download XQuartz 2.3.2 from this URL:


When the download completes, mount the image by double-clicking it. Launch the installer, and follow the instructions. If any choices arise, leave all default selections.

XQuartz is now installed.

(Re)Install Darwine

Download the latest stable release of Darwine from this URL:


When the download completes, mount the image by double-clicking it. A window will open. Drag the Darwine folder to the Applications folder, and if you like, copy Trix as well. (I copied it, but never configured/used it.)

Darwine is now installed.

Prepare Darwine to Run

This step may seem silly, but this was the key to making everything work for me.

Before trying to launch Darwine by calling a windows application, we need to launch Darwine on its own. Go to your Applications folder, open the Darwine folder and launch Darwine. From the Menu at the top of the screen, click WineHelper and then click Configure Wine. The computer will appear to crash, but it is running a process in the background. Simply leave it for about a minute, maybe two.

Don't change any settings, just click save, and close the window.

Click on the WineHelper button again, and this time click on Preferences. Don't change any values, and close the window.

Darwine is now ready to run some windows applications!

Try a windows application

For my first application, I attempted to run the AutoCad 2002 installer. The results were excellent, the installer popped up, and installation was a breeze. Everything is running great, and I am really impressed by how well Darwine is handling this program.

For those who don't know how to run windows applications, its as simple as double-clicking the .exe file.

This guide is a mash up of about two hours of reading and finding various solutions to problems I had. I hope this guide helps other struggling Mac users! I am no Darwine expert, but I would be happy to try and help other Mac users with their installations.

More information about the wine-users mailing list