Community

Question: Installer package fails with return code 0x80070643 on a fresh install

20.07.2026 13:58 by Tobias Pohr

I have made a MSI bundle for my customer's installer where WinCC OA is included as an ExePackage.
When the resulting bundle setup runs a fresh install on a fresh virtual machine, the error code 0x80070643 is returned, as soon as the WinCC OA Base package is about to be installed.
Prerequisites install nicely. Patching an existing installation works also.

From Bundle.wxs:
<ExePackage Id="Package_WinCCOA"
SourceFile="WinCC_OA_3.21.3_Setup_x64.exe"
InstallArguments="/passive
INSTALLADDONS=0
INSTALLAPICPP=0
INSTALLAPICSHARP=0
INSTALLAPPLICATIONS=0
INSTALLBASESERVER=1
INSTALLBASEUI=1
INSTALLBASEUISHORTCUTS=1
INSTALLDESKTOPUISHORTCUTS=0
INSTALLDIR=&quot;C:/Siemens/Automation/WinCC_OA/3.21&quot;
INSTALLHELPDE=1
INSTALLHELPEN=1
INSTALLINFLUXSERVER=0
INSTALLITCSERVER=0
INSTALLJAVASCRIPTENV=0
INSTALLOPCDA=0
INSTALLPOSTGRESQLCLIENT=1
INSTALLPOSTGRESQLSERVER=1
INSTALLPROFISAFE=0
INSTALLS7PLUS=0
INSTALLSPECIALFUNCTIONS=1
INSTALLVIDEO=0
INSTALLVIMACC=0
INSTALLX86COMPONENTS=1
PROJECTDIR=&quot;C:/WinCC_OA_Proj&quot;
SUPPRESSREBOOT=1"
DetectCondition="true"
Permanent="yes"
Vital="yes">

<!-- treat 0x20000001 (decimal 536870913) as success (same version installed) -->
<ExitCode Value="536870913" Behavior="success" />
<!-- treat 0x20000002 (decimal 536870914) as success (newer version installed) -->
<ExitCode Value="536870914" Behavior="success" />
</ExePackage>

Logfile:
[0540:0CAC][2026-07-20T13:40:38]i301: Applying execute package: Base, action: Install, path: C:\ProgramData\Package Cache\{27DC2DB2-82A3-9C56-AAC6-91FBCCBB0DE6}v3.21.003.0\BA\Base.msi, arguments: ' INSTALLDIR="C:/Siemens/Automation/WinCC_OA/3.21" PROJECTDIR="C:/WinCC_OA_Proj" TRANSFORMS="" ALLUSERS="1" ARPSYSTEMCOMPONENT="1" MSIFASTINSTALL="7" BURNMSIINSTALL=1 REINSTALLMODE="muse" REBOOT=ReallySuppress'
[0540:0CAC][2026-07-20T13:40:41]e000: Error 0x80070643: Failed to install MSI package.
[0540:0CAC][2026-07-20T13:40:41]e000: Error 0x80070643: Failed to execute MSI package.
[1EC0:02F4][2026-07-20T13:40:41]e000: Error 0x80070643: Failed to configure per-machine MSI package.
[1EC0:02F4][2026-07-20T13:40:41]i319: Applied execute package: Base, result: 0x80070643, restart: None
[1EC0:02F4][2026-07-20T13:40:41]e000: Error 0x80070643: Failed to execute MSI package.

This question has been edited. Question answered

Responses (1)

21.07.2026 09:52 by Tobias Pohr

Installation was supposedly blocked by outdated command line parameters:
INSTALLITCSERVER=0
INSTALLPROFISAFE=0

After I removed these and set the ExePackage to PerMachine="yes", installation succeeded again.

Log in to write a response to this question.
Back to list