EVALUATION
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.
|