Deploying FrameworX runtime components for production environments.
Parent Page: Deployment (Reference)
Deployment Scenarios
For Windows-only solutions targeting .NET Framework 4.8:
For solutions targeting Linux, Docker, or edge devices:
Option | Components | Size | Use Case |
---|---|---|---|
Runtime-Only | TServer.exe, drivers, minimal files | ~100 MB | Production edge devices |
Full Platform | All files including Designer | ~500 MB+ | Enable remote ClickOnce Designer |
TWebServices-Only | Communication server only | Minimal | Development/testing |
TStartup.exe is the executable that runs FrameworX solutions. It supports various parameters for debugging, redundancy, and advanced configuration.
Manual Start:
Windows Service:
Command Line/Batch File:
cmd
cd "C:\Program Files (x86)\Tatsoft\FrameworX\10.1"
TStartup.exe /Solution:"C:\Solutions\MySolution.tproj"
The minimum parameter needed:
/Solution:"C:\Solutions\Solution.tproj"
The platform supports modular project design by automatically merging multiple project files at runtime based on naming conventions.
How It Works:
When launching a main solution (e.g., MyProject
), FrameworX automatically merges any projects with names following the pattern:
MyProject__ModuleName__
Example Structure:
MyProject.tproj → Main solution
MyProject__DeviceConfig__.tproj → Device configurations
MyProject__DBTest__.tproj → Test database settings
MyProject__CustomerA__.tproj → Customer customizations
Runtime Behavior:
MyProject__*__.tproj
filesConfigure in Runtime → Startup:
The automated setup executes these steps:
cmd
"C:\Program Files (x86)\Tatsoft\FrameworX\10.1\TStartup.exe"
/Solution:"C:\Solutions\Solution.tproj"
/username:Administrator
cmd
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\installutil
"C:\Program Files (x86)\Tatsoft\FrameworX\10.1\TStartupAsService.exe"
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\TStartup\ImagePath
Log On Configuration:
Delayed Start:
Parameter | Description | Example |
---|---|---|
/Solution | Solution path (required) | /Solution:"C:\Solutions\Solution.tproj" |
/username | Runtime user | /username:Administrator |
/password | User password | /password:SecurePass123 |
/wa | Windows Authentication | /wa:true |
/ip1 | Primary server IP | /ip1:192.168.1.100 |
/port1 | Primary server port | /port1:3101 |
/viewonly | Read-only mode | /viewonly |
Parameter | Description | Default |
---|---|---|
/redundancy | Enable redundancy | - |
/autoswitch | Auto-switch to primary | - |
/timeautoswitch | Switch delay (seconds) | 60 |
/ip2 | Secondary server IP | - |
/port2 | Secondary server port | 3101 |
/connectiontimeout | Watchdog timeout | 5 |
/connectionretry | Retry attempts | 1 |
/SolutionIPPath | Remote solution path | - |
Redundancy Example:
cmd
TStartup.exe /Solution:"C:\Solutions\Solution.tproj"
/redundancy
/ip1:192.168.1.1 /port1:3101
/ip2:192.168.1.2 /port2:3101
/autoswitch /timeautoswitch:60
Parameter | Description | Output Location |
---|---|---|
/SaveLog:3 | Debug logging | C:\Users\Public\Documents\FrameworX\TraceLogs |
/AutoRunDiagnostics:30 | Auto diagnostics (minutes) | C:\ProgramData\FrameworX |
/LogDeviceWriteStartup | Device write logging | C:\ProgramData\FrameworX\Device |
Parameter | Description | Default |
---|---|---|
/NumberOfDevicesAtSameTime | Concurrent device startup | 3 |
/TimeBetweenModules | Module start delay (seconds) | 0 |
/AutoCheckWatchDog | Auto-restart frozen channels | Disabled |
/nocache | Disable cache (SmartClient) | false |
/port1WA | Windows Auth port | - |
Create /etc/systemd/system/frameworkx.service
:
ini
[Unit]
Description=FrameworX Runtime
After=network.target
[Service]
Type=simple
ExecStart=/opt/frameworkx/TStartup.exe /Solution:/opt/solutions/Solution.tproj
Restart=always
User=frameworkx
[Install]
WantedBy=multi-user.target
dockerfile
ENTRYPOINT ["./TStartup.exe"]
CMD ["/Solution:/app/solutions/Solution.tproj"]
Create shortcut in:
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp\
Configure TWebServicesRunPrograms.json
:
json
{
"appSettings": {
"RunPrograms": {
"MainSolution": "/opt/frameworkx/solutions/Main.tproj",
"BackupSolution": "/opt/frameworkx/solutions/Backup.tproj"
}
}
}
When running as Windows Service:
See Client Deployment (Reference) for detailed client auto-start configuration.
This consolidated page now includes all the startup configuration details, parameters, and the solution merging feature in the appropriate context.