IMDHMIControls LibraryShop main store

Troubleshooting

Why TIA Portal V15.1 setup stops with exit code 1603

PLC programming Published 8 min read By IMDHMI controls team

Short answer

Exit code 1603 is the bundle reporting Installation failed (InstallFailure): the setup queue stopped at its first failed unit, INSTSQL2014EXP_SCADA in the documented run, skipped everything after it, and never reached licensing. So the license message is not the diagnosis. Find the first ERROR and FAIL! lines in the bundle log, read the failed unit's own installation record, and fix what that record names before retrying.

On this page
  1. What the 1603 exit code means
  2. Why the license message is not the diagnosis
  3. What removing SQL Server proves
  4. Tracing the failed V15.1 run of 1 June 2023
  5. Reading the record the failed unit wrote
  6. Steps that follow the evidence
  7. How you know the repair worked
  8. Questions asked

The dialog is pointing at the wrong suspect. When TIA Portal STEP 7 Professional V15.1 setup ends with exit code 1603 and the text "Some installed products need licenses", the bundle log tells a different story: the queue ran for 36 seconds, failed on the INSTSQL2014EXP_SCADA setup unit, cancelled everything behind it — licensing included — and returned 1603, Installation failed (InstallFailure). The licensing step never executed, so it cannot be the cause, and completely removing SQL Server beforehand did not clear the fault either. Read the log the way the installer wrote it: find the first ERROR and FAIL! lines, name the failed setup unit, then open the installation record that unit wrote for itself. This article works through the documented log of one failed V15.1 run and ends at the repair decision for each stage.

What the 1603 exit code means #

1603 is the generic fatal-error code the Microsoft Windows Installer returns when an installation dies part-way: the Win32 status ERROR_INSTALL_FAILURE, fatal error during installation. It records that the run failed, never why — any component that fails hard can end a run this way. The bundle log states the verdict in its own words at the end, "Exit code means: Installation failed (InstallFailure)", followed by Errors: 2 and Warnings: 0. Those counts summarize the failed lines above them. In this log the worker error, the FAIL! entry and the cancellation all fall in the same second at the same setup unit, so read the summary as one fault reported at the exit, not as two independent causes.

Not every setup stop is this code. An operating-system incompatibility stops the installer with its own version message before a queue like this one gets deep — see why STEP 7 V5.7 SP1 setup stops on Windows 10 Pro for that separate failure mode.

Why the license message is not the diagnosis #

The queue is strictly ordered, and the log shows exactly where it died. DotNet_Updater completes as a foreign reinstall, SQLNCLI — the SQL Server native client — completes as a foreign reinstall, and two seconds later the worker behind the next unit reports "ClassicProduct setup failed due to unknown error". From that line on, every entry reads SKIP!: the symlink units, the OPC core components and OPC .NET interfaces, the NCM units, WinCC ACE and archiving, TIA_Portal, MU_Client, STEP7, the runtime and engineering units, and finally ProductRegistration (After), InventoryAfter (Z), LicenseTransfer (False) and SetupReport (). Seventy-three entries were skipped in the second the queue cancelled — the portal itself, STEP 7 and the licensing step among them.

A licensing step that never ran cannot be the reason the run failed. The dialog text about installed products needing licenses belongs to a setup whose queue had already aborted, so it is a leftover, not a diagnosis. The decision: do not open Automation License Manager to fix this exit code. Licensing becomes answerable only when the queue reaches LicenseTransfer with the products installed — at that point the installation can check whether a trial license covers what it just installed, and Automation License Manager is where that check lives.

What removing SQL Server proves #

Removing SQL Server is the repair everyone reaches for first, and the documented case settles it: the machine's SQL Server was completely removed, the setup ran again, and it failed at the same setup unit with the same result. That is a useful negative. It rules out an existing SQL instance as the whole story, because the bundled unit still failed with none installed. It does not name the cause — a locked file, a service that would not start, a leftover instance record and a pending restart all remain candidates, and the bundle log does not separate them. INSTSQL2014EXP_SCADA installs the SQL Server 2014 Express instance that the WinCC Professional side of this bundle uses for runtime data, so it performs its own installation regardless of what was removed beforehand. The decision: do not spend another cycle on removals; read the record that unit wrote.

Tracing the failed V15.1 run of 1 June 2023 #

The inputs are the header and the queue of one documented bundle log for STEP 7 Professional V15.1 - WinCC Professional V15.1:

  • Bundle: SIMATIC TIA Portal STEP 7 Professional V15.1 - WinCC Professional V15.1 SEBU, version Professional:TIA.rgs.RTM_15010000:V15.01.00.00_28.01.00.01 — from the log header.
  • Operating system: Windows 10 Pro, 64-bit, build 19045 — from the header; this failure sits inside the queue, so the OS fact is record-keeping, not the diagnosis.
  • Command line: the Installer Assistant executable sia2.exe ran with /afterreboot, so the attempt resumed after a restart — from the header.
  • The queue: every OK, FAIL!, SKIP! and ExitCode line between 15:16:38 and 15:17:16 — from the run itself.

The rule for reading it: a bundle log is written in queue order. OK marks an entry that completed, ERROR marks a failed worker, FAIL! marks the queue entry that failed, and every SKIP! after the first FAIL! is work the installer never attempted. The first FAIL! is the stop point; the ExitCode line at the end is only the verdict on the lines above it.

The arithmetic: execution begins at 15:16:38. The pre-checks — running processes, inventory, product registration — and the first two setup units consume 34 seconds, with DotNet_Updater completing at 15:17:10 and SQLNCLI at 15:17:12. Thirty-six seconds in, the run stops. The installer spends its last two seconds writing the cancellation and the summary, and the log closes 38 seconds after it opened. In the same second as the failure, 73 queue entries flip to SKIP!, from SYMLINK through SetupReport () — the whole portal, STEP 7, WinCC and licensing chain that never ran.

The result is one failing unit, not a scattered fault. At 15:17:14 the log carries the pair:

15:17:14 | ERROR AdsWorkerClassicProduct::OnWorkerCompleted(): - ClassicProduct setup failed due to unknown error
15:17:14 | FAIL! SetupUnit (INSTSQL2014EXP_SCADA) Failed ClassicProductAddLocal

followed by the installer's own hypothesis, "Execution has been cancelled. Probably because of some process(es) running on the machine", and the summary Intermediate ExitCode after execution queue : 1603 - Exit code means: Installation failed (InstallFailure) with Errors: 2, Warnings: 0. The bundle names no cause at its own level; the cause has to come from the failed unit's record.

The decision, with its threshold: the failure sits at the third setup unit in the queue, in the prerequisite layer. If the first FAIL! lands below the TIA_Portal and STEP7 units — which here appear only as SKIP! — then no portal file, no installed product and no license is involved yet, and the repair belongs to the prerequisite that failed. If a rerun gets past the SQL unit and fails at the portal itself, that is a different record to read. For this documented run, the record to open is INSTSQL2014EXP_SCADA's own installation log.

Reading the record the failed unit wrote #

The bundle log stops at "unknown error" by design: its worker reports only that the classic product's setup call failed. The cause lives one level down, in the installation record that unit produced. For INSTSQL2014EXP_SCADA that is the SQL Server 2014 Express setup record — SQL Server setup writes a summary that lists each action with its own result and exit code and names the component that refused to install. That summary, not the bundle log, is where a locked file, a service that would not start or a pending restart gets a name.

The bundle log and the per-package Windows Installer records sit in %temp%, the folder of the user who ran the setup: press Win + R and type %temp%. Clearing that folder is itself a documented remedy for stuck installation state: delete its contents, skip any file Windows reports as in use, restart the machine, then run the installation again. Combine the cleanup with the cancellation line's own hint — close the processes still running — and the retry begins on quiet ground. Siemens' installation documentation gives the same instruction for this whole error family: when the InstallFailure exit appears, check the log files.

Steps that follow the evidence #

Work the queue, not the dialog. One caution first: do this repair in a maintenance window on a station that is not running production, because a half-installed SQL Server instance or WinCC runtime can drag an operating SCADA client down with it.

  1. Run the setup once more (or reuse the failed run's log) and open the bundle log from %temp%.
  2. Search for the first FAIL! and the ERROR line above it. Record the timestamp, the unit name and the action — here INSTSQL2014EXP_SCADA at 15:17:14, ClassicProductAddLocal.
  3. Split the log at that line: entries above it marked OK completed; every SKIP! below it never ran, LicenseTransfer (False) and SetupReport () included.
  4. Open the failed unit's own installation record — for this unit, the SQL Server 2014 Express setup summary — and act only on a cause that record names. The bundle's "unknown error" and its process hypothesis are not causes.
  5. If the record names no explicit cause, take the documented clean-state path: close the running processes the cancellation line blames, delete the contents of %temp% (skip files in use), restart the machine, retry.
  6. Rerun the same bundle from the same installation media, so the queue and its units stay comparable between runs.

Then stop: do not uninstall SQL Server again on this exit code alone, because that repair is already spent on this case.

How you know the repair worked #

The retry has succeeded when the log changes shape, not when the dialog text goes away. The queue must carry INSTSQL2014EXP_SCADA to an OK line — Complete, or a reinstall — instead of FAIL!. The entries behind it must execute: SYMLINK and the OPC components install, the TIA_Portal and STEP7 units run, and the closing steps — ProductRegistration (After), InventoryAfter (Z), LicenseTransfer, SetupReport () — appear as OK instead of SKIP!. The summary must no longer report the InstallFailure exit.

Only a queue that gets that far can answer the question the dialog raised: with the products installed, the licensing step and Automation License Manager decide whether a trial license covers them, and a license missing at that point is a licensing problem with a licensing fix. The next question after a working installation is different again — moving older projects into the new portal, which is what migrating S7-300 projects from STEP 7 v5.5 to TIA Portal covers.

Questions asked

What does exit code 1603 mean in a TIA Portal V15.1 installation?

It is the generic Windows Installer fatal-error code, and the bundle log spells it out as Installation failed (InstallFailure) together with its error and warning counts. The code records that the run failed, not why. The first FAIL! entry supplies the cause: in the documented V15.1 run that entry was INSTSQL2014EXP_SCADA, the setup unit that installs the bundle's own SQL Server 2014 Express instance for the WinCC Professional part.

Will uninstalling SQL Server fix the INSTSQL2014EXP_SCADA failure?

In the documented case it did not: SQL Server was completely removed, the setup ran again and it failed at the same unit with the same result. The bundle installs its own SQL Server 2014 Express instance, so the failing unit does not simply inherit trouble from an installation you removed. Read the unit's own setup record and repair what that record names before spending more time on removals.

Does the license message mean the trial license is missing or invalid?

No. The licensing step is marked as skipped because the run was cancelled at 15:17:14, seconds after the failing setup unit, so licensing never executed and the message cannot testify about any license. Repair the failed unit first. Once the queue reaches the licensing step with the products installed, the installation itself checks trial coverage and names any license that is missing.

Where is the installation log that names the failed setup unit?

In the %temp% folder of the user who ran the setup: press Win + R, type %temp% and open the bundle log whose first line names the STEP 7 Professional V15.1 bundle. It lists each setup unit with its result and ends with the exit code. The failing unit's own setup record sits with the other installation logs and is the file that names the actual cause.

Keep reading

  • Troubleshooting

    Why PLCSIM V18 crashes with a gRPC error at power-on

    A project that compiles cleanly and crashes only when simulator power is pressed has a fault in the simulation runtime or an unsupported PLC model, not in the logic. Prove it with a minimal project on a supported model, read the Windows application event record for the failing module, and if every supported test project crashes, run the installer's Repair option, then reinstall only if the repair changes nothing.

    PLC programming

  • Troubleshooting

    TIA Portal v14 cannot go online with an S7-1500

    Only a complete power cycle restores engineering access: a STOP-to-RUN transition or a port change leaves the failed download service in place. Power down under your site's procedure, confirm recovery with a read-only online session before any download, then capture CPU firmware, TIA Portal version and download details so the next occurrence can be classified as project-triggered or a software defect.

    PLC programming

  • Troubleshooting

    Use the PLC Coder timer block correctly in TIA Portal

    A Stateflow delay generated with PLC Coder follows wall-clock time only when the timing implementation and the PLC task call interval agree with the model sample time. Pick the target IDE timer for real elapsed time; use the Target-Independent Counter only when the generated code runs at a fixed periodic interval equal to the model step.

    PLC programming