Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Wave E cleanup: replace inline "New in 10.1.5" info-macro banner with right-aligned Version 10.1.5+ badge per the v10.1.5+ docs badge standard. Removed customer-internal "Location under review" doc-process note. Inline (New in 10.1.5) per-section markers preserved.

Command-line utility for installing and uninstalling the FrameworX Windows services from scripts.

ReferenceInstallation Folders and Utilities → TManageServices CLI

InfoNew in

Version 10.1.5

. TManageServices.exe is now script-friendly with proper exit codes, unattended-mode detection, and a /silent flag for unattended automation pipelines.

Location under review. Final placement pending the next doc pass.

+


TManageServices.exe ships in the FrameworX utilities folder and wraps the install, uninstall, and start logic for every Windows service delivered by the product.

Use it directly from PowerShell, SCCM, Intune, Ansible, or any other automation pipeline. The Designer Runtime Startup tab calls the same utility through its AutoStartup button.

Table of Contents
maxLevel2
minLevel2
stylenone


Syntax

Code Block
languagetext
TManageServices.exe <command> [options]
      

Running the utility with no arguments, /?, /help, --help, or -h prints the full help text and exits with code 0. (Help-flag dispatch is new in 10.1.5.)

All service install and uninstall commands require elevated privileges. Launch the shell as Administrator.


Commands

TStartup

CommandEffect
/installtstartup /solution:"<path>" [/profile:<n>]Installs TStartup as TStartup-<SolutionName> pointing at the named solution file.
/uninstalltstartup /solution:"<name>"Removes the TStartup service bound to the named solution.

Other Services

CommandEffect
/installtwebservices / /uninstalltwebservicesInstalls or removes TWebServices.
/installtsecuregateway / /uninstalltsecuregatewayInstalls or removes TSecureGateway.
/installthardkey / /uninstallthardkeyInstalls or removes THardkey (license daemon).
/installtmqttbroker / /uninstalltmqttbrokerInstalls or removes TMQTTBroker.
/installruntimemcphttp / /uninstallruntimemcphttp (New in 10.1.5)Installs or removes the .NET 10 RuntimeMCPHttp service. The registered command line uses dotnet plus the service DLL under is dotnet "<path>\net10.0\RuntimeMCPHttpService.dll".
/removeallservicesUninstalls every FrameworX service in one call. See the note in Exit Codes below.
/installModbusRTUSimRegisters the ModbusRTU Simulator Creates and populates registry keys under HKLM\SOFTWARE[\WOW6432Node]\Adroit Technologies on first use\Adroit\Simulators\ModbusRTUSim and the matching HKCR\VirtualStore\MACHINE\SOFTWARE paths.

Options (New in 10.1.5)

OptionDescription
/silent, /unattended, /quiet (New in 10.1.5)Force unattended mode. The utility skips the "Press Enter to continue" prompt on error and always returns to the caller.
/solution:"<value>"Required for /installtstartup and /uninstalltstartup. Accepts a solution file path on install and a solution name on uninstall.
/profile:<n>Optional TStartup profile index.
/?, /help, --help, -h (New in 10.1.5)Print the help text and exit with code 0.

When stdin is redirected (piped input from a script), the utility treats the session as unattended automatically, even without an explicit /silent flag. (Auto-detection is new in 10.1.5.)

The /silent, /unattended, and /quiet flags never appear in the registered service ImagePath. All other arguments pass through to the service install step.


Exit Codes (New in 10.1.5)

CodeMeaning
0All requested operations succeeded.
NNumber of failed operations in the invocation. The utility aggregates failures across TSecureGateway, TStartup, and the TWebServices / THardkey / TMQTTBroker / RuntimeMCPHttp loop.

In PowerShell, read $LASTEXITCODE after the call to branch your pipeline.

Exception: /removeallservices always returns exit code 0, even when individual uninstalls fail. Error messages from that command appear on stdout only. For scripted failure detection, issue individual /uninstall* commands and read $LASTEXITCODE after each.


Examples

PowerShell Install

Code Block
languagetext
& "C:\Program Files\Tatsoft\FrameworX\fx-10\Utilities\TManageServices.exe" `
    /installtstartup `
    /solution:"C:\Solutions\Plant1.tproj" `
    /silent

if ($LASTEXITCODE -ne 0) { throw "TStartup install failed with $LASTEXITCODE errors." }
      

Uninstall a Single Service

Code Block
languagetext
TManageServices.exe /uninstalltstartup /solution:"Plant1" /silent
      

Remove Every FrameworX Service

Code Block
languagetext
TManageServices.exe /removeallservices /silent
      

Capture Help to a File

Code Block
languagetext
TManageServices.exe /? | Out-File help.txt
      

Interactive vs Unattended (New in 10.1.5)

ModeBehavior on Error
Interactive (no /silent, stdin not redirected)Prints Press Enter to continue... and waits.
Unattended (/silent present or stdin redirected)Exits immediately with a non-zero code equal to the number of failures.

In this section...

Page Tree
root@parent