United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-7053087 : Cannot unistall some apps from add/remove programs on windows

Details
Type:
Bug
Submit Date:
2011-06-09
Status:
Resolved
Updated Date:
2011-09-22
Project Name:
JDK
Resolved Date:
2011-08-17
Component:
deploy
OS:
generic
Sub-Component:
webstart
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7-client
Fixed Versions:
7u2 (b03)

Related Reports
Backport:

Sub Tasks

Description
Now That applications that contain no href can be "installed", a problem occurs when trying to uninstall them from add/remove programs dialog on windows.
The target of the uninstall arg is set up as the return from ld.getCononicalHome().
For applications with an href, this is the URL to the jnlp file on the web.
for applications w/o an href, that is not true, and this string (the url to the main jar + "jnlp"), though used as the cononical home, this is not a valid url to be used in 
javaws -uninstall <url>

Instead we have to either point to the cached file, or handle this in Main when doing uninstall.

                                    

Comments
EVALUATION

we cannot point to the cached jnlp file - because if run again, it may get updated, this will also then be a stale refferance.
Fix is to recognize ".jarjnlp" extension in Main and/orCacheUtil as cononical href, and to use that to find the cached entity to remove.
                                     
2011-06-15



Hardware and Software, Engineered to Work Together