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