JDK-6227874 : javaws apps are put in Add/Remove progrgrams entries for all users
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 5.0
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows
  • CPU: generic
  • Submitted: 2005-02-10
  • Updated: 2010-04-04
  • Resolved: 2005-03-09
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.
Other JDK 6
5.0u3Fixed 6 b27Fixed
Description
The AddRemove programs entries for Java Web Start applications are put in the registry all under HKEY_LOCAL_MACHINE.

This means an entry put in for one user is there for all to delete.
This also means a non administrator who runs a Java Web Start app cannot remove it thru Add/Remove Programs.

We should use HKEY_LOCAL_MACHINE only is app is in the system cache.  otherwise, use HKEY_CURRENT_USER
###@###.### 2005-2-10 19:34:47 GMT

Comments
SUGGESTED FIX http://web-east.east/www/webrevs/andy/1.6.0/6227874/ ###@###.### 2005-2-12 16:37:50 GMT
12-02-2005

EVALUATION The code in config.cpp just always uses HKEY_LOCAL_MACHINE. It can easily be changed to use HKEY_CURENT_USER if app is in users cache, and HKEY_LOCAL_MACHINE if app is in system cache. The only problem is how to handle existing Registry Entrys from code before this change ? ###@###.### 2005-2-10 20:45:22 GMT
10-02-2005