United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-8007045 : Mac Installer should invoke verify page after install completes

Details
Type:
Enhancement
Submit Date:
2013-01-28
Status:
Closed
Updated Date:
2013-07-31
Project Name:
JDK
Resolved Date:
2013-07-09
Component:
install
OS:
os_x
Sub-Component:
install
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
7u40
Fixed Versions:
7u40 (b35)

Related Reports
Backport:
Backport:
Backport:
Backport:
Relates:

Sub Tasks

Description
This feature is needed to ensure that returnPage flow from a referral site will work properly.  It is also consistent with the 7u14 behavior on Windows.

Use the URL that is noted in the issue JDK-8007044 (and linked to this one)
                                    

Comments
Add "open 'URL'" to postinstall script to launch verify page.
                                     
2013-02-05
Retargeting due to regressions seen in JDK 8 implementation JDK-8014698 "[Mac] Verify java page launched from JRE installer is bad UE"
We do not have a solution for detecting the silent install on Mac.
                                     
2013-06-17
Environment variable COMMAND_LINE_INSTALL  Set when performing an installation using the installer command. This is used to detect command line install and no verify page will be launched for silent install.
                                     
2013-07-08
7uX-critical-request justification:  This bug fix is needed because verify page should be launched when JRE install completes.
level of effort: Low, already fixed in JDK8 and a simple backport is needed.
risk: Low
amount of testing coverage: High
result of not integrating: No verify page will be launch after JRE installation 
number and names of reviewers: 3 reviewers, Pranav Bhat, Mark Knapp, William J Harnois

Fix Evaluation:
Mac installer should not launch verify page when installed using command line.
- Mac installer command sets an environment variable COMMAND_LINE_INSTALL which could be used to detect if the installer was launched from UI or command line (silent).

Verify page should be launched with default browser.
- Mac default browser can be detected from ${HOME}/Library/Preferences/com.apple.LaunchServices.plist, PlistBuddy is used detect default browser.
- "open -bg <VERIFY PAGE URL>" command is used to launch verify page
                                     
2013-07-08
SQE-OK with the request for this fix to be in 7u40. It is a low risk fix to an important feature, which impacts a lot of testing.
                                     
2013-07-08
Verified with 7u40 b35
                                     
2013-07-31



Hardware and Software, Engineered to Work Together