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: Installer fails - I think due to a space in the user name and temp folder path

Tool/software: Code Composer Studio

Hi Guys,

I can't seem to find any other examples of this. When I install CCSv7 using either the online or offline installer it always fails - suggesting I check my AV (off) or it's a corrupt download (tried a few times).

I've looked in the log and I see: 07/06/2017 23:36:38(GMT) - extract - couldn't unzip C:/Users/First Last/AppData/Local/Temp/ccs_384058fe-f2c0-46b2-673b-9b81441c6416/jre_root_1.8.0.122: couldn't execute "C:\Users\First": no such file or directory

It looks like the installer is unable to handle a space in my username/temp directory path. Is there an install flag to fix this? Do I need to temporarily change my TMP and TEMP environmental variables?

Thanks.

  • Hello!
    Spaces, non-ascii characters in windows user name - these are well known "don'ts". "Just avoid holding it in that way" (c)
    You'd better have solid, spaceless username as for installation, so for your future work. No need to say the path to your CCS installation should not have spaces too.

  • Unfortunately this doesn't help me - I have no control over my username in a corporate network. It's not great that it doesn't support space in the username AND not be able to detect/warn that this is the problem.

    PS - I'm not new to CCS, I've been using it since v3.3 and v4. May just be the first time I've installed it with a space in my username, or maybe the first time it has cared about it, I can't recall. In fact I'm pretty sure I installed v6 with "First Last" username.
  • I'm afraid, I have no good news for you.
    Perhaps you might workaround with TMP/TEMP folder substitution, but be sure you'll face other troubles at build time, then at debug time. Sorry about that.
  • I will be clear - this is a problem with running the installer - NOT a problem with running the application itself.

    I expect no problem running the application as it does not use the temp folders for building. And I'm smart enough to install it to C:\ti\ or similar without spaces.
  • I changed my TMP and TEMP environmental variables to C:\temp for the CCS installation process and it worked just fine.

    I changed my TMP and TEMP back to default again and projects compile without any problem.

    Hope this helps anyone else who might come across this thread one day.
  • This worked for the CCS installation. Thanks.
    However, doing this caused printing from all Microsoft Office applications (to any printer) to fail, so the TMP and TEMP variables have to be reset after CCS installation.