Re: Java Web Start Uninstall
On Jun 19, 5:17 pm, Roedy Green <see_webs...@mindprod.com.invalid>
wrote:
Digging with Google, I have seen comments that:
1. Java Webstart will call you INSTALL class main method on uninstall
???? What a goofy thing to do! How does it know if it is installing
or uninstalling?
Buried in section 5.2.3 "Launching an Extension
Installer/Uninstaller" of the JNLP Spec. is the detail
"For installation, the JNLP Client must invoke
the public static void main(String[]) method in
the specified class with the String array
{"install"} as an argument.
For uninstallation, the JNLP Client must invoke
the public static void main(String[]) method in
the specified class with the String array
{"uninstall"} as an argument. "
I find it frustrating that the best source of
information on working with JNLP/Webstart, the
spec., is not available for on-line browsing.
2. Others say the install class gets invoked only on install. This is
a bug.
Anyone done some experiments?
See for my test build file..
<http://pscode.org/jws/api.html#eis>,
as well as links to the bug reports based on
the fact that no-one *ever* seems to have
managed to make the uninstaller work.
I just tried it again now on Ubuntu Linux
running Sun's Java 1.6.0_11, and though I
'deleted' the app. from the Java Control
Panel, saw no final 'Thanks' dialog. :-(
--
Andrew T.
pscode.org