Ts-tools Not Running

Discussion in 'General Discussion' started by PaulH, Jun 3, 2024.

  1. PaulH

    PaulH New Member

    Joined:
    Apr 8, 2022
    Messages:
    12
    Likes Received:
    5
    Can someone advise in simpleton terms (for me!!) how to get over the problem with TS Tools not running on my PC wit Windows 10. I am trying to "Run as Administrator" but I get the message:

    Runtime error 339
    Component MSCOMCTL or one of its dependencies not correctly registered: a file is missing or invalid.

    Also, when I right click on the TSTools exe file, I don't get the option to "Always Run as Administrator", just "Run as Administrator".

    Paul
     
  2. Spikee1975

    Spikee1975 Guest

    There's an option to register that dll in the TSTools menu. You must do that. It can't be by the TSTools installer because Windows will block it, that's why you need to click that menu option.
     
  3. higgsy333

    higgsy333 Member

    Joined:
    Apr 13, 2020
    Messages:
    43
    Likes Received:
    22
    Ts-tools doesn't register the libraries it needs to run regardless of windows edition, Mike included two batch files to do it register.bat to register with windows the main libraries Ts-tools needs to start and registersp.bat which registers superpicture2.ocx for the TS-tools texture viewer \converter which what the menu option does, op won't be able to do that.

    The provided register.bat file won't work. Open the register.bat in the Ts-tools folder in notepad (Right click and edit) delete everything and paste in these commands

    regsvr32.exe "C:\Rail Utilities\TS-Tools\c1sizer.ocx"

    regsvr32.exe "C:\Rail Utilities\TS-Tools\mscomctl.ocx"

    regsvr32.exe "C:\Rail Utilities\TS-Tools\richtx32.ocx"

    regsvr32.exe "C:\Rail Utilities\TS-Tools\vsflex8l.ocx"

    regsvr32.exe "C:\Rail Utilities\TS-Tools\vsprint8.ocx"

    regsvr32.exe "C:\Rail Utilities\TS-Tools\sawzipng.dll"

    Save the file and run as administrator this works for me in Win 10, registersp.bat doesn't need editing.

    HTH
     
  4. PaulH

    PaulH New Member

    Joined:
    Apr 8, 2022
    Messages:
    12
    Likes Received:
    5
    Thank you Gents
     
  5. PaulH

    PaulH New Member

    Joined:
    Apr 8, 2022
    Messages:
    12
    Likes Received:
    5
    Higgsy333,

    tried this, still doesn't work.
     
  6. PaulH

    PaulH New Member

    Joined:
    Apr 8, 2022
    Messages:
    12
    Likes Received:
    5
    Spikee1975,

    How do I get to the TSTools menu you refer to and the option to register the missing dll?
     
  7. Spikee1975

    Spikee1975 Guest

    Hello Paul, just checked again.

    This was the only thing I needed to click, running TSTools as Admin.

    As a side note, neither TSTools nor Steam/RailWorks is installed to a UAC controlled folder like Program Files (x86).

    2024-06-15 15_17_37-.png
     
    Last edited by a moderator: Jun 15, 2024
  8. mindenjohn

    mindenjohn Well-Known Member

    Joined:
    Aug 19, 2022
    Messages:
    551
    Likes Received:
    409
    You must run TS Tools in Administrator mode on first installation, it doesn't work otherwise.
     
    Last edited: Jun 15, 2024
  9. PaulH

    PaulH New Member

    Joined:
    Apr 8, 2022
    Messages:
    12
    Likes Received:
    5
    I have deleted TS Tools and I have downloaded it again, Totally in accordance with the ReadMe I have run the installation program "As Administrator", clicked the OK to install button for the .OCX files and tried to run TS Tools "As Administrator" and it STILL don't run at all because "MSCOMCTL.OCX or one of its dependencies is missing". I cannot get to the option you referred to Spikee1975 as it just don't run at all.

    Im starting to think that life is too short for this stuff!!
     
  10. buzz4567

    buzz4567 Active Member

    Joined:
    Dec 12, 2016
    Messages:
    214
    Likes Received:
    119
  11. Gary Padley

    Gary Padley Active Member

    Joined:
    Dec 10, 2016
    Messages:
    881
    Likes Received:
    239
    Have you done this?

     
  12. 749006

    749006 Well-Known Member

    Joined:
    Dec 10, 2016
    Messages:
    10,039
    Likes Received:
    3,139
    Should not need to edit the register.bat in the TS Tools folder.
     
  13. Gary Padley

    Gary Padley Active Member

    Joined:
    Dec 10, 2016
    Messages:
    881
    Likes Received:
    239
    What if you don't have the program in C:\Rail Utilities\TS-Tools ?
     
  14. buzz4567

    buzz4567 Active Member

    Joined:
    Dec 12, 2016
    Messages:
    214
    Likes Received:
    119
    Well then you don't have to worry about it not starting.
     
  15. Gary Padley

    Gary Padley Active Member

    Joined:
    Dec 10, 2016
    Messages:
    881
    Likes Received:
    239
    So you're effectively saying "don't install this"
     
  16. buzz4567

    buzz4567 Active Member

    Joined:
    Dec 12, 2016
    Messages:
    214
    Likes Received:
    119
    Not at all. Why would you get that meaning? All I was saying was if you don't have the program you don't have to worry about it not starting. Words have meanings. If you think you have it but it's not there I suggest you go find it.
     
  17. Gary Padley

    Gary Padley Active Member

    Joined:
    Dec 10, 2016
    Messages:
    881
    Likes Received:
    239
    That's obvious, but "What if you don't have the program in C:\Rail Utilities\TS-Tools ?" doesn't mean "What if you don't have the program?"
     
  18. Spikee1975

    Spikee1975 Guest

  19. 749006

    749006 Well-Known Member

    Joined:
    Dec 10, 2016
    Messages:
    10,039
    Likes Received:
    3,139
    If the program is installed properly you should not have to go changing the bat fiile

    My TS Tools in not in that folder - it is in G:\Rail Utilities\TS-Tools
     
  20. buzz4567

    buzz4567 Active Member

    Joined:
    Dec 12, 2016
    Messages:
    214
    Likes Received:
    119
    My advice about how to fix the error message is still valid wherever the darn thing is at.
     
  21. OldAlaskaGuy

    OldAlaskaGuy Well-Known Member

    Joined:
    Dec 12, 2016
    Messages:
    896
    Likes Received:
    716
    From the instructions:
    select "Run as Administrator" from the pop-up menu. This will ensure that the various .ocx
    files are correctly registered upon installation.

    The installer defaults to C:\Rail Utilities\TS-Tools but you can alter this to anywhere you
    wish EXCEPT C:\Program Files or C:\Program Files (x86) - It will not work from these folder
    If it is not there and you have not changed the installation destination then it is not installed properly.
     
    Last edited: Jun 21, 2024
    • Like Like x 1

Share This Page