TMS Update after Delphi 12.3 upgrade / Question

Hi TMS Team,

I have All-Access license, and next versions of Delphi installed: 10.4, 11, 12.1.
In the past I used TMS subscription manager, which always worked fine for me, showing what product / version is available, downloaded, and installed...and Delete / Update buttons
I install only TMS products that I need, not all...

Yesterday I installed Delphi 12.3 (upgraded from 12.1) - with no problem on Delphi side. Updated all cross-platforms projects, updated Mac OS, iPhone iOS, Java SDK, created new apple profiles, i.e. everything is new and good.

But when I tried to update TMS products to the latest using subscription manager as usually - everything was broken, So, I rolled it back to the previous versions (early 2024), just copied TMS components from backup...

When I try to Use Smart setup - it shows that nothing is installed, vs. Subscription manager shows everything correctly.

I have several questions:

  • Which setup tool I should use: Smart Setup[1] or Subscription Manager[2]?
  • if [2] - why it fails: all products that I updated displayed "update failed" message at the end, that never happened in the past?
  • if [1] then how to make a "fresh" install of TMS products? They are installed but not displayed now...
  • If I installed just selected products, not all, is there any specific order of uninstall, install ?...

This question is not urgent, I mainly use FNC UI, but would be nice to resolve it.

Thanks again.

  • Which setup tool I should use: Smart Setup[1] or Subscription Manager[2]?

Both should work, but today I would highly recommend to go with smartsetup. It is the new system and we are focusing most of our efforts on it. You can use tms dashboard (TMS Software | Blog) if you want a nicer GUI over smartsetup, or tmsgui if you prefer a simpler GUI.

  • if [2] - why it fails: all products that I updated displayed "update failed" message at the end, that never happened in the past?

Not sure what happened, we would have to see the logs, but the update shouldn't fail with subscription manager. Still, I think that today it is better to just go with smartsetup.

  • if [1] then how to make a "fresh" install of TMS products? They are installed but not displayed now...

Smartsetup and the old installers use a completely different way to install the products, and they can't "see" each other. If you installed with subscription manager (old installers), go to start menu->Add or remove programs and remove them all. Then install them with smartsetup.

  • If I installed just selected products, not all, is there any specific order of uninstall, install ?...

No with smartsetup. (that's one of the reasons we made it). It will automatically detect dependencies, and if product1 needs product2 to be installed, it will install product2 too. There is no need to worry about dependencies or order of installing and uninstalling. Even if you update product2 but not product1 (which depends on it), smartsetup will recompile both. If using the old installers, yes, some products have dependencies and you need to install them in order.

thanks for the clarification.
it's to much risk to remove all, and then to "try" smart setup, if we don't know the reason of failure, there is another ticket about failed 12.3 setup:
Installation failed for Delphi 12.3 - VCL / TMS VCL UI Pack - TMS Support Center.

I need to have working dev. environment 7/24. can't risk again. as for now Delphi 12.3 works, with old version of TMS components. I'll think what to do next...

found old log / failures for 12.3 update / attached
C:\Program Files (x86)\Embarcadero\Studio\23.0\Bin\CodeGear.Delphi.Targets(427,5): warning MSB6002: The command-line for the "DCC" task is too long. Command-lines longer than 32000 characters are likely to fail. Try reducing the length of the command-line by breaking down the call to "DCC" into multiple calls with fewer parameters per call.
Build FAILED - Example - TMSFNCCorePkgDXE15.txt (1.1 KB)

This means that you need to "clean up" the library path: It has grown too big. One thing we recommend is to install in a shorter folder, like c:\tms\TMS FNC Core instead of C:\Users\olegv\AppData\Local\tmssoftware\registered\TMS FNC Core\
This will remove some characters from the library path, and hopefully move it below the 32000 characters that is the maximum. But you might also have unused paths in the library path, take a look and remove anything that you aren't using anymore.

Note that smartsetup doesn't have this issue (it should be able to compile no matter how big your library path), but still, it is recommended to keep it short.

I believe smartsetup should work here:

  • The 32K limit in the command line shouldn't happen.
  • The ticket you mention was about win64x (which the old installers don't even support), and the failure was very likely that the win64x compiler wasn't installed properly. And according to the user it was solved.

But I also understand your concerns. Still, smartsetup is much faster to install, so trying it shouldn't be that problematic. You can always rollback if it doesn't work.

But whatever installer you decide to use, you should inspect the library path and remove anything that is not needed anymore.

now its clear... I found old ticket about this problem, Jan 2024

Delphi 12 Problem adding library paths

I'll try new installer (smart setup) / thank you!.

I removed all TMS products, updated Delphi to 12.3, and switched to the TMS Dashboard & Smart setup. No problems at all.
Before doing so it's handy to take a system snapshot (VM side or at least windows restore point).

1 Like