Resolving WinCC v6.2 MCI32.OCX Installation Error on Windows 7
1. Problem Summary
Engineers migrating from Windows XP to Windows 7 frequently encounter a hard install failure when deploying SIMATIC WinCC V6.2 (including SP1, SP2, and the Asia/Chinese localizations). The setup routine aborts during component registration and surfaces a dialog that references MCI32.OCX. The error is not a transient file-lock issue and is not resolved by re-running the installer with elevated rights. It is a structural incompatibility between the WinCC V6.2 runtime/engineering installer and the Windows 7 user-mode component framework.
Commonly observed failure messages include:
-
Error: MCI32.OCX— raised before the installation completes the "Registering components" phase. -
Component 'MCI32.OCX' failed to register(HRESULT 0x80040200 / 0x8002801C class not registered variants). - Silent rollback: the installer returns to the splash screen, removes staged files, and reports a generic "Installation failed".
- Setup log entry
Regsvr32: DllRegisterServer in MCI32.OCX failedinside%temp%\Siemens\WinCC\Setup.log.
MCI32.OCX into C:\Windows\System32 or SysWOW64 will not produce a working WinCC installation on Windows 7 because the surrounding V6.2 component stack is also unsupported on the new OS.2. What Is MCI32.OCX and Why WinCC V6.2 Needs It
MCI32.OCX is the Microsoft Media Control Interface 32-bit ActiveX control (MCI32.OCX, file version stamped 6.1.7600.x in the redistributable pool). It exposes the MSMCI32 CoClass used by WinCC for:
- Audible alarm horn playback (
\<horn>.wavin the graphics designer alarm logging). - Audio cues inside
WinCC Alarm ControlandWinCC Sound Control. - Legacy camera/AVI preview paths used by the V6.2
CamControladd-on. - Video file playback in custom C-scripts using
mciSendStringvia the COM wrapper.
WinCC V6.2's setup calls Regsvr32 /s MCI32.OCX as part of the OS runtime prerequisites (component group "WinCC Runtime - Common Components"). The control ships in the redistributable folder \InstData\Windows\InstData\Redist\OCX of the installation media. Under Windows XP and Server 2003 the call returns S_OK. Under Windows 7 the same call returns 0x80040200 because the Multimedia Control Interface has been reclassified by Microsoft as a deprecated runtime and the dependent interfaces (IMCIPlayer2, IMCIPicture) are no longer proxied through the standard MSCTF.dll registration chain.
3. WinCC V6.x / V7.x Compatibility Matrix
The root cause of the install failure is OS-level, not media-level. The table below summarizes the officially supported Windows host operating systems for the WinCC Classic (pre-TIA Portal) runtime and engineering suite.
| WinCC Version | Windows XP SP3 | Windows Vista SP2 | Windows 7 SP1 (32-bit) | Windows 7 SP1 (64-bit) | Windows Server 2003/2008 | Windows Server 2008 R2 |
|---|---|---|---|---|---|---|
| V6.0 / V6.0 SP1-SP4 | Supported | Not supported | Not supported | Not supported | Supported | Not supported |
| V6.2 / V6.2 SP1-SP3 | Supported | Not supported | Not supported | Not supported | Supported | Not supported |
| V7.0 / V7.0 SP1-SP3 | Supported | Supported | Supported (32-bit only) | Limited1 | Supported | Supported |
| V7.2 / V7.2 SP1-SP2 | Supported | Supported | Supported | Supported | Supported | Supported |
| V7.3 / V7.3 SP1-SP2 | Not supported | Limited | Supported | Supported | Limited | Supported |
| V7.4 / V7.4 SP1 | Not supported | Not supported | Supported | Supported | Not supported | Supported |
| V7.5 / V7.5 SP1-SP2 | Not supported | Not supported | Supported | Supported | Not supported | Supported |
1 WinCC V7.0 SP1-SP3 64-bit editions require the SIMATIC WinCC V7.0 SP3 Update 3 or later and KB2493989 host hotfix. Earlier 64-bit builds on Windows 7 are blocked by the same MCI32.OCX symptom seen on V6.2.
4. Why Direct Installation on Windows 7 Fails
Three structural changes in Windows 7 break the WinCC V6.2 installer:
-
User Account Control (UAC) manifest. The setup calls
Regsvr32.exefrom a non-elevated context. UAC's split-token model blocks theHKCR\CLSIDwrite that registers theMCI32.OCXCoClass, even when the launching user is in the local Administrators group. -
Side-by-side (SxS) assembly redirection. Windows 7 routes legacy
mscoree.dllandMSCTF.dllcalls through theFusionSxS resolver. The V6.2 manifest embedded inMCI32.OCXreferences side-by-side assemblies (Microsoft.Windows.Common-Controls5.82.0.0) that are not present in the Windows 7 default SxS store. -
Removal of the 16-bit MCI thunk layer. The Multimedia Control Interface on Windows 7 is 64-bit clean but no longer ships the 32-bit
winmm.dllshim used byMCI32.OCX's internalIClassFactory. Registration returnsCLASS_E_CLASSNOTREG(0x80040154).
These three changes are the exact reason Siemens never issued a Windows 7 hotfix for WinCC V6.2: the fix would require re-architecting the OCX and would invalidate the existing certified PLC tag interface compatibility.
5. Pre-Installation Checklist
Before applying any of the workarounds below, validate the following on the target laptop or engineering workstation:
- Confirm the exact installed Windows build:
winvermust report Windows 7 SP1 (build 7601) or later. Pre-SP1 builds exhibit additional failures unrelated toMCI32.OCX. - Confirm the bitness of the OS: 32-bit Windows 7 requires 32-bit WinCC media; 64-bit Windows 7 requires 64-bit WinCC media. Do not mix.
- Free at least 8 GB on
C:for the WinCC V6.2 install footprint plus SQL Server 2005 instance. - Disable the antivirus real-time scan on
C:\Program Files\SiemensandC:\Windows\System32during install. Some suites quarantineMCI32.OCXon copy. - Verify .NET 3.5 SP1 and .NET 4.0 are present. WinCC V6.2 SP3+ uses a small set of .NET assemblies for the Graphics Designer add-in loader.
- Ensure the local
SQLServer2005instance is not already bound to TCP port 1433 by a third-party SQL Express install — WinCC'sWinCC_CC_Exp_2005installer refuses to start if it cannot bind port 1433.
6. Workaround A — Windows XP Mode (Recommended for Engineering Only)
Windows XP Mode is a Microsoft-provided Windows XP SP3 virtual machine that runs inside Windows 7 Professional, Enterprise, or Ultimate. It is the lowest-friction path for engineering workstations that must still edit V6.2 projects.
6.1 Prerequisites
- Windows 7 Professional, Enterprise, or Ultimate (XP Mode is not available on Home editions).
- Hardware virtualization enabled in BIOS (Intel VT-x or AMD-V). The XP Mode VHD will refuse to boot if virtualization is disabled.
- Minimum 2 GB host RAM, 3 GB recommended; 15 GB free disk for the dynamic VHD.
- Latest Windows Virtual PC and XP Mode update rollup (KB2686827, KB4019999 are the most recent cumulative patches).
6.2 Step-by-Step Setup
- Download
WindowsXPMode_en-us.exeandWindows6.1-KB958559-x64-RefreshPkg.msu(or x86) from the official Microsoft Download Center. Validate the SHA-1 hash before running. - Install Windows Virtual PC, then install XP Mode. Accept the default
C:\Users\<user>\AppData\Local\Microsoft\Windows Virtual PC\Virtual Machines\Windows XP Mode.vhdlocation. - Boot the VM, install Virtual PC Integration Components from the Tools menu of the VM window. This enables clipboard sharing, drive redirection, and dynamic resolution.
- Apply all Windows XP SP3 updates inside the VM, then disable automatic updates — the VM must remain on SP3 to host WinCC V6.2 reliably.
- Map a host drive letter to the engineering project's source folder: Tools → Settings → Integration Features → Shared Folders.
- Mount the WinCC V6.2 SP3 ISO inside the VM and launch
Setup.exe. Install in the order: SQL Server 2005 Express → WinCC Runtime → WinCC Configuration. TheMCI32.OCXregistration now succeeds because the host is Windows XP SP3. - After install, apply WinCC V6.2 SP3 Update Rollup 6 (or the latest available) to resolve known stability issues.
7. Workaround B — Dedicated Virtual Machine (Recommended for Runtime)
For an isolated WinCC V6.2 runtime on Windows 7 hardware, the best path is a full hypervisor-based VM running Windows XP SP3 or Windows Server 2003 R2 as a guest. This isolates the legacy OS from the engineering host and avoids XP Mode's 90-day re-activation cycle.
7.1 Recommended Hypervisors
| Hypervisor | Version | VM Configuration | Notes |
|---|---|---|---|
| VMware Workstation | 10.x or 11.x | 2 vCPU, 4 GB RAM, 60 GB thin-provisioned disk | Best USB and serial passthrough for S7 MPI/DP adapters. |
| Oracle VirtualBox | 5.0.x | 2 vCPU, 3 GB RAM, Bridged NIC | Free; requires the Oracle VM VirtualBox Extension Pack for USB 2.0. |
| Hyper-V (Windows 7 SP1 + KB2517374 only) | Gen 1 VM | 2 vCPU, 4 GB static RAM, legacy NIC | Hyper-V client is not native on Windows 7; requires the optional update. |
7.2 Step-by-Step Configuration
- Create a Windows XP SP3 or Windows Server 2003 R2 guest with at least 2 vCPU and 4 GB RAM. WinCC V6.2 runtime requires a 2 vCPU configuration to handle alarm logging without queue overruns.
- Assign a bridged network adapter and a static IP. NAT breaks the WinCC channel DLL for S7COMM and OPC if the channel expects to bind to a real adapter MAC.
- Install Guest Additions / VMware Tools before installing WinCC. Reboot.
- Set the guest power profile to High Performance. The default Balanced profile throttles the alarm logging service and triggers
Alarm Logging Service: Queue Overflowevents. - Disable Windows XP screen saver and disable hibernation. Both interact badly with the WinCC runtime
pdlservice.exeprocess. - Install SQL Server 2005 Express SP3, then WinCC V6.2 SP3. The
MCI32.OCXregisters cleanly inside the legacy guest. - Configure the VM to autostart the WinCC runtime project with the host's boot. In VMware, use VM → Settings → Options → Start/Actions After Power On → Power On + Open Console; in Hyper-V, use the Automatic Start Action settings of the VM.
8. Workaround C — Upgrade to WinCC V7.0+
If the project can be migrated, the cleanest path is to upgrade the WinCC platform to V7.0 SP3 Update 3 or later, which is fully supported on Windows 7 SP1 (32-bit) and Windows Server 2008 R2 (64-bit). V7.x re-architects the MCI32.OCX dependency and replaces it with the WinCC Audio Player built on the Windows 7 Media Foundation stack.
8.1 Migration Procedure
- On the existing XP host, open the V6.2 SP3 project and run Project → Migrate → V7.0. This produces a new
.mcpproject file and a migration reportMigrationReport.htmlin the project root. - Open
MigrationReport.htmland resolve every red entry. Typical issues: deprecated C-script functions, V6.2-only channel DLLs (e.g.,SIMATIC S7 Protocol Suite <= V6.2), and@global script references. - Re-link any picture window that used
MCI32.OCXfor embedded video; switch to the WinCC Media Control ActiveX that ships with V7.x. - Save the migrated project, copy to the Windows 7 host, install WinCC V7.0 SP3 Update 3, then install the latest hotfix (typically
WinCC_V70_SP3_Upd13.exeor newer). - Re-compile all C-scripts (Tools → C-Editor → Rebuild All) and re-test every alarm horn path.
CCDMChannel.dll ABI must be re-compiled against the V7.0 CCDMChannelV70.dll ABI. Plan 2–3 engineering days per project for a clean migration with full regression testing.9. Manual Workaround — Registering MCI32.OCX Outside the Installer
It is technically possible to copy MCI32.OCX from the WinCC V6.2 media and register it manually, but this only unblocks the "Registering components" phase of the installer. The remaining V6.2 components will still fail on Windows 7 because of the SxS and winmm.dll issues described in Section 4. Treat this as a diagnostic step, not a solution.
- Extract
MCI32.OCXfrom the ISO:7z e WinCC_V62_SP3.iso MCI32.OCX -oC:\Temp\OCX\. - Copy to the correct system directory:
- 32-bit Windows 7:
copy C:\Temp\OCX\MCI32.OCX %SystemRoot%\System32\ - 64-bit Windows 7:
copy C:\Temp\OCX\MCI32.OCX %SystemRoot%\SysWOW64\
- 32-bit Windows 7:
- Open an elevated Command Prompt.
- Register the control:
- 32-bit:
regsvr32 %SystemRoot%\System32\MCI32.OCX - 64-bit:
%SystemRoot%\SysWOW64\regsvr32 %SystemRoot%\SysWOW64\MCI32.OCX
- 32-bit:
- If registration succeeds with
DllRegisterServer in MCI32.OCX succeeded, proceed with the WinCC setup. If it returns0x80040200or0x8002801C, abandon this path and use Workaround A, B, or C.
10. Diagnostic and Verification Matrix
| Symptom | Check | Expected Result | Pass/Fail Action |
|---|---|---|---|
MCI32.OCX dialog at install |
Inspect %temp%\Siemens\WinCC\Setup.log for Regsvr32 line |
Line ending failed: 0x80040200
|
Apply Workaround A/B/C |
| Installer rolls back silently | Check C:\Program Files\Siemens\Automation exists |
Should be empty after rollback | Disable UAC prompt, retry as admin |
| WinCC runtime starts but no audio | Event Viewer → Application → WinCC_Audio
|
Event 1 "MCI device open failed" | Re-register MCI32.OCX (V6.2) or rebuild alarm horn mapping (V7.x) |
| Project migration loses tags | Compare .mcp before/after with diff
|
No differences in tagtable.dbf
|
Restore from backup, re-run migration |
| VM guest loses time sync | Check ToolsIntegration time sync settings | Drift < 1 s | Disable Windows Time service in guest, enable VMware Tools time sync |
| SQL Server 2005 will not start after install | Event Viewer → System → Service Control Manager | Event 7000 "SQLServer2005 service failed to start" | Reset HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.1\MSSQLServer\LoginMode to 2 |
11. Best-Practice Recommendations
- Treat the
MCI32.OCXerror as a compatibility sentinel. If it appears, the entire V6.2 stack is incompatible with the host OS. Do not try to patch around it. - Maintain a Windows XP SP3 or Server 2003 R2 reference image (gold image) with WinCC V6.2 SP3 + latest update rollup pre-installed. Deploy it as a VM on every modern engineering workstation.
- Move runtime platforms to WinCC V7.4 SP1 or V7.5 SP2 wherever project scope allows. Both ship native Windows 7 SP1 (32-bit and 64-bit) support and resolve the
MCI32.OCXdependency at the source. - Disable Windows 7 UAC for engineering VMs that run legacy installers. UAC split-token is the silent cause of many "ghost" registration failures in addition to
MCI32.OCX. - Keep a copy of the WinCC V6.2 SP3 update rollup and license key offline. A license server outage on a Windows 7 host can be unrecoverable if the V6.2 license dongle drivers are not preinstalled.
- For long-term support, plan a multi-year migration to WinCC Professional (TIA Portal) V17 or later, which drops the legacy OCX stack entirely.
12. Frequently Asked Questions
Why does WinCC V6.2 fail to install on Windows 7 with an MCI32.OCX error?
WinCC V6.2's setup calls Regsvr32 /s MCI32.OCX to register the Microsoft Media Control Interface CoClass. On Windows 7 the registration returns 0x80040200 because the legacy Multimedia Control Interface shim in winmm.dll was removed and the embedded manifest in MCI32.OCX references side-by-side assemblies no longer present in Windows 7's SxS store. Siemens never shipped a V6.2 hotfix for this because the fix would invalidate certified PLC tag interface compatibility.
Is there any official Windows 7 patch or hotfix for WinCC V6.2?
No. The official Siemens position is that WinCC V6.2 (including all V6.2 SP1-SP3 update rollups) is supported only on Windows XP SP3 and Windows Server 2003. The first WinCC version with native Windows 7 support is V7.0 SP3 Update 3 (32-bit) and V7.0 SP3 Update 5 (64-bit). For runtime deployment on Windows 7, use a V6.2 SP3 VM guest or migrate the project to V7.0+.
Can I copy MCI32.OCX from another PC and register it to bypass the error?
You can register the OCX manually using elevated regsvr32 from a 32-bit source on a 32-bit Windows 7 host. The registration may succeed, but the rest of the WinCC V6.2 installer will still fail on Windows 7 because of the deeper SxS assembly and winmm.dll issues. Treat the manual registration as a diagnostic step, not a workaround.
Which WinCC version should I use on Windows 7 for new projects?
For a 32-bit Windows 7 SP1 host, use WinCC V7.4 SP1 (32-bit) or V7.5 SP2 (32-bit). For a 64-bit Windows 7 SP1 host, use the 64-bit editions of the same versions. All V7.x versions from V7.0 SP3 Update 3 onwards are fully compatible with Windows 7 SP1 and ship an updated WinCC Audio Player that no longer depends on MCI32.OCX.
Will Windows XP Mode be sufficient to run a WinCC V6.2 runtime in production?
No. Windows XP Mode is licensed for development and configuration use only. For a production WinCC V6.2 runtime on Windows 7 hardware, use a dedicated VMware Workstation, Oracle VirtualBox, or Hyper-V Gen 1 virtual machine running Windows XP SP3 or Windows Server 2003 R2, with at least 2 vCPU, 4 GB RAM, a bridged NIC, and the VM configured to autostart with the host.