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: Command-line install of Code Composer 5.2 - how to do "Full" Install

Other Parts Discussed in Thread: CCSTUDIO

Tool/software: Code Composer Studio

I am writing an install script that will update some RTSC packages at the end.  However, when I run the CCS install from the command-line, I noticed a whole bunch of folders missing, which prompts the Eclipse environment to run instead of the Code Composer Studio (eclipse) IDE to run.  I believe the ccsv5\eclipse\plugins folder was missing necessary folders which tells Eclipse to run Code Composer Studio plug-ins.  

I can

(a) run a full install, and be done with it.

(b) copy an existing (working) plug-ins folder into the install directory, and play dice (with the possibility I might be missing other important stuff.) 

Can you help me with option (a)?  I think I'm missing the setup file, but I can't find an xml template (ccs_installini.xml) to start with. 

C:\CodeComposer5.2.1>ccs_setup_5.2.1.00018.exe /mode silent /temp c:\temp /response-file c:\temp\install.txt  /setupfile [arg]

Thanks,

Will

Windows 7.  Professional, users don't have any rights; admin is a single user. 

Code Composer 5.2.1

C6457 DSP

  • Hi,

    To ensure I've understood the problem correctly:

    You are trying to install CCS 5.2.1 using a response file, and this is not installing everything correctly. Is this correct? 

    The ccs_installini.xml file is built into the installer, so you don't need that on the command line.

    Did you generate the response file you're using by using the save-response-file option? Could you attach the install.txt file here, please?

    Why have you modified the temp directory to c:\temp? Do you have problems writing to %TEMP%?

    Could you attach the installation logs generated in the temp folder?

    Please note: CCS requires admin privileges on windows in order to install drivers.

    Thanks,

    Danish

  • Hi Danish,

    Let's overlook my commands for a moment, unless you believe it wouldn't fully install the plug-in folder correctly.

    My question: I would like to ensure code composer is installing "FULL" from a command-line call. How do I do it?



    I have administrative rights -- that isn't the issue:

    ccs_setup_5.2.1.00018.exe /mode silent ???

    What's missing?

    What ini file is built in? How can I verify this built-in ini file meets the spirit of a FULL install?
    Where is it located? Or, is it implied FULL without any additional parameters?

    Thanks,

    Will
  • If you only pass in /mode silent, the installer will do a full installation in the c:\ti\ccsv5 folder. Installation logs can be found in C:\Program Files (x86)\InstallJammer Registry\ccsv5\. Please zip up the contents and post them here if there are any issues.

    I would recommend deleting the C:\Program Files (x86)\InstallJammer Registry\ccsv5\ folder so you're getting fresh logs. Also remove anything in the c:\ti\ccsv5 folder if you're installing there.

    Please note, if you're running in silent mode on the command line, the installer comes back immediately and continues to install in the background (just how 3rd party installer behave on windows as they expect a gui). Could this be what you're running into? If you run it from a batch file you can work around that behaviour.

    Thanks,
    Danish
  • Hi Danish,

    I am running from a batch file. Unfortunately, I cannot zip up the files. They are on a closed system. I see the files in the directory you are referencing above. I am not sure what to look for. The directory has a GUID, with multiple entries for all the attempted or successful installs, I would guess.

    Is there a failure code(s) or a parameter (s) in one of those files I can search for?

    Thanks,

    Will
  • Look for the latest *ccs_setup_5.2.1.000018_install.log. Take a look at the end. If it looks like it's still running, i.e. the timestamp is close to the time you're looking at it, then give it some more time. A successful install should say "installed successfully" at the end. It's a very old release so I'm not sure of the exact verbage, I'm running it myself just now and will update as soon as I finish.
    Danish
  • You should see the following lines at the end of the installation to verify that it was successfully installed:
    Code Composer Studio v5 Installation Complete
    Code Composer Studio v5 has been sucessfully installed.

    Also, a successful install will have created shortcuts in the start menu and one in the <installdir>\ccsv5\ folder called "Code Composer Studio v5"
  • Will,

    Is this issue resolved? Have you been able to install CCS successfully? If you are still having issues and need further support on this, please post an update below.
  • AartiG,

    I'm still looking at it. I don't have an update. We tried an install this morning, but its still missing the required directories under ccs5\eclipse\plugins. Is there any known issue with the code composer v5.2 install doing this? One of the side effects is the Eclipse splash screen is loaded instead of the Code Composer Splash screen; the next problem is the IDE isn't code composer, but Eclipse stand alone.

    Going to see if I can get a directory listing of what files are missing shortly... will post a follow-up.

    Will
  • Here's the first page of plug-ins that are missing .  There are 18 pages total of differences.  The left side would be a reference install, the right side is what I'm getting.

      

  • Its really difficult to say what may be happening without having a look at the install logs.

    Are you running some sort of anti-virus? If so, it is possible it may be keeping some files open and eclipse is unable to install them. Could you try disabling anti-virus to see if that helps?

    Beyond that, we really would need to see the install logs to offer further advice.
  • Anti-virus
    (1) I'm running Anti-virus, but I can't disable it. I will check if my admin will perform the install and has a precedent on disabling anti-virus. The trouble is, that would be a "one-off" and there would never be a policy to allow it permanently for all users.
    (2) The setup log says the tool searches for McAfee. This seems like you are trying to stop, or at least detect and report, one of them?

    The Install Logs
    (1) They are on a closed system. I can print them and re-scan, but I see the number of pages for one log is pretty large.

    Here's one troubling piece:
    1/22/2018 12:50:47PM ccsconfig file c:\ccs_52/ccsv5/eclipse/ccs_config.xml
    ...
    ...
    ...
    1/22/2018 12:50:47PM - com.ti.bios.xdctools.c2000.win32 state: do not install
    1/22/2018 12:50:47PM - com.ti.ccstudio.c6000 state: do not install

    We're trying to install for C6000, but I thought I read in a previous post that I would get all the features. Also, the ccs_config.xml appears to be (possibly) input as to what to install? I guess I need help deciphering a few of these.

    Will
  • The anti-virus that really causes problems is trend micro and kaspersky. McAfee can cause problems, but I haven't seen it recently. What happens is the AV file scanning leaves the files open, so eclipse can't install them.
    The ccs_config.xml tells the installer what's selected and what's being installed, etc., but they should all be selected or have "feature installed" if you're running in a clean folder with mode silent. Could you ensure that there's nothing in the install folder c:\ccs_52 when you start the installer?
    Danish
  • Hi Danish Innis,

    Each time I'm running it I've cleaned the folder before started the installer. The reason I am certain is that I read on another post that one of the best ways to "uninstall" the product is to delete the whole folder if you are getting a certain error, or errors, by trying to run the uninstall tool.

    That is, I delete c:\CCS_52 before I start my batch file (which calls the ccs_install*.exe with the silent option).

    We are using Symantec Endpoint Protection for virus scan.

    -Will
  • Unfortunately, I can't suggest anything else without looking at the logs. Do you have to install 5.2? Have you tried a more recent install? CCS released 7.4 a few weeks ago.
  • Hi Danishinnis,

    We are going forward with the 5.2 install. Solution: Install CCS v5.2, diff with 5.2 from "Open" network install, copy files over. For future, those missing directories were added to a proprietary install script for each user's PC. So, run the ccs5.2_install.exe, then copy over the missing directories. Not elegant, maybe not even robust, but it works.

    The limitations of working on a closed network system can make these issues tedious, but thank you for your replies.

    Will
  • I'm sorry we weren't able to help you, but we have tried this (with later versions, can't say about 5.2) where we've copied over the folder structure from one machine to another and it's worked.