Visual COBOL 2.3 setup fails with MSI error 0x80070643

0 Likes
over 5 years ago

Problem:

Visual COBOL 2.3 for Visual Studio 2015 fails with the following error message:

Setup Failed

0x80070643 - Fatal error during installation.

Fix setup issue(s) and retry. For more information see the log file.

Resolution:

Visual COBOL setup verifies and installs few pre-requisites if missing. When one of these pre-requisites fails to install, then the error above occurs, and the log file should indicate where the problem occurred.

For instance, the error is reported in several lines:

Error 0x80070643: Process returned error: 0x643
Error 0x80070643: Failed to execute EXE package.
Error 0x80070643: Failed to configure per-machine EXE package.
Applied execute package: jre, result: 0x80070643, restart: None
Error 0x80070643: Failed to execute EXE package.

In the fourth line of the error messages above, it indicates that jre was the package that failed.

The actual command is reported in the same log file few or several lines before the error messages with an entry starting with "Applying execute package: <pre-requisite> [...]". In this case, it is jre

Applying execute package: jre, action: Install, path: C:\ProgramData\Package Cache\E0E42AAEEDBB77A19809004A576496DCDCF99ED5\prereqs\jre-8u51-windows-i586.exe, arguments: '"C:\ProgramData\Package Cache\E0E42AAEEDBB77A19809004A576496DCDCF99ED5\prereqs\jre-8u51-windows-i586.exe" /s'

The problem should be resolved by deleting the folder with the long string where the executable is started from, e.g. C:\ProgramData\Package Cache\E0E42AAEEDBB77A19809004A576496DCDCF99ED5\, and by relaunching the Visual COBOL setup.

The alternative, in the case of the Java run-time (jre), would be to install jre manually by downloading the file from http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html

Once the Java runtime is installed, the Visual COBOL 2.3 setup will not need to install it anymore.

Comment List
Anonymous
Related Discussions
Recommended