Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

...

titleIn our company the storage of user home directory is limited. How to force to keep configuration files in other directory?

You can save configuration files in the modeling tool installation directory or on your chosen directory.

To store configuration files in the modeling tool installation directory add argument into JAVA_ARGS line in file *.properties* (this file is in \bin):
JAVA_ARGS=-DLOCALCONFIG=false

NOTE: For Windows users. If you are using modeling tool of version 17.0.4 or later, you must also add argument
-DWINCONFIG\=false.

To store configuration files to your chosen location

  1. In the /.<modeling tool name>/ folder, create file named  <modeling tool properties file name> redirect, that is magicdrawredirectcameoearedirectcsmredirect, or cbmredirect.
  2. In the created file, type absolute (for example, C:\users\john\Documents) or relative (relative to modeling tool installation directory, for example, ..\configurations) path where configuration and auxiliary files will be saved.

Or:

  1. Open the *.properties* file, which is located in \bin.
  2. Add the parameter value to the end of the line started with JAVA_ARGS= -Dlocalconfig.location=<absolute path to a custom location>

For example, -Dlocalconfig.location\=C\:\\MagicDraw\\configurationData

...

I have installed and activated one of your modelling tools as the administrator. When I had logged into my regular account, my modeling tool asked for a license key file and for the license activation again. How can I escape the license activation on the same machine twice?

The proper way to activate the license is to install the application as the administrator, then to login as a regular user, which will use the tool, and proceed with the license activation process.

The particular user licensing information is stored in the user home directory. So if you want that the application which has already been activated from the administrator account would not require the license activation from the user account on the same machine, you should change the licensing information storage place.

You can store the licensing information in the MagicDraw installation directory (the read-write rights are required).

For the instructions on how to change the configuration files directory, please find the issue "In our company the storage of user home directory is limited. How to force to keep configuration files in other directory?"

Note: It is important to know that the MagicDraw seat license can be used by a single user only.

...

titleMy modeling tool does not start on Mac OS X Sierra from a no install file using the .app file. What is a solution for it?

Mac OS X Sierra has an updated gatekeeper policy. It says that all applications which are downloaded in .zip/iso files are not secure because of the dylib-hijacking problem.
(Please find more about it at https://www.virusbulletin.com/virusbulletin/2015/03/dylib-hijacking-os-x/).
All not secure programs, including the .app part of the application are moved to a temporary directory (quarantine), in other words, the application is improperly located and can not be started.

The solutions are:

  1. To run magicdraw.sh file from the  /bin directory.
  2. To download the original signed MagicDraw.dmg file and to install the application again.
  3. To remove the program from quarantine.

To remove the application from quarantine, please do:

  1. Open a terminal.
  2. Using the terminal, open the MagicDraw installation directory.
  3. Write the command: xattr -d com.apple.quarantine MagicDraw.app/
  4. Close the terminal and start MagicDraw using the .app file.

NOTE: This issue is fixed for the 18.4 SP1 and 18.0 SP6 versions.

Article to combine

MagicDraw 18.4 does not start after upgrading to Mac OS X Sierra. How can I fix this issue?

Solution is to run magicdraw.sh file from the /bin directory.

This issue affects the version 18.4 of MagicDraw, Cameo Systems Modeler, Cameo Enterprise Architecture and Cameo Business Modeler.

Please update your modeling tool to the version 18.4 SP1 to avoid the installation incompatibility.

Expand
titleIs it possible to create a modeling tool installation package with a set of some default options?

First of all you need to pre-configure your modeling tool. Do the following:

  1. Check if you have the permission to write to the software installation folder because all information that you change will be stored in this folder. If you do not have the permission to write, contact your system administrator.
  2. In magicdraw.properties or cea.properties or csm.properties, which is in \bin, set the parameter value:
    JAVA_ARGS=-DLOCALCONFIG\=false -DWINCONFIG\=false
  3. Run the modeling tool and set desired options, then close the program.
  4. Reopen magicdraw.properties or cea.properties or csm.properties and restore the parameter value JAVA_ARGS=-DLOCALCONFIG\=true and remove the parameter -DWINCONFIG\=false.
  5. Copy the installation folder and paste it on a new machine.

Let us explain the difference between changed parameter values:

a) If JAVA_ARGS=-DLOCALCONFIG\=true, then option settings are stored in \.magicdraw\ . Options are loaded in the following order:

  1. From <Common Application Data location>\.magicdraw or .cameo.enterprise.architecture or cameo.systems.modeler\
  2. From the modeling tool installation folder

b) If JAVA_ARGS=-DLOCALCONFIG\=false -DWINCONFIG\=false, then option settings are stored only in the modeling tool installation folder and are loaded from there.

...

titleWhen trying to install or import a plugin to MagicDraw, the error appears saying that you do not have rights to write to my modeling tool installation directory or "failed to copy resource directory". How can this be handled?

We recommend running MagicDraw as an administrator and with enabled UAC (User Account Control) on Windows Vista, Windows 7 and Windows 8 OS in order to avoid some problems that are related with permissions to modify files on the MagicDraw installation root directory.

To enable UAC on Windows 7, Windows 8, or Windows 10 OS, do the following:
1. Click the Start button, type “msconfig” in the Search box and press Enter.
2. From the System Configuration dialog, click the Tools tab.
3. Select the Change UAC Settings tool and click Launch button.
4. Move the slider to the highest value to set Always notify and click OK.
5. Restart the computer to apply changes.

To enable UAC on Windows Vista OS, do the following:
1. Click the Start button, type “msconfig” in the Search box and press Enter.

...

To run MagicDraw as administrator, right-click the MagicDraw icon and choose Run as Administrator.

To run MagicDraw as an administrator all the time, do the following:
1. Right-click the MagicDraw icon and choose Properties.
2. Click the Compatibility tab.
3. In the Privilege Level area, select Run this program as an administrator.
4. Click OK.

Expand
titleWhen I run the exe file I get a warning: Please select another location to extract the installer to:

This error occurs when you have a corrupted installer file. Please download the file and install again.

Expand
titleMy modeling tool worked fine. I shut down my machine, started today, and MagicDraw won't start ?!?

This problem is Install Anywhere related and appears when you uninstall previous version of our modelling tools and then, without restarting your computer, install another modelling tool in the same directory. We would suggest to uninstall your modelling tool, restart your computer, and then install it again.

Expand
titleWhat is the best way to reinstall my modeling tool on new computer or the same one after formatting.

Reinstall product on new computer:

  1. Deactivate the current license.
  2. Download and install the fresh installation on new machine.
  3. Start it after the installation is finished.
  4. The Import Configuration dialog will appear upon opening installation for the first time. In the dialog, type the path to the installation folder of an older installation to import program configurations from it.
  5. Uninstall the product from old machine.
  6. You will be requested to activate the license and receive the commercial license dedicated for the particular machine.
Expand
titleHow to install my modeling tool in a silent mode, i.e., without the installer GUI?

Please start the installer with the following parameters:
-i silent -DUSER_INSTALL_DIR=

The example:

MD_UML_169_win.exe -i silent "-DUSER_INSTALL_DIR=C:\Program Files\MagicDraw 16.9"
MagicDraw will be installed silently, with a default configuration.

...

titleWhen trying to launch my modeling tool on OS X Mountain Lion, the error appears: "MagicDraw.app" is damaged and can't be opened. You should move it to the Trash."

Please note that downloaded installs are not corrupted or damaged and this problem is not related to the modeling tool application. This issue is related to the new OS X Mountain Lion functionality, "Gatekeeper."

The Gatekeeper functionality, by default, does not allow executing applications that are not from the Apple Store or from Identified Developers.

In order to launch their modelling tools, users can modify the option, which allows executing all the applications from all the providers. For more information on how to do this, go to: http://support.apple.com/kb/HT5290

...

Children Display