United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-7061121 : ssv module do not need to set redirect keys in the HKLM branch

Details
Type:
Bug
Submit Date:
2011-06-30
Status:
Resolved
Updated Date:
2011-10-31
Project Name:
JDK
Resolved Date:
2011-08-24
Component:
deploy
OS:
windows
Sub-Component:
deployment_toolkit
CPU:
x86
Priority:
P4
Resolution:
Fixed
Affected Versions:
7-client
Fixed Versions:
7u2 (b03)

Related Reports
Backport:
Backport:

Sub Tasks

Description
in the comment of ssvsetup in reginstall.cpp:

// Run the code in the SSV DLL to perform registry key redirection.
// This serves two purposes. One is to support installation of the JRE
// while the web browser (IE) is open and detection of that JRE
// without restarting the browser. The second is to perform the
// redirection of the HKLM registry entries on Vista to cover the case
// where UAC is off; the HKCU redirection performed by the ssvagent in
// medium integrity doesn't have an effect in this case, and we want
// to try to avoid launching ssvagent in high integrity mode. Since
// we're already high integrity at this point, do this work eagerly.


Note that the above comment was referring to a bug in Vista fcs which was fixed in SP1.
we should investigate the ssv module to not setting the redirect keys in the HKLM branch.

                                    

Comments
SUGGESTED FIX

webrev: http://sa.us.oracle.com/projects/deployment_data/7-client/7061121
                                     
2011-08-23
EVALUATION

Added helper function IsPlatformWindowsVistaFCS() to check whether the platform is Vista FCS without any service pack in common.cpp. 
The function will be used in ssvagent and only set the redirection reg. key in the HKLM branch if it returns true.
                                     
2011-08-23



Hardware and Software, Engineered to Work Together