Margin Master
SQL Express setup scripts now detect pending restarts and explain setup failures
Shipped in Margin Master 2026.911.40037 · September 12, 2026
The SQL Express install and upgrade PowerShell scripts now check for pending Windows restarts before running setup, automatically stopping if one is required, and decode setup error codes to explain why setup failed—addressing a store's SQL Server 2025 upgrade that failed seven minutes in with error 1722 after a Visual C++ update that needed a restart.
What changed
Pending restart detection before SQL Server setup
If you run SQL Server installation or upgrade when Windows needs a restart, the script now stops before anything is installed and tells you to restart first, preventing setup from failing mid-way.
Visual C++ Redistributable restart detection
Automatic setup failure diagnostics
Enhanced troubleshooting documentation