1. Problem Definition: TIA Portal V12 Setup Fails on Windows XP SP3
When launching the TIA Portal V12 Professional setup on a Dell laptop running Windows XP Professional SP3, the installer halts with a "Failed Prerequisite" dialog before the welcome screen appears. The user typically confirms that the laptop appears to satisfy every published requirement, has administrative rights, and passes the Windows Installer version check, yet the prerequisite routine refuses to advance. This article documents the root causes, the diagnostic procedure to identify the exact failing check, and the resolution paths available on XP SP3 versus the more durable migration to a supported operating system.
The Failed Prerequisite message is generated by the Siemens Setup.exe bootstrapper, not by Windows Installer itself. The bootstrapper runs a pre-flight pass against a manifest file (PrerequisiteCheck.xml or equivalent *.cab payload on the installation media) and blocks the main MSI if any single check returns FAIL. The dialog rarely identifies the specific check, so the technician must isolate it manually.
2. TIA Portal V12 System Requirements (Reference Matrix)
The following table summarizes the published hardware and software requirements for TIA Portal V12 / V12 SP1 Professional. Cross-check the host against each row before assuming a missing redistributable is to blame.
| Component | Minimum (V12 Base) | Recommended (V12 SP1) | XP SP3 Compliance |
|---|---|---|---|
| Operating System | Windows 7 SP1 (32/64-bit), Windows Server 2008 R2 | Windows 7 SP1 Pro/Ultimate/Enterprise (64-bit) | NOT supported (V12+) |
| CPU | Intel Core i3-2330M (2.2 GHz) or equivalent | Intel Core i5-2520M (2.5 GHz) or higher | Variable |
| RAM | 2 GB (32-bit) / 4 GB (64-bit) | 8 GB or higher | Check installed RAM |
| HDD Free Space | 8 GB (engineering) + 5 GB (data) | 20 GB SSD | Check free space |
| Display | 1024 × 768 | 1920 × 1080, dedicated GPU | N/A |
| .NET Framework | 3.5 SP1 + 4.0 | 4.0 (with multi-targeting pack) | 4.0 not native on XP |
| Windows Installer | 4.5 | 4.5 (with V12 SP1 update) | Requires manual install |
| Web Server | IIS (for Web Server option) | IIS 7.5 | IIS 5.1 (XP) limited |
| Browser | Internet Explorer 8/9 | Internet Explorer 10/11 | IE8 max on XP |
| Graphics | DirectX 9.0c compatible | OpenGL 2.1 dedicated | Limited DX9 hardware |
3. Root Cause Analysis
The "Failed Prerequisite" symptom on Windows XP SP3 typically traces to one of the following root causes, in order of frequency:
- Unsupported operating system family. The bootstrapper rejects Windows XP outright. This is the most common cause and produces the message even when every visible check appears to pass.
-
Insufficient User Account Control (UAC) elevation. Although XP does not have UAC in the Vista/7 sense, the setup requires that the active account be a member of the local
Administratorsgroup with the "Allow programs to run as administrator" right intact. -
Missing or downlevel Windows Installer. XP SP3 ships with Windows Installer 4.5 in many OEM images, but earlier 3.x versions will trigger the prerequisite check. MSI 4.5 redistributable
WindowsInstaller-KB942288-v4-x86.exemust be installed manually. -
Missing .NET Framework 4.0 redistributable. The full-profile
dotNetFx40_Full_x86.exemust be present before TIA Portal setup is launched. -
Corrupted installation media. Damaged sectors or interrupted download produce a partially extracted
PrerequisiteCheckmanifest. Verify by comparing SHA-1 ofSetup.exeagainst the value printed in the DVD readme. -
Third-party security software intercepting the bootstrapper. Some antivirus suites quarantine
Setup.exesilently. Check quarantine logs.
4. Decoding the "Failed Prerequisite" Dialog
To identify the exact check that failed without re-architecting the installer, extract a verbose setup log:
- Open
cmd.exewith administrative rights. - Change to the DVD root or extracted setup directory.
- Execute the following command:
Setup.exe /debug "C:\Temp\TIA_Portal_V12_Install.log" /silent - Open the resulting log in Notepad and search for the token
PREREQ_FAILEDorOSCheck.
The log will reveal one of the following lines, which uniquely identifies the failing check:
| Log Token | Failing Check | Resolution Path |
|---|---|---|
OSCheck: WinMajorVer < 6 |
Operating system too old | Migrate to Windows 7 SP1 or later |
MSI version check failed |
Windows Installer below 4.5 | Install MSI 4.5 redistributable |
.NET 4.0 not detected |
.NET Framework 4.0 missing | Install dotNetFx40_Full_x86.exe
|
UAC elevation required |
Not running elevated | Run Setup with elevated token |
Disk space check |
Insufficient free space | Free at least 8 GB |
Display DPI check |
DPI scaling below 96 | Reset DPI to 100% |
5. Pre-Installation Checklist
Before invoking Setup.exe, confirm each item on the host:
- Operating system:
winver.exereturns "Windows XP Service Pack 3". - User account: Open
lusrmgr.msc, expand Groups, open Administrators, confirm the current user is a member. - Windows Installer version: Run
msiexec /?. Line 2 reports the internal version; V12 requires 4.5 or higher. - .NET Framework versions installed: Inspect
%WINDIR%\Microsoft.NET\Framework. Look forv4.0.30319directory. - Free disk space:
dir C:\ /-creports bytes free; require at least 15 GB to accommodate extraction. - Temp directory writable:
echo test > %TEMP%\test.txtreturns without error. - DVD integrity: Right-click DVD drive → Properties → Tools → Check Now with both options enabled.
- Antivirus: Temporarily disable real-time scanning or add an exclusion for the DVD root and
C:\Temp.
6. Step-by-Step Resolution Procedure
The following sequence resolves the symptom in approximately 90% of field cases. Run the steps in order, re-launching Setup.exe after each major item until the welcome screen appears.
Step 1 - Verify Administrative Context
- Log in with the local Administrator account or a domain account that is a member of the local Administrators group.
- Open
cmd.exeand typenet localgroup administratorsto confirm membership. - If running from a standard user account, use Run as... (hold Shift, right-click
Setup.exe, select Run as different user) and supply Administrator credentials.
Step 2 - Install Windows Installer 4.5
- Download
WindowsInstaller-KB942288-v4-x86.exefrom the Microsoft Update Catalog. - Execute the package; it self-installs and prompts for reboot.
- Reboot and verify with
msiexec /?that version 4.5 is reported.
Step 3 - Install .NET Framework 4.0
- Download
dotNetFx40_Full_x86.exefrom the official Microsoft Download Center. - Run the installer elevated.
- Confirm installation by checking
%WINDIR%\Microsoft.NET\Framework\v4.0.30319\clr.dllexists and reports version 4.0.x.
Step 4 - Re-launch the Bootstrapper Elevated
- Right-click
Setup.exeon the DVD. - Select Run as... (XP) or use Shift+right-click → Run as different user.
- Supply Administrator credentials.
- Wait for the bootstrapper to extract prerequisite CABs into
%TEMP%; this can take 3 to 5 minutes on XP-class hardware.
Step 5 - Enable Compatibility Mode (Conditional Workaround)
If the OS check still fails on XP even after admin elevation, force the bootstrapper to evaluate as Windows 7 by setting the NT compatibility shim:
- Right-click
Setup.exe→ Properties → Compatibility tab. - Enable Run this program in compatibility mode for: and select Windows 7.
- Check Run as administrator (this option exists on XP when the compatibility tab is invoked; the underlying token is still standard XP elevation).
- Click Apply and re-launch.
7. Manual Prerequisite Verification Commands
Use these one-liners in cmd.exe on Windows XP SP3 to validate each prerequisite individually before re-running the Siemens setup:
REM --- Windows version ---
ver
REM --- Windows Installer version ---
msiexec /? | findstr /i "version"
REM --- .NET versions installed ---
dir /b /ad "%WINDIR%\Microsoft.NET\Framework"
REM --- Administrator group membership ---
net localgroup administrators
REM --- Free disk space on C: ---
dir C:\ | findstr /i "bytes free"
REM --- System root writable ---
echo test > "%WINDIR%\test_write.tmp" && del "%WINDIR%\test_write.tmp" && echo OK
REM --- Required DCOM and RPC services ---
sc query RpcSs | findstr STATE
sc query DCOMLaunch | findstr STATE
Each command should return a positive indication. If any single command reports failure, address it before re-attempting the Siemens installer.
8. Administrator Rights Deep Dive on Windows XP
Windows XP does not include User Account Control in the same form as Windows Vista and later, but it does enforce a related concept via the Secondary Logon service and the RunAs capability. The Run as administrator option seen on later operating systems is replaced on XP by the Run as... context menu item, which appears only when the seclogon service is started and the user is not the built-in Administrator.
To confirm that the active token has administrative privilege at the level required by the Siemens bootstrapper:
- Open
cmd.exe. - Execute
whoami /groups | findstr /i "S-1-5-32-544". TheS-1-5-32-544SID is the BUILTIN\Administrators alias. A match in the Enabled column confirms full membership. - If the SID is listed only as Disabled, the user is part of the group but lacks the active privilege. Log off and log back in, or use Run as... to elevate.
The Siemens bootstrapper calls IsUserAnAdmin(), which returns TRUE only when the active token has the Administrators group enabled. A user who is a member but currently running with a filtered token (a state possible on XP when Fast User Switching or RunAs is involved) will receive a FALSE and the prerequisite check will fail.
9. Windows Installer Repair and Reset
If the prerequisite check fails with a msi subsystem error after the bootstrapper advances, perform a clean reset of the Windows Installer service on XP:
- Stop the service:
net stop MSIServer - Reregister the binaries:
msiexec /unreg msiexec /regserver - Restart the service:
net start MSIServer - Delete the
%TEMP%contents to clear any cached MSI transform. - Re-launch the Siemens setup.
10. Verification and Post-Install Checks
After the install completes successfully, perform the following functional verifications to confirm the platform is healthy:
- Launch TIA Portal V12 from Start → Siemens Automation → TIA Portal V12. The Portal view must load within 30 seconds on a Core i3 class machine.
- Open Project → New and create a test project. The system should accept the project path and create the
.ap12file without warnings. - Add an S7-300 device and confirm that the device catalog populates. This validates the GSD/EDD cache is intact.
- Start the Online → Accessible nodes scan to validate the S7-Online interface initialized.
- Close the application and check
Event Viewer → Applicationfor anySiemens-sourced errors during startup.
11. Migration Path: When to Abandon Windows XP
If after applying all the steps above the prerequisite check still reports failure, the operating system is the only remaining cause. Windows XP SP3 is below the supported OS floor for TIA Portal V12, and no shim or registry hack can make the engineering environment stable. Plan a migration to one of the following:
| Target OS | TIA Portal V12 Compatibility | Field Notes |
|---|---|---|
| Windows 7 SP1 (64-bit) | Fully supported | Preferred; widest driver support |
| Windows 7 SP1 (32-bit) | Supported (limited by 4 GB RAM ceiling) | Acceptable for small projects |
| Windows Server 2008 R2 | Supported (engineering stations) | Use Server Core not supported |
| Windows 8 / 8.1 | Limited; only V12 SP1 with Update 4+ | Verify Siemens release notes |
| Windows 10 / 11 | Not natively supported at V12; requires V15+ | Migrate to TIA Portal V16+ |
For long-term support, deploy the engineering station on Windows 7 SP1 64-bit with the latest Siemens automation license manager and at least 8 GB of RAM. Reserve Windows XP SP3 hosts for legacy programming of pre-V11 SIMATIC projects using the legacy STEP 7 V5.5 toolchain.
12. Troubleshooting Matrix
| Symptom | Probable Cause | First Action | Second Action |
|---|---|---|---|
| "Failed Prerequisite" immediately at launch | OS family check failing | Run with Setup.exe /debug log |
Confirm XP is on the rejection list |
Bootstrapper advances, MSI fails at ProductConfiguration
|
Windows Installer 4.5 missing | Install KB942288
|
Reregister MSI subsystem |
| "Setup has detected a pending reboot" loop | Previous MSI install left registry marker | Reboot; if persists, clear PendingFileRenameOperations
|
Run msizap on orphaned GUIDs |
| Dialog reads "You must be an administrator" | Token does not have Administrators group enabled | Use Run as different user | Check seclogon service state |
| Setup halts at .NET 4.0 step | Earlier .NET 4.0 install corrupted | Run dotnetfx_cleanup_tool
|
Reinstall dotNetFx40_Full_x86.exe
|
| DVD read errors during CAB extraction | Media damage or virtualization layer | Copy entire DVD to local HDD | Re-run setup from the copy |
| Bootstrapper silently disappears | Antivirus quarantine | Check AV logs | Add exclusion; disable realtime scan |
| "Another installation is in progress" | Stale MSI mutex | Reboot | Clear \BaseNamedObjects\MSI* mutexes |
FAQ
Can TIA Portal V12 Professional run on Windows XP SP3?
No. TIA Portal V12 (released 2012) was the first major release to drop Windows XP from the supported operating system list. Only TIA Portal V11 and earlier remain compatible with Windows XP SP3. V12 and later require Windows 7 SP1 or Windows Server 2008 R2 as a minimum.
Why does the prerequisite check fail even when my laptop meets every listed requirement?
The bootstrapper performs an internal operating system family check using GetVersionEx. If the major version number is below 6 (Windows Vista and later), the check fails immediately, before any of the user-visible hardware or software requirements are evaluated. The failure is therefore not a missing component but an unsupported OS.
How do I run the TIA Portal V12 setup as administrator on Windows XP?
Hold Shift and right-click Setup.exe on the installation media, then select Run as different user and supply credentials for a local Administrator account. The XP equivalent of "Run as administrator" on Vista and later is the Run as different user option, which requires the seclogon service to be started.
What is the minimum Windows Installer version for TIA Portal V12?
Windows Installer 4.5 is required. Windows XP SP3 OEM images often include only 3.x or 4.0. Install the redistributable WindowsInstaller-KB942288-v4-x86.exe manually and verify with msiexec /? before re-running the Siemens setup.
Can compatibility mode trick the installer into running on Windows XP?
Setting compatibility mode to Windows 7 only changes the version string returned to the application. It does not provide missing APIs. The bootstrapper may advance past the OS check, but the main MSI will then fail when it calls APIs that do not exist on XP. Treat compatibility mode as a diagnostic aid, not a working solution.
Should I migrate from TIA Portal V12 to a newer version instead of fixing XP?
If the host must remain on Windows XP, the only supported toolchain is STEP 7 V5.5 and WinCC flexible 2008 SP5. For TIA Portal-based projects, plan a migration to Windows 7 SP1 64-bit with TIA Portal V12, or to Windows 10 64-bit with TIA Portal V16 or V17. Modern Siemens controllers (S7-1500, ET 200SP) require the newer TIA Portal versions and cannot be commissioned from V12.