JDK-7092378 : UAC dialog for ssvagent pops up unexpectedly
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 Availabitlity Release.
Steps to reproduce:
Install JRE 7u1 followed by FX 2.0.
UAC dialog for ssvagent always pops up under the following scenarios:
1) invoke Java Control Panel
2) start IE browser
On win7 / vista, if one installs jre 7u1 followed by fx 2.0. A UAC dialog for ssvagent.exe always pops up on startup of Java Control Panel or startup of the IE browser.
For fixing the problem related to Java Control Panel, in ControlPanel, checks if the fx config setting is different from the actually setting. Only calling setJavaFXEnabled() if they're different since setJavaFXEnabled() will invoke ssvagent as a high-integrity process and will trigger the UAC dialog. Similar fix also apply before calling setJavaPluginSettings().
2 problems related to the IE browser:
1) The static version clsid reg keys for the latest JRE version on the machine wasn't set to point to the fx directory. A fix is in SSVSetup, we should also call the RedirectSelectedStaticVersionKeys() function so that all installed JREs static version keys will be set correctly.
2) The "TreatAs" key for the applet tag support wasn't set to point to the latest JRE version on the machine. A fix is in the SetIEPluginREGKeys(), we need to find the latest installed JRE version and set the "TreatAs" key accordingly.