JDK-7194018 : login/reboot installation doesn't work for JRE off-line installer
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 7u6
  • Priority: P3
  • Status: Closed
  • Resolution: Won't Fix
  • OS: windows
  • CPU: x86
  • Submitted: 2012-08-24
  • Updated: 2017-09-25
  • Resolved: 2017-09-25
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.
JDK 6 Other
6-poolResolved tbdResolved
Description
JRE off-line installer sets incomplete info in RunOnce registry
in case user opts for installation to be completed after login/reboot:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce]
"JavaInstallRetry"="RUNONCE=1 SPONSORS=0"

As a result  installation doesn't continue after login/reboot 
so JRE upgrade gets rolled back.

On-line installer sets correct data which is:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce]
"JavaInstallRetry"="\"C:\\Documents and Settings\\User\\Application Data\\Sun\\Java\\JRERunOnce.exe\" RUNONCE=1 SPONSORS=0"

How to reproduce:
-Install JRE 7u4
-open IE
-Install with off-line installer JRE 7u6
-When "Close IE to continue installation" windows pops up 
 click "LATER" button.
-click "OK" button to continue the installation after login/reboot
-if no JRE installation takes place after login/reboot then the bug
 is reproduced.

Comments
Assigning this bug to myself. Working on customer escallation: Bug 18146973 - INCOMPLETE INSTALLATION WITH JRE 6U71 INSTALLER https://bugs.openjdk.java.net/browse/JDK-8033125
20-02-2014