1. Problem Description
When launching the WinCC Flexible 2008 SP5 Update 2 setup on a Windows engineering station, the installer aborts with a signature verification error similar to:
Setup.exe - Invalid Signature
The signature of some setup components had to be updated.
The setup cannot be executed because the signature could not be verified.
The error is not related to a corrupted download. The same archive, even after re-download, fails with the identical message. The fault lies in the trust chain used by Windows to validate the Authenticode signature embedded in the new installer components. WinCC Flexible 2008 SP5 Update 2 was re-signed in 2018 to use newer SHA-2 code-signing certificates, and any host that does not have the corresponding root certificates in the Trusted Root Certification Authorities store cannot validate the signature.
This issue is documented in the official Siemens support entry 109757233, which is shipped inside the Readme file of the update package and which is the authoritative reference for the symptom described in this article.
2. Affected Software and Operating Systems
| Component | Value |
|---|---|
| Product | SIMATIC WinCC Flexible 2008 |
| Service Pack | SP5 |
| Update | Update 2 (HF2 / Hotfix 2) |
| Build range | Released 2018 with re-signed installer |
| Installer technology | InstallShield (setup.exe + InstData\*.exe) |
| Launchers | Setup.exe (root), InstData\rs.exe (inner launcher) |
| Primary affected OS | Windows 7 SP1 (x86 and x64) |
| Secondary affected OS | Windows Server 2008 R2, Windows 8.x without KB3033929, Windows XP |
| Signing algorithm | SHA256RSA with new root CA chain (DigiCert / Siemens timestamp) |
3. Root Cause Analysis
The WinCC Flexible 2008 SP5 Update 2 installer is composed of two layers:
- An outer
Setup.exebootstrap that validates the signature of every component in theInstDatafolder before extraction begins. - Inner installers (
rs.exe,SIA2.exe, MSI packages, CAB archives) that perform the actual copy operations and registry writes.
The outer bootstrap calls WinVerifyTrust with the WINTRUST_ACTION_GENERIC_VERIFY_V2 action. If any of the following conditions is true, the API returns TRUST_E_CERT_SIGNATURE (0x80096004) or CERT_E_UNTRUSTEDROOT (0x800B0109) and the installer refuses to continue:
- The host has no SHA-2 capable root in
Cert:\LocalMachine\Root. - Windows is in flight signing mode where automatic root update is disabled (group policy
UseMachineIdor registryNoRootUpdate). - The system clock is more than 12 months skewed from real time, expiring the timestamp counter-signature.
- An anti-virus or file integrity monitor is replacing or quarantining the binary after signature validation (this is the typical cause of the
SIA2.exe"is infected" report). - The archive was extracted onto a case-sensitive or non-NTFS volume and the signature is invalid because the binary header was truncated by a 512-byte boundary copy.
The most common combination in the field is Windows 7 SP1 without the November 2014 root update (KB3033929) and without subsequent monthly rollups. In this state the trust store contains the old GTE CyberTrust and Entrust roots, but not the Symantec / DigiCert roots used by the Siemens re-signing campaign.
4. Pre-Installation Checklist
- Verify Windows version. Open
Start → Run → winverand confirm the build number. Capture a screenshot for the project log. - Verify free disk space. WinCC Flexible 2008 SP5 with Update 2 requires at least 3.5 GB free on the system drive and 1 GB free on the installation target.
- Verify administrator rights. The setup must be launched by a member of the local
Administratorsgroup with UAC set to the default level. - Verify write access to
%TEMP%and to the installation folder. The outer bootstrap decompresses ~1.6 GB of payload into%TEMP%\{guid}before invoking inner installers. - Temporarily disable real-time anti-virus scanning on the extraction folder and the install target. Exclusions should at minimum cover
*.exe,*.dll, and*.cabinside the installation path. - Re-verify the archive checksum against the value published in the Siemens support entry before continuing.
5. Resolution Path A - Install Missing Root Certificates via Windows Update
This is the resolution recommended by Siemens in the readme of Update 2.
- Connect the engineering station to the Internet (or proxy that allows
windowsupdate.microsoft.comandctldl.windowsupdate.com). - Open Control Panel → Windows Update and select Check for updates.
- Install all classified as Important, in particular the root certificate updates and the SHA-2 support update (KB3033929 on Windows 7 SP1).
- Restart the host when prompted and re-run Windows Update to confirm no further updates are pending.
- Re-launch
Setup.exefrom the WinCC Flexible 2008 SP5 Update 2 archive as administrator.
If the engineering station is on an air-gapped network, see Resolution Path C for offline root installation.
6. Resolution Path B - Launch the Inner Installer Directly
If Windows Update is unavailable, restricted by group policy, or simply not desired on a locked-down engineering workstation, the inner installer can be launched directly. The inner setup does not re-validate the outer signature chain at the same strict level because it is itself an InstallShield runtime that re-reads the manifest after extraction.
- Open the archive with 7-Zip, WinRAR, or the built-in Windows
expandcommand while preserving the directory tree. - Browse into the extracted tree:
C:\WinCCflexible2008_SP5_Upd2\InstData\ - Right-click
rs.exeand select Run as administrator. - Follow the normal install wizard. The product is added on top of the existing SP5 base install without changing the feature selection.
rs.exe that sits inside InstData, not any setup.exe that may exist at the archive root. The rs.exe in InstData is the InstallShield runtime that bootstraps the full product. Files such as setup.exe at higher levels are just the verification wrapper and are the very component that fails the signature check.
7. Resolution Path C - Install the Required Root Certificates Offline
For air-gapped programming stations, download the root certificates on a connected machine and transfer them via removable media.
- On a connected machine, open the Microsoft Trusted Root Certificate Program download page and obtain at least:
- DigiCert Trusted Root G4
- DigiCert Assured ID Root CA
- Symantec Class 3 Public Primary Certification Authority - G6
- Microsoft Root Certificate Authority 2011
- Copy the
.cerfiles to the engineering station. - Open
certlm.msc(Local Machine certificate store). - Import each
.cerinto Trusted Root Certification Authorities → Certificates using the Place all certificates in the following store option. - Restart the host and re-run
Setup.exe.
Verify the import with PowerShell:
Get-ChildItem Cert:\LocalMachine\Root | Where-Object { $_.Subject -match 'DigiCert|Symantec' } | Select-Object Subject, NotAfter
8. Resolution Path D - Repair a Tampered or Quarantined SIA2.exe
Anti-virus products occasionally flag SIA2.exe (the InstallShield Internal Application) inside InstData as a generic trojan, particularly the Trojan:Win32/Wacatac.B!ml family. This is a known false positive triggered by the compressed PE wrapper used in legacy InstallShield bootloaders. If the file has been quarantined, the outer setup fails signature verification because the file length no longer matches the manifest checksum.
- Open the anti-virus quarantine and restore
SIA2.exeif listed. - Add the extraction folder and the final install folder to the AV exclusion list.
- Re-extract the archive to a fresh directory to ensure the file is bit-identical to the original.
- Compute the SHA-256 of
SIA2.exeand compare it to the value published in the readme or in the Siemens support entry.
Get-FileHash 'C:\WinCCflexible2008_SP5_Upd2\InstData\SIA2.exe' -Algorithm SHA256
9. Resolution Path E - Adjust Group Policy and Registry
Some corporate images disable the automatic root update mechanism. If the host is domain-joined and managed by Group Policy, the following settings must be confirmed:
| Path | Setting | Required value |
|---|---|---|
| Computer Configuration → Administrative Templates → System → Internet Communication Management → Internet Communication settings | Turn off Automatic Root Certificates Update | Not configured or Disabled |
| Computer Configuration → Windows Settings → Security Settings → Public Key Policies → Certificate Path Validation Settings | Network Retrieval | Define these policy settings: Automatically retrieve... |
| Registry: HKLM\SOFTWARE\Policies\Microsoft\SystemCertificates | NoRootUpdate (REG_DWORD) | 0x00000000 (delete if present) |
| Registry: HKLM\SOFTWARE\Microsoft\Cryptography\OID\EncodingType 0\CertDllCreateCertificateChainEngine\Config | ChainEngineConfig (REG_BINARY) | 0x00000004 (allow AIA retrieval) |
After changing any of the above, run gpupdate /force and reboot before retrying the installation.
10. Resolution Path F - Virtual Machine Specific Workaround
WinCC Flexible 2008 is frequently deployed in virtual machines that were originally built before SHA-2 root certificates became mandatory. Symptoms inside Hyper-V, VMware Workstation, or VirtualBox images include the signature error appearing after a snapshot revert or a host clock drift.
- Confirm the VM has network egress to the public Internet or to the WSUS server.
- Synchronize the VM clock to the hypervisor (Integration Services / VMware Tools time sync).
- Apply Path A or C as appropriate.
- If the image is sealed with a non-persistent undo disk, take a checkpoint only after the install completes successfully.
11. Step-by-Step Procedure - Recommended Order
- Capture OS information with
winverandmsinfo32 /report %TEMP%\msinfo.txt. - Capture the signature error screenshot and the full text of the message.
- Verify the integrity of the archive with a SHA-256 comparison.
- Run Windows Update until the host reports "No new important updates".
- Re-launch
Setup.exeas administrator. - If it still fails, extract the archive to a fresh folder and run
InstData\rs.exeas administrator. - If the inner installer also fails on
SIA2.exe, verify the file hash and check the anti-virus quarantine. - Document the resolution used, the certificate version installed, and the install path for the project quality file.
12. Verification of a Successful Install
After the install completes, perform the following checks:
- Open Start → Programs → SIMATIC → WinCC flexible 2008 and confirm the icon launches without error.
- Open WinCC Flexible, select Help → About and confirm the version string ends with
SP5 HF2(for exampleV1.5.0.0_SP5_HF2or similar, depending on the language). - Confirm the registry entry:
HKLM\SOFTWARE\Siemens\WinCC flexible 2008\Setupcontains a value indicating the update level. - Open the SIMATIC Manager and perform a project compile and download to a test panel (e.g. TP177B or OP77B) to verify the runtime files are not corrupted.
- Reboot the engineering station and re-launch the HMI software to confirm the install survives a restart.
13. Error Code Reference
| Hex code | Symbolic name | Meaning in this context |
|---|---|---|
| 0x80096004 | TRUST_E_CERT_SIGNATURE | The certificate was issued by a CA the host does not trust. Most common cause: missing SHA-2 root update. |
| 0x800B0109 | CERT_E_UNTRUSTEDROOT | The certificate chains to an untrusted root. Resolve with Path A or C. |
| 0x800B0100 | CERT_E_EXPIRED | System clock skewed or timestamp service unreachable. Synchronize the clock and retry. |
| 0x800B0101 | CERT_E_VALIDITYPERIODNESTING | Multiple certificates in the chain with overlapping validity; often a missing intermediate. |
| 0x800700B7 | ERROR_ALREADY_EXISTS | Another instance of the installer is running. End IDriver.exe in Task Manager and retry. |
14. Frequently Asked Questions
What causes the WinCC Flexible 2008 SP5 Update 2 invalid signature error on Windows 7?
The host operating system is missing the SHA-2 root certificates that the re-signed installer (released by Siemens) requires. Install all pending Windows updates, or at minimum KB3033929 and the monthly rollup root certificate updates, then re-run setup.
Can I install WinCC Flexible 2008 SP5 Update 2 without internet access?
Yes. Extract the archive, right-click InstData\rs.exe and run it as administrator. If the inner installer still fails, manually import the DigiCert and Symantec root certificates into certlm.msc under Trusted Root Certification Authorities and retry.
Why does SIA2.exe trigger an anti-virus warning during installation?
The InstallShield inner launcher SIA2.exe uses legacy PE compression that occasionally matches heuristic signatures in consumer anti-virus products. Verify the file SHA-256 against the value published in the Siemens readme, restore the file from quarantine, and add the installation folder to the AV exclusion list.
Does the same error occur on Windows 10 or Windows 11?
It can, especially on minimal or audit-mode images that have automatic root certificate updates disabled by group policy. Confirm that the policy Turn off Automatic Root Certificates Update is not enabled, then re-run the installer as administrator.
Is the SP5 Update 2 archive itself corrupted if the error persists?
Not usually. The same archive installs correctly on a host with the correct root certificates. Verify the SHA-256 of the archive against the Siemens support entry 109757233, but in most cases the trust store is the actual problem.