This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/CODECOMPOSER: Install Products from Command Line

Part Number: CODECOMPOSER
Other Parts Discussed in Thread: SYSBIOS

Tool/software: Code Composer Studio

Hello Experts

So I am trying to make an installation script that allows me to setup codecomposer with all the needed packages from a version control repo.

I would like to install well defined products into Code Composer for my code project to work with.

I have the packages located in

and according to your documentation package search folders can be added using the command:

eclipsec.exe -noSplash -data <workspace> -application com.ti.common.core.initialize -rtsc.productDiscoveryPath <pathToProduct>

So for my packages the batch script looks as follows:

set CCS_DIR=C:\ti\ccs1011

@rem specify workspace directory
set QUM_DIR=%~dp0
set QUM_TI_DIR=%QUM_DIR%..\ti

set CCS_EXE=%CCS_DIR%\ccs\eclipse\eclipsec.exe

@rem add products to the environment before loading workspace
%CCS_EXE% -noSplash -data %QUM_DIR% -application com.ti.common.core.initialize -rtsc.productDiscoveryPath "%QUM_TI_DIR%\bios_6_73_01_01"
%CCS_EXE% -noSplash -data %QUM_DIR% -application com.ti.common.core.initialize -rtsc.productDiscoveryPath "%QUM_TI_DIR%\dsplib_c64Px_3_4_0_0"
%CCS_EXE% -noSplash -data %QUM_DIR% -application com.ti.common.core.initialize -rtsc.productDiscoveryPath "%QUM_TI_DIR%\dsplib_c674x_3_4_0_0"
%CCS_EXE% -noSplash -data %QUM_DIR% -application com.ti.common.core.initialize -rtsc.productDiscoveryPath "%QUM_TI_DIR%\mmwave_sdk_03_05_00_04"
... etc.

Now, when I fire up CCS, the product discovey paths are added successfully (in Window/Preferences/CodeComposer Studio/Products), however, no new products are discovered. I have to manually hit the "Refresh" button and even then only some products (such as mmWaveSDK and SysBIos but not DSPlib or matlib) are discovered. Why?

I am actually looking for a way to to the "Install..." programmatically via the command line. Under "Discovered products:" I can hit Install.. and select the path to (e.g."%QUM_TI_DIR%\dsplib_c674x_3_4_0_0") and the product is successfully discovered and installed. This is exactly what I would like to to via command line.

How to achieve this?

Thank!

QJ