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.
Tool/software: Code Composer Studio
Good afternoon TI Forums,
Hopefully this is a nice quick answer but I can't find it when I search the forums, and the https://software-dl.ti.com/ccs/esd/documents/ccs_installer-cli.html help page is less than helpful in terms of what options are available within the optionFile.
I'm working on an unattended install of 10.1.0 on Windows 10 (1809) and it's going through the motions just fine, but not creating any shortcuts for the application (ccstudio.exe). I'm also installing some additional products and those shortcuts show up fine. I've attached a screenshot of my optionFile (gleaned from a working 9.1.0 version).
Thanks for any help you can provide!
I don't know if you have seen it, but in CCS/CCSTUDIO: What is the optionfile format for unattended installation? someone asked the same question.Stephen Gemme said:Hopefully this is a nice quick answer but I can't find it when I search the forums, and the https://software-dl.ti.com/ccs/esd/documents/ccs_installer-cli.html help page is less than helpful in terms of what options are available within the optionFile.
The response didn't provide an explanation of the optionFile format, but suggested you run the installer once using the GUI selecting to save a response file (and the option to not actually install anything), which can then be used for subsequent unattended installations.
Thanks for the reply, Chester.
I had not seen that thread so thanks for sending me the link!
Unfortunately, I tried running the installer with those parameters and it didn't work.
Here's what I ran: ccs_setup_10.1.0.00010.exe --save-response-file ccs10config.txt --skip-install true
Not only did it not save a config file, but it installed everything as well. When I run a ccs_setup_10.1.0.00010.exe --help, it does not show me that either of the above options are valid choices. Here's what it tells me I can use:
Code Composer Studio 10.1.0.00010 Usage: --help Display the list of valid options --version Display product information --unattendedmodeui <unattendedmodeui> Unattended Mode UI (only when running in unattended mode) Default: none Allowed: none minimal minimalWithDialogs --optionfile <optionfile> Installation option file Default: --debuglevel <debuglevel> Debug information level of verbosity Default: 2 Allowed: 0 1 2 3 4 --mode <mode> Installation mode Default: win32 Allowed: win32 unattended --debugtrace <debugtrace> Debug filename Default: --enable-components <enable-components> Comma-separated list of components Default: Allowed: PF_MSP430 PF_MSP432 PF_CC2X PF_CC3X PF_CC2538 PF_C28 PF_TM4C PF_HERCULES PF_SITARA PF_OMAPL PF_DAVINCI PF_OMAP PF_TDA_DRA PF_C55 PF_C6000SC PF_C66AK_KEYSTONE PF_MMWAVE PF_C64MC PF_DIGITAL_POWER PF_PGA --disable-components <disable-components> Comma-separated list of components Default: PF_MSP430,PF_MSP432,PF_CC2X,PF_CC3X,PF_CC2538,PF_C28,PF_TM4C,PF_HERCULES,PF_SITARA,PF_OMAPL,PF_DAVINCI,PF_OMAP,PF_TDA_DRA,PF_C55,PF_C6000SC,PF_C66AK_KEYSTONE,PF_MMWAVE,PF_C64MC,PF_DIGITAL_POWER,PF_PGA Allowed: PF_MSP430 PF_MSP432 PF_CC2X PF_CC3X PF_CC2538 PF_C28 PF_TM4C PF_HERCULES PF_SITARA PF_OMAPL PF_DAVINCI PF_OMAP PF_TDA_DRA PF_C55 PF_C6000SC PF_C66AK_KEYSTONE PF_MMWAVE PF_C64MC PF_DIGITAL_POWER PF_PGA --installer-language <installer-language> Language selection Default: en Allowed: en --prefix <prefix> Installation Directory Default: c:\ti\ccs1010 --install-BlackHawk <install-BlackHawk> Blackhawk Debug Probes Default: false --install-Segger <install-Segger> SEGGER J-Link Default: false
Hi,
The help information that you have is correct, the CCS installer has changed quite a bit as of CCS 9.2.0.
While there are equivalent options, there is no option to install shortcuts when using the option file.
I will add that as a enhancement request, but in the meanwhile you would have to create the shortcuts manually, or run the installer again, in the same location,
without selecting any options except for "create shortcuts" at the end.
Hi,
Could you please tell us the correct parameters for CCS V.10 to create a response-file (preferably without installing the software)?
I even tried to be creativ:
--save-response-file <path> --> is not working
--save-optionfile <path> --> is not working
--save-option-file <path> --> is not working
And the software is always installing, even if told to skip the installation.
--skip-install true --> is not working
Hi Tobias,
You can find the full list of command line options here: https://software-dl.ti.com/ccs/esd/documents/ccs_installer-cli.html
Unfortunately, skip-install is not available in the new CCS. If can explain what you're trying to achieve, I can try and help.
Thanks,
Danish
Hi Danish,
Thank your for the fast reply. The skip option would just be a "nice to have"...
What we really need is to deploy a full, unattended installation of Code Composer Studio 10.1.0.00010 on Windows 7 (x64) and Windows 10 (x64) clients and i thought the "optionfile" would be the way to do so.
But I can't create a optionfile.
So I tried the following (without optionfile):
ccs_setup_10.1.0.00010.exe --mode unattended
ccs_setup_10.1.0.00010.exe --enable-components PF_MSP430,PF_MSP432,PF_CC2X,PF_CC3X,PF_CC2538,PF_C28,PF_TM4C,PF_PGA,PF_HERCULES,PF_SITARA,PF_OMAPL,PF_DAVINCI,PF_OMAP,PF_TDA_DRA,PF_C55,PF_C6000SC,PF_C66AK_KEYSTONE,PF_MMWAVE,PF_C64MC,PF_DIGITAL_POWER --install-BlackHawk true --install-Segger true --mode unattended
In both cases the software is installed, but the installationfolder has a difference of about 2000 files to an manuel installation.
Unatttended Install: 58.911 files (4,17 GB)
Manuel Installation: 60.939 files (4,18 GB)
What is missing in the unattended installation? (Most of the files are missing in the "eclipse" folder.)
Is there another parameter I should use?
Is there a way to create a optionfile with CCS10.
Thanks,
Tobias
Hi Tobias,
The commands are equivalent. Can you confirm that the differences are only in the eclipse/configuration and eclipse/p2 folders?
If not, did you by any chance, run the second command over top of the previous install directory?
Danish
Hi Danish,
the second command can't run over the existing on. "Invalid installation directory, please choose another location".
In the CCS-Folder the Files ".installedComponents.properties" and ".installedProductFamilies" are missing. Most of the other files are in the eclipse\plugin folder.
(here should be Pictures)
Plugins folder: 9.666 files (manuel), 7.641 files (unattended).
Could you zip up the contents of both installation's ccs/install_logs folders and attach here?
thank you,
Danish