I tried to do a fresh install of the latest CCS (CCS5.1.1.00031_win32) on my new computer that runs Windows 7 Enterprise and it did not have prior installations of any TI product. During the installation right around the setup box indicating "Registering com.ti.ccstudio.debugserver.win32 feature" it created a folder named sonu in my C:\Users directory and the following.
C:\Users\sonu\workspace_v5_1
Also eventually in that C:\Users\sonu folder CCS will store the user-defined Target Configuration files.
Why is it doing that? Why is not creating that folder under my user account, say C:\User\cwang
Any idea?
Thanks,
Chris
Hello Chris,
It should be creating those folders inside the user folder of the current user account. The installer will use the windows environment variables for the current user logged in. Can you confirm that you are logged in as 'cwang' and not as 'sonu'?
Thanks
ki
-----------------------------------
Don't forget to verify answers to your forum questions by using the green "Verify Answer" button.
Did you read the CCS Forum Guidelines & FAQ? If not, PLEASE read it. If you haven't read it in awhile, please read it again to see if any updates were made.
Having CCSv5 problems? Check out the CCSv5 Troubleshooting Guide
Click here to track an issue. Enter your bug id in the "Find Record ID" box
Hi Ki,
Thanks for responding. I am logged in as cwang. I have also checked "User Accounts" under Windows 7's Control Panel and there is no such user named "sonu". Is there any thing specific I can check in Windows 7 (eg, environment variable or registry entry)?
Chris,
Can you check one thing? Open a Windows Command Prompt box (Windows Key + R --> type CMD) then type:
echo %HOMEPATH%
It should read back the name of the path to the home and user directories.
To see several other environment variables that may be influencing your installation, simply type set on the prompt and see if you get a "sonu" somewhere.
These variables are set by right-clicking on the icon Computer --> Advanced System Settings --> tab Advanced --> Environment Variables button
Hope this helps,
Rafael
Hi Rafael,
Thanks for responding. Echoing HOMEPATH returned the following.
C:\Users\cwang>echo %HOMEPATH%\
I also did a set command at Windows Command Prompt and inspected the output and I didnot find any "sonu" string.
My HOMEPATH seems to be empty, containing only a "\" character. Could this be the root cause? What does it suppose to look like?
Thank you,
The fact you are using Windows 7 and your homepath is C:\ may be a source for trouble; if you have UAC enabled, it will try to protect critical areas of the system (root directory included) and therefore it may be the reason why you are having this strange "User" called sonu.
I would try to create a different user (to avoid destroying any existing data/work), make sure its home directory is the default C:\Users\<username_chosen>, logon to it and run CCS. That should take care of the strange username.
Some reference threads that talk about UAC and Windows Vista/7:
http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/110030.aspx#389595
http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/110030/525730.aspx
I think you are right. The fact that my HOMEPATH is pointing to the root directly seems to be source of the problem. I have two other systems and both are Windows 7. CCS installed on there just fine because their HOMEPATH points to the correct user directory. I am working with my IT people to fix this HOMEPATH issue either through changing settings in User Account Management or reinstall Windows 7 completely (assuming somewhere it would let you set HOMEPATH somehow).
Do you know a quick way to fix this HOMEPATH mess? We tried to do it via adding a HOMEPATH environment variable and that didn't have any effect at all because Windows keeps setting it back to root directly when we query it (using echo). I will also try that UAC setting you mentioned and report back.