Change the directory of an already existing CarMaker installation
Question
I would like to change the installation directory of my already existing CarMaker installation on my PC to another location (e.g. from C:\IPG to C:\Program Files\IPG). What has to be taken into account on Windows and Linux?
Solution
In order to change the installation directory of CarMaker, you would need to take care of a couple of things, which are explained below.
It is strongly discouraged to have different CarMaker versions in different installation directories!
Windows:
1. Copy/Paste the whole installation directory into the new location
2. Some environment variables and the registry entries need to be updated on the user’s systems
- CarMaker needs the correct path for the system variables IPGHOME and MSYS_ROOT. System variables can be found by searching 'environment variables' in the windows-settings.
- IPG registry functions need to be updated on the user’s system
- In '\IPG\carmaker\< version >\' you can run the setup scripts to update the environment variable and the registry entries. For instance, they are called 'Setup CarMaker' or 'Setup IPGMovie Files'. Optional, installing a new version of CarMaker in the new directory would update the environment variables and registry entries automatically.
3. Setup scripts for IPGControl and Graph in the installation directory of the latest version needs to be executed. The scripts that need to be executed are 'IPG/control/version/Setup IPGControl' and 'IPG/graph/version/Setup IPGGraph'
4. For using Matlab or C-Code, the cmenv.m, Makefile and other text files of all existing CarMaker projects must be updated. There are a few files in the CarMaker projects that point to the installation directory. The files can be easily adapted with a find and replace functionality of a text editor.
5. If the Installation path is used in any custom user project, they need to be updated manually
Linux:
1. Copy/Paste the whole installation directory into the new location
2. The environement variable IPGHOME needs to be updated:
- Go to /home/user/.bashrc (this is maybe a hidden file. Press Ctrl + H to unhide the file)
- Add the line export IPGHOME=/< location>/< path>/ipg
- Save the .bashrc file and open a new console to start CarMaker. The .bashrc file will be loaded at every start of a console.
3. For using Matlab or C-Code, the cmenv.m, Makefile and other text files of all existing CarMaker projects must be updated. There are a few files in the CarMaker projects that point to the installation directory. The files can be easily adapted with a find and replace functionality of a text editor.
4. If the Installation path is used in any custom user project, they need to be updated manually
- Date: 04.08.2020
- Product: CarMaker
- Version: 9.0
- Component: Installation
- Language: English
Tags
Installation directoryinstallation
windows
linux