Skip to main content

Advanced installation instructions

See Advanced ModusToolbox™ installation instructions KBA for various advanced installation cases.

Installing using non-silent option

The base tools package installs in your home directory on Windows by default. If your user home directory contains spaces or illegal characters, or if you need to install for all users, you will need to select the Non-silent install option on the installer page of the Setup program.

If possible, create a new user account and user home directory that doesn’t contain spaces or illegal characters. Then, you can just use the default process for that account. If you cannot create a new user home directory, then you must perform some extra installation steps.

When the Setup program begins to install the tools package, it will revert to the package installer program.

We recommend to install for the current user, but if you need to install for all users, then Admin permission will be required. Follow the instructions in this section to proceed.

Accept the license agreement and click Next.

Choose the Custom Installation option, and click Next.

Review the user guide, release notes, and other information on Infineon.com, as needed, and click Next.

On this next screen, specify the location to install the tools package.

Specify a path that does not include spaces. For example: C:\Infineon\ModusToolbox

Any path without spaces or illegal characters will work. The same is true if you install for all users in a non-default user home directory.

Click Next and a notice like the following will display to confirm that you are installing in a non-default location:

Click OK to proceed.

Specify the Start menu folder options, if needed, and click Next.

Select or deselect various install options and click Next.

note

If you have never installed ModusToolbox™ software before, leave the Other tasks selected to ensure a correct installation.

Review the settings and click Install to begin the installation, or click Back to go back to previous pages to make changes.

After installation is complete, review and follow the instructions in the following subsections as applicable.

Create directories

When installing in a non-default location, you should create a couple directories. You can choose any path as long as it doesn’t contain spaces.

  1. Create a hidden "dot" directory named " . modustoolbox" for variable locations described later in this section. For example:

    C:\MyPath*.*modustoolbox

  2. Also, create a directory to store your workspaces. For example:

    C:\MyPath\mtb-projects

Create variable to specify the path to Tools

Because you are installing ModusToolbox™ into a non-default location, you need to specify the path to your "tools" directory using an Environment Variable. Open the Environment Variables dialog, and create a new System or User Variable, depending on your installation type (current user or all users). For example:

CY_TOOLS_PATHS = C:/MyPath/ModusToolbox/tools_[version]
note

Use a Windows-style path (not Cygwin-style, like /cygdrive/c/). Also, use forward slashes.

Create variable to specify the global path

You also need to specify the global path using an Environment Variable. Open the Environment Variables dialog, and create a new System or User Variable, depending on your installation type (current user or all users). For example:

CY_GETLIBS_GLOBAL_PATH = C:/MyPath/.modustoolbox/global
note

Use a Windows-style path (not Cygwin-style, like /cygdrive/c/). Also, use forward slashes.

note

You can set this value using the Settings program instead of using a environment variable.

Specify the custom path to use for Local Content Storage

If you use Local Content Storage (LCS) to enable work without access to the Internet, set this variable to specify where the content will be stored. For example:

MTB_LOCAL_CONTENT_PATH = C:/MyPath/.modustoolbox/lcs
note

Use a Windows-style path (not Cygwin-style, like /cygdrive/c/). Also, use forward slashes.

note

You can set this value using the Settings program instead of using a environment variable.