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.

Cannot Install CCS 4 In Windows 7 64-Bit.

1. Problem Statement

  a. Summary

    When installing CCS 4 setup executables, (Either setup_CCS_4.2.1.00004.exe or setup_CCS_4.1.3.00034.exe),
    a dialog is immediately displayed stating "Error in startup script:   failed to load library twapi.dll,
      couldn´t open C:\Users\Nick_2\AppData\Local\Temp\TCL783.tmp.

    See attachment

    The file C:\Users\Nick_2\AppData\Local\Temp\TCL783.tmp exists but is empty (0 Bytes)

b. Steps taken

  i)  Download setup_CCS_4.2.1.00004.zip from TI.
  ii) Expand setup_CCS_4.2.1.00004.zip into directory setup_CCS_4.2.1.00004

    Contents: Directory of F:\Drivers\TI\setup_CCS_4.2.1.00004
    09/01/2011  02:41    <DIR>          .
    09/01/2011  02:41    <DIR>          ..
    09/01/2011  02:40    <DIR>          install_images
    09/01/2011  02:41             1,632 manifest.txt
    09/01/2011  02:41               727 README_FIRST.txt
    09/01/2011  02:39         9,160,439 setup_CCS_4.2.1.00004.exe

  iii) Run setup_CCS_4.2.1.00004.exe

  iv)  Dialog immediately appears (See attachment)



   2. Prepare a summary of your environment with the information below:
         1. Screenshot attached
         2. CCS Version: (get from Help->About)  Never loads but have tried versions CCS_4.2.1.00004, 4.1.3.00034
         3. CCS Installation directory: Didn´t get that far
         4. Directory C:\Program Files\InstallJammer Registry does not exist
         9. Target Board Manufacturer: Texas Instruments
        10. Target board part #:  EK-LM3S8962-C
        11. Target board revision #: C2
        12. Target connector used: USB
        15. Host Operating System:  Windows
        16. Host Operating System Version: 7 64 Bit Ultimate 6.1.7600 Build 7600
        17. Host Operating System Service pack: N/A
        18. Host Operating System bits (32-bit or 64-bit) 64-Bit

  • Hi Nicholas,

    here's a detailed 'how-to-guide' about CCS installation: http://processors.wiki.ti.com/index.php/GSG:CCSv4_installation

    Rgds
    aBUGSworstnightmare 

  • Hi aBUGSworstnightmare,

    I am afraid I had already followed these instructions.

    1. I had switched User Access Control off.

    2. I had also right clicked on the setup file and "Unblocked" it under "Properties"

    3. I Double clicked the setup file.

    4. Before receiving any further dialogs, the error dialog below appeared.

     The TCL738F.tmp file appears to be there but empty (0 Bytes)

    Any other ideas?  It appears to me that the problem is that the  TCL738F.tmp file has not been correctly created from the setup file.

    Nick

     

     

  • A few other suggestions:

    http://processors.wiki.ti.com/index.php/Troubleshooting_CCS#Installation

    Also try installing while in "safe mode"

    Thanks

    ki

  • Hi Ki,

    I had already gone through

    http://processors.wiki.ti.com/index.php/Troubleshooting_CCS#Installation

    The problem is that the install process has not even gone far enough to install the installer. 

    The C:\Program Files\InstallJammer Registry  directory does not even exist!

    Thanks for the suggestion of "safe mode".  Unfortunately it did not work either - exactly the same response.

     

    Nick

  • Nick,

    Did you check if the file <TCL738F.tmp>is still there after the installer is closed? If so, can you try to delete it and see if it is not being used by another process? I am thinking that maybe a failed installation never released control of this temporary file...

    One idea that used to help me a lot in the past was deleting the temporary files in the temp directory. For some reason that I could never find the exact root, sometimes the installers mixed up temporary files and failed to properly execute. I recall having this issue with diverse products from different software houses.

    You can also pass a parameter that specifies the location of the Installjammer temporary files (the utility used to install CCSv4). From a command prompt you can type:

    C:\>setup_CCS_4.2.1.00004.exe /temp "<valid_temp_directory>"

    Hope this helps,

    Rafael

  • Hi Rafael,

    Thanks for the attempt

    I created

           D:\USERS\Nick_2\Documents\temp  (The D drive is hard linked to C:\Documents and Settings),

    and then ran

           F:\Drivers\TI\setup_CCS_4.2.1.00004> setup_CCS_4.2.1.00004.exe /temp "D:\USERS\Nick_2\Documents\temp"

    But it still tried to create the tmp file in the default directory.

    This doesn´t appear to be a locking problem. I can delete the empty tmp files without problem and each time it comes up with a slightly different filename.

    I have tried installing the same extracted file across the network to my old XP computer, and it works without problem.  This is clearly something to do with creating the TMP file for the installer in Windows 7 64Bit Ultimate Edition, or something else unexpected on my computer. (I don't suppose it is the hard link from C:\Documents And Settings to the D: drive???)

    I found the InstallJammer site on the Internet and then tried   setup_CCS_4.2.1.00004.exe --help and then  setup_CCS_4.2.1.00004.exe --debug, and that seemed to work.  No idea why!

    Nick

     

  • I had a very similar problem to Nick it didn't resolve by  the --help then --debug trick

    The key is that I also have my Doc & Settings hard linked to another drive.  When I logged in as a user without such a redirection I was able to install.

     

    It seems that the installer is not able to follow a 'standard' redirection of the users TMP directory.

     

    Laurie

     

  • Same situation here, Windows 7 x64 Ultimate, with hard linked user profile path to another drive. I get the same error message as the OP.

    To avoid using another user or unlinking the profile directory, create a Temp directory (mine is T:\Temp\CCS), start a command prompt as Admin, then type:

    SET TMP=T:\Temp\CCS  (replace with your temp path)

    CD /D X:\CCS (replace with your path to the CCS setup executable)

    SETUP_CCS_4.2.3.00004.EXE (replace with your version if different, or just type SETUP and press TAB)

    This starts the installation with no problems, and the UAC setting should also not matter since you started the setup from an Admin command prompt.

    (Note that  the installer will fail later if your AppData is also hard linked to a different drive. Still working on that one.)

     

    Update: Unselecting BIOS 5.x among the install options makes everything install without error.

  • Thanks for that; getting half way there now...  I have the same issues, but not getting it to fully install.  Haven't had an issue with relocated user directories except with TI tools; thank heavens for this thread...  Hate to have to put this on a separate machine because of this brain dead installer...

  • One of our FAEs flagged this thread for me.  Is hard linking your user folder to a different location common practice?  Is this done because higher restrictions are placed on C: so you hard-link to a different drive letter?

    Just wondering how many people are going to run into this.

     

    John

  • I think its getting more common with SSD primary drives --which is why I did mine.  You want to limit write accesses to these so a lot of people hard link to a mechanical secondary

  • That makes sense.  Certain folders have a lot of writes happening which wouldn't be good for the life of the SSD.

     

    I want to try to reproduce this locally so we can work with the InstallJammer team to figure out why our installer has an issue with this.

    Reading up on this a big Microsoft states that hard links are not supported across different drive letters so I am assuming people are using what Microsoft calls junctions instead.  http://msdn.microsoft.com/en-us/library/aa365006(v=vs.85).aspx

    This is what I was planning on doing:

    • Create a new user account (Linktest)
    • Login in once so the directory is created
    • Log out and log in as another account
    • Move the user directory to an external drive
    • Start a command prompt with run as admin
    • Create a junction between the original location and where I copied it "mklink /J C:\users\Linktest E:\users\Linktest

    Is that roughly what you did?

     

    John

     

     

     

  • yep; I think thats about it.

  • Oddly I needed to shutdown my machine even after logging out of the "Linked" account before I could move it to my external drive and create the link.

     

    I was able to reproduce the problem in both CCSv4 and the latest CCSv5.1 alpha builds.  I have filed a defect to track this.  The problem is most likely in the InstallJammer package so we will need to work with them to resolve it.  SDSCM00040737  

     

    Regards,

    John

     

     

     

  • John,

    Your approach to creating a linked user folder is correct (I believe you must enable "Show hidden files" and "Show system files" in Windows Explorer before you move the data, in order to move everything successfully). And yes, Microsoft has a habit of renaming existing terms, so "(soft) link" becomes "junction" under Windows.

    Some other reasons for doing this, besides caring for your SSD:.

    1) If your system partition becomes corrupted, or physically bad, gets destroyed for some other reason (like a virus) or you simply need to format and reinstall Windows, your user data, documents etc are still sitting safely in a different partition. It's then a matter of recreating the link in the newly installed Windows, to get all your documents and settings back.

    2) Some apps (and games) store an enormous amount of data (sometimes tens of gigabytes) in your user data folder. This can fill up the system partition.

    3) Performance. If your user data is on a different drive than your system and swap files, access to them will be faster and overall performance will be improved.

     

    About your logoff/shutdown issue: Make sure you select "Log off", not "Switch user". Then you should be able to log in as a different user and move the files.

     

    Cristian

  • Thanks for the explanation Cristian.

     

    Logging off didn't work, windows still wouldn't let me move the files.  No big deal to restart, I was overdue to do that anyway.

     

    John

  • hows the progress on this issue?  would like to get this installed on my main development machine. 

  • Yes, me too:

    C:\>dir U*
     Volume in drive C is SYSTEM
     Volume Serial Number is CA05-5C2C

     Directory of C:\

    23/02/2011  14:11    <DIR>          U211assets
    29/10/2010  06:10    <JUNCTION>     Users [D:\Users]
                   0 File(s)              0 bytes
                   2 Dir(s)  202,642,309,120 bytes free

  • the installer will suddenly vanish (with or without some dialog)

    if either its own location

    or its target location

    has a junction in the directory tree.

     

  • (edited by moderator due to inappropriate language)

  • How is this question answered?  I see no post with a resolution!!

  • hi, 

    i know why: because you changed your system temp dir,you have to repair system temp file path.

  • i know why: because you changed your system temp dir,you have to repair system temp file path.

  • dal wheeler said:

    I think its getting more common with SSD primary drives --which is why I did mine.  You want to limit write accesses to these so a lot of people hard link to a mechanical secondary

    Yes, that's why I'm using this setup. It's preventing me from installing the CG_XML tools, which use InstallJammer.

    EDIT: Solution for CG_XML tools installer is in this thread: https://e2e.ti.com/support/development_tools/compiler/f/343/p/500330/1812717#1812717