SYMPTOMSJava Runtime Environment (JRE) installation has not completed and an error appears:
Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.
CAUSE
Error 1722 is an InstallShield error code. It indicates that the installation process has failed. The exact reason for this error is not known at this time.
WORKAROUND Please follow the steps below for workaround.
Step 1
Remove any traces of the failed JRE installation by uninstalling JRE.
To uninstall the JRE, follow the instructions at:
Windows uninstallation instructions
Step 2
Download and install the offline installation package from the manual download page:
Please click here for Java download using offline installation
Reference:
https://www.java.com/en/download/help/error_1722.xml