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: Unable to Install CCS, TEMP folder permission denied

Part Number: CCSTUDIO

Tool/software: Code Composer Studio

I am having this issue as well. Really an issue as I was working on a project. Now, I can't work on it as I can't get CCS installed on my Windows 10 machine.

I do have a "space" in my user name. When Windows asked me to set up my machine, it asked my to put my name in. After that, Windows created a directory under "C"/Users/" with my first space last name.

Not sure if this is really the issue, as the error is in deleting some ccs_error_codes.csv.    Why does not deleting this file have to crash the install?

  • Hello Stephen,

    Eclipse environment does not like blank characters in its environment paths.
    Create a new user without spaces, delete old user and all his data.
    Run CCS installer with an admin privilege.
  • Hi Tom,

    This seems like a horrible thing to do. I wonder what other applications will be messed up after I do this? Can you imagine how many path names I will break in doing this?

    There is to much risk for me to do what you suggest. I will certainly keep this episode in mind (and the linker issues that I have with TI processors) when I make hardware recommendations.

    Stephen

  • Stephen,
    We're looking into what the problem is. There should be no reason to change user names. Eclipse can't handle non-ascii characters, but spaces are ok.
    If you're using the offline installer, could you disable the network access and try the install? This should help you continue your work while we investigate.
    Danish
  • HI Danish,

    I have tried both on-line and off-line installer and get the same error message on both.

    I have disabled "windows defender" when doing the install. I have installed "eclipse C" (using with ARM processor), and it required no disabling of firewall to install it.

    I am unable to continue my work until I have CCS installed.

    Stephen
  • Could you please try the offline installer, with network access turned off, during the install? Let me know if that works for you.
    Thanks,
    Danish
  • Tried offline installer again, and with internet connection turned off. Still did not work.
  • Hi Stephen,

    <<< I will certainly keep this episode in mind (and the linker issues that I have with TI processors) when I make hardware recommendations.
    CCS comes from Linux and Unix world. During an installation a standard wget utility is used. Wget fails if it has spaces in paths.
    Microsoft confuses.

    Use offline installer with network access turned off.

    Keep this episode in mind and tell your friends, for example those who use Android Studio, that they should not use spaces in user names.
  • So disappointed with Windows and how they set up the machine. Looking forward to my next machine, when the problem will be fixed. I do appreciate your advice.
  • Did you tried to use offline installer with network access turned off?
  • Yes. I used the offline installer, and internet was turned off.
  • And no success?
    If yes, there must something unknown.
  • I was upgrading from 8.0 to 8.2. I did not uninstall 8.0 prior, just installed 8.2
  • Do not use upgrades if unnecessary.
    Select install dir for CCS8.0.0 like c:\ti\ccs800 (it is an option during an installation)
    and c:\ti\ccs820 for CCS8.2.0.
    Use separate workspaces for different CCS versions.
    In my case the above works for years.
  • On the last attempt, I did choose a different install directory. It still crashed on trying to delete the temp file in appdata folder.
  • Did you ran installer with an admin privilege?

  • Yes. Have tried with admin privelege.

    I've been trying lots of things. I can install 8.0 successfully. After I install it, I go to uninstall, and I get the message "Do you want to uninstall CCS 8.2?".

    There is some difference between 8.0 and 8.2 that will not allow install on my machine. Firewall is off, internet is off, running as admin, and I get the error about deleting temp file.
  • <<< and I get the message "Do you want to uninstall CCS 8.2?".
    Looks like a jumble.

    I do recommend:
    - uninstall all CCS versions
    - delete all TI related files and folders within %AppData%

    Start new installation with recommendations from this post.
  • Not sure what a jumble is, but I am going to try and install v 8.1 now. I guess 8.1 will compile the water meter correctly, so hope this does it. I did have all CCS versions uninstalled prior to attempting 8.2 install. The issue with the appdata folder is that it is a hidden folder. Once I change properties to show hidden folders, my hard disk starts spinning and it takes a very long time to do this. I didn't have the patience to make hidden folders visible. Wish me luck with v 8.1. Will update thread with the results of that install.

  • I'm trying to run the "MSP430FR6047EVM_USS_Water_Demo". Code (direct from TI - no modifications), fails to build with Linker error (v8.0)

  • I am lost.
    I last 2 posts you talk about 8.0, 8.1 and 8.2.
    Which ver. do you use?

    <<< fails to build with Linker error (v8.0)
    Post console output.

    I guess your issue is not related to CCS.

    https://e2e.ti.com/support/microcontrollers/msp430/f/166

  • I am going to be installing 8.1 shortly. Previous posts came out of order.
  • open windows explorer and type %appdata% and Enter
    should work
    in ...\AppData\Local there would be TI stuff, delete it
  • Okay. Here is the summary:

    8.0 install OK
    8.1 install OK
    8.2 install fails on deleting temp file
  • disconnect from network,
    use offline installer with an admin privilege.
  • I have given up on installing v8.2.  v8.1 is working and is meeting my needs.

  • Seems as good a place as any to reinforce OP's mileage here. Similarly, I am having no luck installing CCS 8.2 on Windoze 7.

    Previous installs of CCS 7.n and 8.1 worked fine.

    To 'install' v8.2:

    - Uninstalled CCS 8.1 using the in-directory 'Uninstall' program.

    - Start the 8.2 off-line installer as 'Administrator' (in exasperation, had already given up on the on-line installer.)

    - it also reports I have antivirus software running. I don't. Windows Defender is off.

    - Then reports: Windows Updates Check KB2999226 -> Please apply the latest Windows Updates and verify that KB2999226 is installed. In fact, ALL Windows 7 updates have been applied to this box. And attempt to manually install KB2999226 reports 'does not apply' to this environment.

    - Ignoring, proceeding:

    - am faced with the same 'error deleting: ".../<Username>/AppData/Local/Temp/ccs_<long_uuid>/ccs_error_codes.csv" permission denied.. message

    Seems clear that the installer itself is creating this file, then leaving the file handler open. It can't be deleted, because it's open!

    Have tried many combinations of deleting the ti/ccsv8 dir, the entire AppData/Local/Temps/ccs_* dir, etc. Have also verified that privileges on the entire Temp dir are not over-restrictive. 

    My 'User Name' also has a space in it, and I have thus far survived any number of other Windows installs, including a few previous CCS, and other Eclipse, installs.

    Sooo many things are wrong with this installer... Really just want to maintain a mini-development env on Windows for the very few things, perhaps 10 times per year, for which we are forced to start Windows... Have wasted hours on this, just today.

    These baseline items - installing the Dev Env, Out-of-Box examples, etc. - should just plain absolutely work, having been tested exhaustively against all use cases.

  • I have rolled back to using version 8.1
  • Hello Lou,

    LouEEEE! said:
    My 'User Name' also has a space in it, and I have thus far survived any number of other Windows installs, including a few previous CCS, and other Eclipse, installs.

    Some parts of installation are based on a Linux flagship wget utility. wget cannot deal with paths containing spaces.
    CCS has toolchains to generate code for embeded Linux also, ex: Beaglebone.
    Using MS "nice" features is putting yourself into competitive games.

    CCS uses cigwin.
    Do you have any other than cygwin Linux world based utilities on your PC?

  • Sorry, Tomasz,

    Doesn't really make sense. If a user must rename his Windows accounts, or use/create one with no spaces, this should at minimum be mentioned as a prerequisite.

    Besides, previous installs of CCS - v7 and earlier v8 - have all worked. Seems unlikely that just 8.2 has advanced into using wget? (and I see no evidence that wget is even implicated by the time this is failing. Remember, this installation is now a non-networked one at this point. Would expect some sort of 'unable to find'-type messages if pathnames were being truncated by errant spaces, no?)

    I have as little as possible use of Windows as patience will allow. In general, we avoid Windows like The Black Death. I come from a pretty heavy UNIX background; oh, if only Windows were actually Unix...

    I hope for the day when the entire TI ecosystem can be managed under macOS only.

  • Lou,

    I have CCS6.1.1, 6.1.3, 6.2.0, 7.1.0, 7.2.0, 7.3.0, 7.4.0, 8.0.0, 8.1.0 and 8.2.0,
    and all installed without any issues and working properly.
  • Solved the problem! The cause was temp/tmp paths containing spaces. Just set a new temp/tmp path in windows variables.