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.

How CCS find CGT installation path from registry?

CCS shows up all versions of CGT installed in windows->preference->ccs->build->compilers.

The questions is from which windows registry path it is listing the installation path. This CGT registry is kind of tricky since it doesnt show up in uinstall list from registry i am keen to know from where in registry it find the installed paths.

This is very much needed since, i am giving my custom path for installation

  • Hi Arun,
    All versions of CCS greater than 3 no longer rely on the Windows registry. It is stored in metadata information in the CCS directory:

    <CCS INSTALL DIR>\ccsv6\eclipse\configuration\ccs.properties

    It would only contain paths that have been added by the user and not show the default paths (<CCS INSTALL DIR> and <CCS INSTALL DIR>\ccsv6\tools\compiler

    Thanks
    ki
  • Hello Ki,
    Thanks for you reply.But i need more details.
    But still CCS knows some ways installation paths of different compilers, all versions of compilers installed are listed by CCS.
    Like ex: in my ccs i have two compiler versions so it shows as
    TI V6.4.2 (<CCS INSTALL DIR>\ccsv6\tools\compiler/ti-cgt-c2000_6.4.2)
    TI V6.2.9(C:\ti\ti_cgt_6_2_9)

    i want to know how CCS found this path C:\ti\ti_cgt_6_2_9, which is not default path while installation.I couldnt find a registry for this, except it is shown in some MUICache.

    Please give the path or ways to find this path C:\ti\ti_cgt_6_2_9.
    CCS INSTALL DIR>

    Thanks
    Arun
  • Hi Ki,
    Basically if i install in c drive under some folder like CGT, and if i add C drive in tool discovery path, then, clearly discovered tools shows up CGT location path and its version, from where it gets this information???

    Thanks
    Arun
  • Arun Kumar M S said:
    i want to know how CCS found this path C:\ti\ti_cgt_6_2_9, which is not default path while installation.I couldnt find a registry for this, except it is shown in some MUICache.

    As mentioned in my previous post:

    Ki-Soo Lee said:

    It would only contain paths that have been added by the user and not show the default paths (<CCS INSTALL DIR> and <CCS INSTALL DIR>\ccsv6\tools\compiler)

    CCS will always search in those default paths. I assume you have CCS installed in C:\ti. So that is why it is picking up C:\ti\ti_cgt_6_2_9. That path is inside the default search path

    Thanks

    ki

  • Arun Kumar M S said:
    Hi Ki,
    Basically if i install in c drive under some folder like CGT, and if i add C drive in tool discovery path, then, clearly discovered tools shows up CGT location path and its version, from where it gets this information???


    It uses the path you entered in the tools discovery path dialog and search the subdirectories in it. It will search up to 3 level deep I believe.

  • Ki, Thanks a lot for the explanation.



    \Arun