Upgrade FrameworX solution files from the command line.
Support Resources → Legacy Versions Upgrade → UpgradeSolution CLI
Version 10.1.5+
UpgradeSolution.exe performs the same operation as the Upgrade button in the Solution Center, without launching the UI. Useful for scripted upgrades, batch migration of many solutions, and unattended deployment pipelines.
UpgradeSolution <solution>
Running with no arguments prints usage help and exits with code 2.
Form | Example | Resolution |
|---|---|---|
Full path to a |
| Used as-is. |
Solution name only |
| Resolved under |
Solution name with extension |
| Same as above. |
The .dbsln extension is appended automatically if omitted.
ProductVersion from the solution's InfoProjectVersion table.InfoServer.BeginUpgradeProject, polls PartialUpgradeProject, then calls EndUpgradeProject. No UI, no remoting stack.[ 42%] Upgrading table 'X'....BeginUpgradeProject. The backup file sits next to the original with the same name pattern the UI button produces.Code | Meaning |
|---|---|
0 | Success. Solution upgraded. |
1 | Upgrade error. See standard error for detail. |
2 | Bad arguments. Missing solution argument, file not found, or malformed input. |
UpgradeSolution.exe ships with the 10.1.5 installer inside the FactoryStudio folder, alongside the other CLI utilities.
On first launch of the FrameworX Solution Center after install, a launcher script UpgradeSolution.bat is auto-deployed to My Documents\FrameworX\Utilities\. The launcher mirrors the pattern used by StartWebServices.bat, SolutionCreator.bat, and RemoveAllServices.bat.
Call either the executable directly or the launcher script. The launcher forwards all arguments to the executable.
& "C:\Program Files\Tatsoft\FrameworX\fx-10\UpgradeSolution.exe" `
"C:\Projects\MyPlant.dbsln"
UpgradeSolution MyPlant
Resolves under My Documents\FrameworX\Solutions\MyPlant.dbsln.
Get-ChildItem "D:\Plants\*.dbsln" | ForEach-Object {
Write-Host "Upgrading $($_.Name)"
& "C:\Program Files\Tatsoft\FrameworX\fx-10\UpgradeSolution.exe" $_.FullName
if ($LASTEXITCODE -ne 0) {
Write-Error "Failed: $($_.Name), exit $LASTEXITCODE"
}
}