JDK-6398636 : Vista: JRE 5.0u8 installation failed with 1722 MSI error
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 5.0u8
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_vista
  • CPU: x86
  • Submitted: 2006-03-15
  • Updated: 2014-02-27
  • Resolved: 2006-11-03
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
5.0u11 b01Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
It failed to install the newest nightly-build(14_mar) on Vista.
1.Uninstall all Jdk and Jre on Vista.
2.Install jre-1_5_0_08-fcs-bin-b99-windows-i586-p-14_mar_2006.exe on Vista.
3.A error dialog poped up and installation failed.(see attachment)
I can reproduce it using bundle from "http://j2se.east/arc/1.5.0_08/nightly/2006-03-21/windows-i586/". I found some issue talking about "error 1722" at "http://www.java.com/en/download/help/error_1722.xml",and I changed the installing directory as the suggestion. But the installtion failed again and error number changed to 1721.The following is the description on 1721 on microsoft.com.
Error 1721. There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personal or package vendor
(http://support.microsoft.com/default.aspx?scid=kb;en-us;891985)

Comments
SUGGESTED FIX The fix was to change the followings 1. Marked the CustomActions that need admin privilege with the "Deferred Execution in System Content" and set the execute sequence in proper order since the defered CustomAction only can run between InstallInitialize and InstallFinalize. 2. Changed the installer to set and get some installer properties in the registry instead of from MSI database. Since the defered CustomAction run in separate process the msi database can't be accessed. 3. Backport the progress bar change from mustang to accommodate the installation sequence change. webrev: http://web-east.east/www/webrevs/qz198522/50u10/6398636/ testcase: http://web-east.east/www/webrevs/qz198522/50u10/6398636/testcase.html/
06-09-2006

EVALUATION I tried jre-1_5_0_08-fcs-bin-b99-windows-i586-p-21_mar_2006 with the Built-in Administrator. It worked correctly on install and uninstall. I tried the same bundle with the user admin. I got the msi error 1722(indicated that it failed to run CustomAction). This can be all easily explained with the Vista UAC feature. Since all of the CustomActions in the tiger were not marked with the elevated privilege. The CustomAction could fail if the action required admin privilege. We have fixed the elevated privilege issues in the mustang. So, I marked this bug as mustang-na. By the way, the log file was not readable.
07-04-2006

EVALUATION Is there an install log for this issue?
31-03-2006

EVALUATION I could not reproduce the problem with the jre installer(nightly build on 14_mar). I tried a few times. The installation worked all the time. Please retest the issue and provided more details on the steps if it still fails. Also, I would like to know if any other programs are running while jre is installing. The vista system: Windows Vista(TM) Beta2, Evaluation copy, Build 5308
24-03-2006