Blog

All Blog Posts  |  Next Post  |  Previous Post

Meet the New Doctor in TMS Smart Setup

Thursday, June 5, 2025

We’re continuously evolving TMS Smart Setup to make the experience of installing and managing Delphi components as smooth and reliable as possible. The latest addition to this tool is the new doctor command — a diagnostic utility designed to help you identify and fix configuration issues in your Delphi environment.


What Is TMS Smart Setup?

For those who haven’t used it yet, TMS Smart Setup is a command-line tool that simplifies the installation and update process of TMS and Delphi components in general. It handles dependencies automatically, supports multiple Delphi versions, and gives you greater control over your development setup — all in a consistent and scriptable way.

With Smart Setup, you can install components with a single command like:

tms install xdata

Now, with the new doctor command, Smart Setup also helps you troubleshoot your Delphi environment itself.


Why We Added the doctor Command

Delphi developers often run into issues caused by misconfigured environment variables, outdated or incorrect library paths, or registry settings that conflict with what installers or build tools expect. These issues are sometimes hard to spot, especially when they don’t produce clear error messages.

The doctor command was created to help with that. It scans your system for common issues that might interfere with component installation or Delphi operation — and optionally fixes them.


What the doctor Command Does

Running:

tms doctor

will perform a set of automated checks in key areas such as:

  • Windows PATH variables (both user and machine)

  • Delphi environment overrides (e.g. missing $(PATH) in IDE variables)

  • Library paths for all installed Delphi IDEs and platforms

    • Invalid folders

    • Redundant entries

    • Paths with malformed formats (e.g., multiple slashes)

Each check is clearly reported in the output, and if issues are found, you can optionally fix them with:

tms doctor -fix

You’ll be prompted to confirm each change, unless you explicitly skip confirmation:

tms doctor -fix -do-not-confirm

When to Use It

The doctor command is useful in a variety of situations, such as:

  • Before installing or updating TMS components

  • After upgrading Delphi or modifying IDE configurations

  • When facing installation or build issues and not sure why

It’s a simple way to ensure your environment is clean and configured according to best practices.


Looking Ahead

This new command is part of a broader effort to make TMS Smart Setup not just a package installer, but a complete assistant for managing Delphi development environments. We're continuously improving it based on real-world scenarios and feedback from developers like you.

If you haven’t tried Smart Setup yet, now is a great time to get started. And if you're already using it, we encourage you to run tms doctor and see what it finds — even healthy systems might have room for improvement.



Wagner Landgraf




This blog post has not received any comments yet.



Add a new comment

You will receive a confirmation mail with a link to validate your comment, please use a valid email address.
All fields are required.



All Blog Posts  |  Next Post  |  Previous Post