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/CCSTUDIO: "CCS_ERROR: Unable to install repotype executable " When Trying to Install Code Composer Studio 9 or 10 Under Windows 10

Part Number: CCSTUDIO

Tool/software: Code Composer Studio

Morning Folks:

  While I see that other people have described this problem, I do not see a solution for it in the forum. Here is the message I receive when trying to install the latest versions of CCS 9 and 10 (single file offline installer).

  The installation window said that com.ti.msp432.support_files_8.2.2.jar was being unpacked when the error occurred. Please note that anti-virus software (F-Secure) was disabled during my attempts to install CCS. Additionally, the installer was executed with admin privileges. Please also note that other engineers in my group (same environment) have successfully installed both CCS 9 and 10 without problems. So, this problem appears to be specific to my computer. Do you have a solution for this problem?

  Thanks! -Michael

  • Hello Michael,

    Can you generate the debug  log and provide more details about your system as mentioned in the last two posts of this thread?

    https://e2e.ti.com/support/tools/ccs/f/81/p/906374/3351597#3351597

    Thanks

    ki

  • Hi ki:

      Anti-virus is F-Secure version 20.2 and is disabled. OS is 64-bit Windows 10 Pro Version1803 build 17134.1304. Hardware is Dell OptiPlex 3050 with Intel Core i5-7500 and 16 GB RAM.

      I performed install from admin shell with debug enabled. However, I don't see any debug files, only log files.

      How do I send you the log files. I assume you want them?

      -Michael

  • You can just zip them up and attach it to this thread.

    Can you also repost your screenshot? You last one didn't go through. Please note this FAQ when posting screenshots.

    Thanks

    ki

  • Thank you. I have escalated this issue to the engineering teams responsible for the installer. I will pass on any updates to you as I get them

    Thanks

    ki

  • Michael,

    The issue seems to be with the certutil call that the installer makes. There seems to be an issue on your system regarding the way we call it.

    Can you run the following command from a console window:

    > certutil -?

    And copy and paste the output to this thead? You can pipe the output to a text file and post the file.

    Thanks

    ki

  • Hi Ki:

      Here is a copy of the command's output.

      Thanks! -Michael

    PS C:\WINDOWS\system32> certutil -?
    Verbs:
      -dump             -- Dump configuration information or file
      -dumpPFX          -- Dump PFX structure
      -asn              -- Parse ASN.1 file
      -decodehex        -- Decode hexadecimal-encoded file
      -decode           -- Decode Base64-encoded file
      -encode           -- Encode file to Base64
      -deny             -- Deny pending request
      -resubmit         -- Resubmit pending request
      -setattributes    -- Set attributes for pending request
      -setextension     -- Set extension for pending request
      -revoke           -- Revoke Certificate
      -isvalid          -- Display current certificate disposition
      -getconfig        -- Get default configuration string
      -ping             -- Ping Active Directory Certificate Services Request interface
      -pingadmin        -- Ping Active Directory Certificate Services Admin interface
      -CAInfo           -- Display CA Information
      -ca.cert          -- Retrieve the CA's certificate
      -ca.chain         -- Retrieve the CA's certificate chain
      -GetCRL           -- Get CRL
      -CRL              -- Publish new CRLs [or delta CRLs only]
      -shutdown         -- Shutdown Active Directory Certificate Services
      -installCert      -- Install Certification Authority certificate
      -renewCert        -- Renew Certification Authority certificate
      -schema           -- Dump Certificate Schema
      -view             -- Dump Certificate View
      -db               -- Dump Raw Database
      -deleterow        -- Delete server database row
      -backup           -- Backup Active Directory Certificate Services
      -backupDB         -- Backup Active Directory Certificate Services database
      -backupKey        -- Backup Active Directory Certificate Services certificate and private key
      -restore          -- Restore Active Directory Certificate Services
      -restoreDB        -- Restore Active Directory Certificate Services database
      -restoreKey       -- Restore Active Directory Certificate Services certificate and private key
      -importPFX        -- Import certificate and private key
      -dynamicfilelist  -- Display dynamic file List
      -databaselocations -- Display database locations
      -hashfile         -- Generate and display cryptographic hash over a file
      -store            -- Dump certificate store
      -enumstore        -- Enumerate certificate stores
      -addstore         -- Add certificate to store
      -delstore         -- Delete certificate from store
      -verifystore      -- Verify certificate in store
      -repairstore      -- Repair key association or update certificate properties or key security descriptor
      -viewstore        -- Dump certificate store
      -viewdelstore     -- Delete certificate from store
      -UI               -- invoke CryptUI
      -attest           -- Verify Key Attestation Request
      -dsPublish        -- Publish certificate or CRL to Active Directory
      -ADTemplate       -- Display AD templates
      -Template         -- Display Enrollment Policy templates
      -TemplateCAs      -- Display CAs for template
      -CATemplates      -- Display templates for CA
      -SetCASites       -- Manage Site Names for CAs
      -enrollmentServerURL -- Display, add or delete enrollment server URLs associated with a CA
      -ADCA             -- Display AD CAs
      -CA               -- Display Enrollment Policy CAs
      -Policy           -- Display Enrollment Policy
      -PolicyCache      -- Display or delete Enrollment Policy Cache entries
      -CredStore        -- Display, add or delete Credential Store entries
      -InstallDefaultTemplates -- Install default certificate templates
      -URLCache         -- Display or delete URL cache entries
      -pulse            -- Pulse autoenrollment event or NGC task
      -MachineInfo      -- Display Active Directory machine object information
      -DCInfo           -- Display domain controller information
      -EntInfo          -- Display enterprise information
      -TCAInfo          -- Display CA information
      -SCInfo           -- Display smart card information
      -SCRoots          -- Manage smart card root certificates
      -verifykeys       -- Verify public/private key set
      -verify           -- Verify certificate, CRL or chain
      -verifyCTL        -- Verify AuthRoot or Disallowed Certificates CTL
      -syncWithWU       -- Sync with Windows Update
      -generateSSTFromWU -- Generate SST from Windows Update
      -generatePinRulesCTL -- Generate Pin Rules CTL
      -downloadOcsp     -- Download OCSP Responses and Write to Directory
      -generateHpkpHeader -- Generate HPKP header using certificates in specified file or directory
      -flushCache       -- Flush specified caches in selected process, such as, lsass.exe
      -addEccCurve      -- Add ECC Curve
      -deleteEccCurve   -- Delete ECC Curve
      -displayEccCurve  -- Display ECC Curve
      -sign             -- Re-sign CRL or certificate
      -vroot            -- Create/delete web virtual roots and file shares
      -vocsproot        -- Create/delete web virtual roots for OCSP web proxy
      -addEnrollmentServer -- Add an Enrollment Server application
      -deleteEnrollmentServer -- Delete an Enrollment Server application
      -addPolicyServer  -- Add a Policy Server application
      -deletePolicyServer -- Delete a Policy Server application
      -oid              -- Display ObjectId or set display name
      -error            -- Display error code message text
      -getreg           -- Display registry value
      -setreg           -- Set registry value
      -delreg           -- Delete registry value
      -ImportKMS        -- Import user keys and certificates into server database for key archival
      -ImportCert       -- Import a certificate file into the database
      -GetKey           -- Retrieve archived private key recovery blob, generate a recovery script,
          or recover archived keys
      -RecoverKey       -- Recover archived private key
      -MergePFX         -- Merge PFX files
      -ConvertEPF       -- Convert PFX files to EPF file
      -add-chain        -- (-AddChain) Add certificate chain
      -add-pre-chain    -- (-AddPrechain) Add pre-certificate chain
      -get-sth          -- (-GetSTH) Get signed tree head
      -get-sth-consistency -- (-GetSTHConsistency) Get signed tree head changes
      -get-proof-by-hash -- (-GetProofByHash) Get proof by hash
      -get-entries      -- (-GetEntries) Get entries
      -get-roots        -- (-GetRoots) Get roots
      -get-entry-and-proof -- (-GetEntryAndProof) Get entry and proof
      -VerifyCT         -- Verify certificate SCT
      -?                -- Display this usage message

    CertUtil -?              -- Display a verb list (command list)
    CertUtil -dump -?        -- Display help text for the "dump" verb
    CertUtil -v -?           -- Display all help text for all verbs
    CertUtil: -? command completed successfully.

  • Interestingly, the certutil command called by the install script is different than the one expected. It is also different than the one that runs when you manually call it from the command-line. 

    From your log:

    Type certutil -H for more detailed descriptions
    Usage: certutil -N [-d certdir] [-P dbprefix] [-f pwfile]
    Usage: certutil -T [-d certdir] [-P dbprefix] [-h token-name] [-f pwfile]
    certutil -A -n cert-name -t trustargs [-d certdir] [-P dbprefix] [-a] [-i input]
    certutil -C [-c issuer-name | -x] -i cert-request-file -o cert-file
    [-m serial-number] [-w warp-months] [-v months-valid]
    [-f pwfile] [-d certdir] [-P dbprefix] [-1] [-2] [-3] [-4] [-5]
    [-6] [-7 emailAddrs] [-8 dns-names]
    certutil -D -n cert-name [-d certdir] [-P dbprefix]
    certutil -E -n cert-name -t trustargs [-d certdir] [-P dbprefix] [-a] [-i input]
    certutil -G -n key-name [-h token-name] [-k rsa] [-g key-size] [-y exp]
    [-f pwfile] [-z noisefile] [-d certdir] [-P dbprefix]
    certutil -G [-h token-name] -k dsa [-q pqgfile -g key-size] [-f pwfile]
    [-z noisefile] [-d certdir] [-P dbprefix]
    certutil -K [-n key-name] [-h token-name] [-k dsa|rsa|all]
    [-f pwfile] [-X] [-d certdir] [-P dbprefix]
    certutil -L [-n cert-name] [-X] [-d certdir] [-P dbprefix] [-r] [-a]
    certutil -M -n cert-name -t trustargs [-d certdir] [-P dbprefix]
    certutil -O -n cert-name [-X] [-d certdir] [-P dbprefix]
    certutil -R -s subj -o cert-request-file [-d certdir] [-P dbprefix] [-p phone] [-a]
    [-y emailAddrs] [-k key-type] [-h token-name] [-f pwfile] [-g key-size]
    certutil -V -n cert-name -u usage [-b time] [-e]
    [-X] [-d certdir] [-P dbprefix]
    certutil -S -n cert-name -s subj [-c issuer-name | -x] -t trustargs
    [-k key-type] [-q key-params] [-h token-name] [-g key-size]
    [-m serial-number] [-w warp-months] [-v months-valid]
    [-f pwfile] [-d certdir] [-P dbprefix]
    [-p phone] [-1] [-2] [-3] [-4] [-5] [-6] [-7 emailAddrs]
    [-8 dns-names]
    certutil -U [-X] [-d certdir] [-P dbprefix]

     

  • Hi,

    Could you take a look to see if there's some third party certutil on your machine? Check your path and the system path. We're trying to figure out if there's a second version that's being called when run via the installer.

    thank you,

    Danish Innis

  • Ki/Danish:

      This is all the path information I'm aware of. Let me know if you need something else. -Michael

    Paths.docx

  • Thanks. Can you also open a DOS command terminal and provide the output when you type:

    > echo %PATH%

    Thanks

    ki

  • Hi Ki:

      Here you go... -Michael

    Microsoft Windows [Version 10.0.17134.1304]
    (c) 2018 Microsoft Corporation. All rights reserved.
    C:\Users\enmjl>echo %PATH%
    C:\Program Files\SlickEdit Pro 23.0.2\win\;.;C:\Program Files (x86)\Serena\vm\wi
    n32\bin;C:\Program Files (x86)\Serena\vm\common\bin\win32;C:\WINDOWS\system32;C:
    \WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:
    \PROGRA~1\IBM\SQLLIB\BIN;C:\PROGRA~1\IBM\SQLLIB\FUNCTION;C:\WINDOWS\System32\Ope
    nSSH\;C:\Utils;C:\Work\Model705FF_PA\_dev_tools;C:\Program Files (x86)\IVI Found
    ation\VISA\WinNT\Bin;C:\Program Files\IVI Foundation\VISA\Win64\Bin\;C:\VISA\Win
    NTBin;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\
    Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Users\enmjl\App
    Data\Local\Microsoft\WindowsApps;
    C:\Users\enmjl>
  • From the DOS terminal window, modify the PATH variable so that the only directory is "C:\Windows\System32" and then run the installer exe from the same terminal window?

  • Morning Ki:

      There is no change when I do this. The install aborts with the exact same error.

      -Michael

  • Thanks for trying. We are really befuddled how/where the installer is picking up the wrong certutil utility and not the correct one from windows\system32

    When you type:

    > where certutil 

    it picks up the one from windows\system32, correct?

  • Hi Ki:

      Yes. See CL output below:

    C:\MikeTemp\CCS10.0.0.00010_win64\CCS10.0.0.00010_win64>where certutil
    c:\Windows\System32\certutil.exe

  • Do you have some Linux environment like WSL or cygwin installed?

  • Afternoon Ki:

      No, this is just a standard Dell Windows 10 machine (OptiPlex 3050); no other OS's on it.

      -Michael

  • WSL and cygwin is not necessarily another whole OS but a Linux compatible kernel interface:

    https://docs.microsoft.com/en-us/windows/wsl/about

  • Hi Ki:

      I've looked in the applications list and don't see either of those there. Don't see anything under the Program Files directories, either. Is there anywhere else I should look to insure that those aren't installed? If those were installed, it wouldn't have been by me. It would have had to have been an application that installed them.

      -Michael

  • can you do a search of your entire system drive for certutil.exe? There is some version of this utility that is being called by the installer but it is different than the one that is expected by the installer. The version that is getting called is a version that I see installed on my Linux laptop. Hence why I asked if you may have installed some Linux based stuff like WSL

  • Hi Ki:

      I've attached a spreadsheet with the results of the certutil.exe search.

      -Michael

    CertutilSearchResults.xlsx

  • Can you run:

    > C:\Windows\SysWOW64\certutil.exe

    Is it the same as:

    https://e2e.ti.com/support/tools/ccs/f/81/p/907439/3357310#3357310?

  • Hi Ki:

      If you mean with the "-?", yes. They are the same. Here is the output.

    PS C:\WINDOWS\system32> C:\Windows\SysWOW64\certutil.exe -?
    Verbs:
      -dump             -- Dump configuration information or file
      -dumpPFX          -- Dump PFX structure
      -asn              -- Parse ASN.1 file
      -decodehex        -- Decode hexadecimal-encoded file
      -decode           -- Decode Base64-encoded file
      -encode           -- Encode file to Base64
      -deny             -- Deny pending request
      -resubmit         -- Resubmit pending request
      -setattributes    -- Set attributes for pending request
      -setextension     -- Set extension for pending request
      -revoke           -- Revoke Certificate
      -isvalid          -- Display current certificate disposition
      -getconfig        -- Get default configuration string
      -ping             -- Ping Active Directory Certificate Services Request interface
      -pingadmin        -- Ping Active Directory Certificate Services Admin interface
      -CAInfo           -- Display CA Information
      -ca.cert          -- Retrieve the CA's certificate
      -ca.chain         -- Retrieve the CA's certificate chain
      -GetCRL           -- Get CRL
      -CRL              -- Publish new CRLs [or delta CRLs only]
      -shutdown         -- Shutdown Active Directory Certificate Services
      -installCert      -- Install Certification Authority certificate
      -renewCert        -- Renew Certification Authority certificate
      -schema           -- Dump Certificate Schema
      -view             -- Dump Certificate View
      -db               -- Dump Raw Database
      -deleterow        -- Delete server database row
      -backup           -- Backup Active Directory Certificate Services
      -backupDB         -- Backup Active Directory Certificate Services database
      -backupKey        -- Backup Active Directory Certificate Services certificate and private key
      -restore          -- Restore Active Directory Certificate Services
      -restoreDB        -- Restore Active Directory Certificate Services database
      -restoreKey       -- Restore Active Directory Certificate Services certificate and private key
      -importPFX        -- Import certificate and private key
      -dynamicfilelist  -- Display dynamic file List
      -databaselocations -- Display database locations
      -hashfile         -- Generate and display cryptographic hash over a file
      -store            -- Dump certificate store
      -enumstore        -- Enumerate certificate stores
      -addstore         -- Add certificate to store
      -delstore         -- Delete certificate from store
      -verifystore      -- Verify certificate in store
      -repairstore      -- Repair key association or update certificate properties or key security descriptor
      -viewstore        -- Dump certificate store
      -viewdelstore     -- Delete certificate from store
      -UI               -- invoke CryptUI
      -attest           -- Verify Key Attestation Request
      -dsPublish        -- Publish certificate or CRL to Active Directory
      -ADTemplate       -- Display AD templates
      -Template         -- Display Enrollment Policy templates
      -TemplateCAs      -- Display CAs for template
      -CATemplates      -- Display templates for CA
      -SetCASites       -- Manage Site Names for CAs
      -enrollmentServerURL -- Display, add or delete enrollment server URLs associated with a CA
      -ADCA             -- Display AD CAs
      -CA               -- Display Enrollment Policy CAs
      -Policy           -- Display Enrollment Policy
      -PolicyCache      -- Display or delete Enrollment Policy Cache entries
      -CredStore        -- Display, add or delete Credential Store entries
      -InstallDefaultTemplates -- Install default certificate templates
      -URLCache         -- Display or delete URL cache entries
      -pulse            -- Pulse autoenrollment event or NGC task
      -MachineInfo      -- Display Active Directory machine object information
      -DCInfo           -- Display domain controller information
      -EntInfo          -- Display enterprise information
      -TCAInfo          -- Display CA information
      -SCInfo           -- Display smart card information
      -SCRoots          -- Manage smart card root certificates
      -verifykeys       -- Verify public/private key set
      -verify           -- Verify certificate, CRL or chain
      -verifyCTL        -- Verify AuthRoot or Disallowed Certificates CTL
      -syncWithWU       -- Sync with Windows Update
      -generateSSTFromWU -- Generate SST from Windows Update
      -generatePinRulesCTL -- Generate Pin Rules CTL
      -downloadOcsp     -- Download OCSP Responses and Write to Directory
      -generateHpkpHeader -- Generate HPKP header using certificates in specified file or directory
      -flushCache       -- Flush specified caches in selected process, such as, lsass.exe
      -addEccCurve      -- Add ECC Curve
      -deleteEccCurve   -- Delete ECC Curve
      -displayEccCurve  -- Display ECC Curve
      -sign             -- Re-sign CRL or certificate
      -vroot            -- Create/delete web virtual roots and file shares
      -vocsproot        -- Create/delete web virtual roots for OCSP web proxy
      -addEnrollmentServer -- Add an Enrollment Server application
      -deleteEnrollmentServer -- Delete an Enrollment Server application
      -addPolicyServer  -- Add a Policy Server application
      -deletePolicyServer -- Delete a Policy Server application
      -oid              -- Display ObjectId or set display name
      -error            -- Display error code message text
      -getreg           -- Display registry value
      -setreg           -- Set registry value
      -delreg           -- Delete registry value
      -ImportKMS        -- Import user keys and certificates into server database for key archival
      -ImportCert       -- Import a certificate file into the database
      -GetKey           -- Retrieve archived private key recovery blob, generate a recovery script,
          or recover archived keys
      -RecoverKey       -- Recover archived private key
      -MergePFX         -- Merge PFX files
      -ConvertEPF       -- Convert PFX files to EPF file
      -add-chain        -- (-AddChain) Add certificate chain
      -add-pre-chain    -- (-AddPrechain) Add pre-certificate chain
      -get-sth          -- (-GetSTH) Get signed tree head
      -get-sth-consistency -- (-GetSTHConsistency) Get signed tree head changes
      -get-proof-by-hash -- (-GetProofByHash) Get proof by hash
      -get-entries      -- (-GetEntries) Get entries
      -get-roots        -- (-GetRoots) Get roots
      -get-entry-and-proof -- (-GetEntryAndProof) Get entry and proof
      -VerifyCT         -- Verify certificate SCT
      -?                -- Display this usage message

    CertUtil -?              -- Display a verb list (command list)
    CertUtil -dump -?        -- Display help text for the "dump" verb
    CertUtil -v -?           -- Display all help text for all verbs
    CertUtil: -? command completed successfully.
    PS C:\WINDOWS\system32>
  • Thanks. Yes with the -?. I assume "certutil -H" fails

  • Can you start a private conversation with me? While we continue investigation, I would like to offer a workaround for you to use in the meantime.

    Thanks

    ki

  • Hi Ki:

      Yes. Complains of unknown argument...

      -Michael

  • Hi Ki:

      Yes. When would you be available to do this?

      -Michael

  • Can you start a private E2E conversation with me? Please see the last FAQ in the below post:

    https://e2e.ti.com/support/tools/ccs/f/81/t/3131