There is not a MacOS-native executable of Enterprise Architect on Mac. In order to run it, it is possible to use Wine, a software to run windows applications on Linux and Mac. Sparx has a webinar and a documentation page explaining how to install EA into Linux using Wine. However, these instructions do not provide a step-by-step guide for MacOS
The following are instructions to install EA on MacOs using Homebrew.
- install homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
after installing homebrew, chevk if the installation is complete
brew doctor
if you have not installed brew (or other apps) before, you need to install some tools required by homebrew
brew install git
xcode-select --install
- install XQuartz (X server)
brew cask install xquartz
- install wine
brew install wine
- install winetricks
brew install winetricks
- install the MSXML and MSDAC componentes
winetricks msxml3
winetricks msxml4
winetricks mdac28
- download the EA installer and install the enterprise architect
wine msiexec /i easetupfull.msi # for the registered version
wine msiexec /i easetup.msi # for the trial version
- EA is installed in the
.wine
directory of the current user. You can run the EA using
cd ~/.wine/drive_c/Program\ Files\ \(x86\)/Sparx\ Systems/EA\ Trial
wine EA.exe
In order to add a Dock icon that lauches the EA, it is possible to create an AppleScript.
- Create a Script using the Script Editor located at
/Applications/Utilities
.
tell application "Terminal"
do script "/usr/local/bin/wine ~/.wine/drive_c/Program\\ Files\\ \\(x86\\)/Sparx\\ Systems/EA\\ Trial/EA.exe"
end tell
-
In the Script Editor, export the file as an Application using the menu
File > Export ...
and selectingApplication
as the format. -
Open the folder with the application file and drag it to the Dock.
If you do not have installed MS Office or MS OneNote, you may need to install the Carlito and Caladea fonts as substitutes for the Calibri and Calisto. This will prevent differences on the visualization of the models.
- install carlito fonts
brew tap AtticX/fonts # you only have to do this once!
brew cask install font-caladea
brew cask install font-carlito
If you are using external databases as repositories for the models, you need to install the corresponding ObDC driver.
- Install the ODBC component
winetricks jet40
- Install the corresponding ODBC driver. First download the relevant installer and then run a command such as:
wine msiexec /i mysql-connector-odbc-3.51.25-win32.msi
The following are drivers that you can consider to download and use
RDBMS | ODBC driver | Download URL |
---|---|---|
MySQL | 5.2.5 | http://dev.mysql.com/downloads/connector/odbc/ |
Postgresql | 9.05.0400 | http://www.postgresql.org/ftp/odbc/versions/msi/ |
- Uninstall the EA software
wine uninstaller
- (Optional) Uninstall the wine
brew uninstall wine
- (Optional) Uninstall homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
Great guide! Works flawlessly.
But when EA is running there are many Font problems. E.g., Error: CreateOneFont(e), Error: GetNewFont2, etc.
Did you encounter these as well?
If yes, how did/do you fix these?