Desktop shortcut is created without user comfirmation
Hi All,
I'm using Java 6. My JNLP contains desktop shortcut hint:
<shortcut online="true">
<desktop/>
<menu submenu="My company"/>
</shortcut>
Java plugin panel allows to control automatic shortcut creation:
- Always allow
- ...
- Prompt user
- Prompt user if hinted
When I set "Prompt user" or "Prompt user if hinted" shortcut is created without user confirmation.
What I made wrong? Is it bug?
# 1
...
> I'm using Java 6. My JNLP contains desktop shortcut
> hint:
<shortcut online="true">
<desktop/>
<menu submenu="My company"/>
</shortcut>
Does the BasicService example shown here, act
as you expect? http://www.physci.org/jws/
> When I set "Prompt user" or "Prompt user if hinted"
> shortcut is created without user confirmation.
That one (just tested) creates a shortcut after
prompting the user (setting 'prompt if hinted').
BUT.. trying it yesterday with the old cache it did
not create an icon, and did not prompt me.
I think the problem here, is one common to
developers, in that web start seems to be a little
too aggressive at remembering earlier installations
and settings.
Even uninsalling the app. does not seem to
clear everything.
If the first example above works for you, I suggest
you try changing the cache location*, and try again.
* Start | Settings | Control Panel | Java
General (tab) | Temporary Internet Files (bordered region)
Settings (button) | Location (br) | Change (button)
# 3
Is your app signed ?
If so, JDK 6 will do what the app wants, w/o an additional prompt. the information about shortcut creation is in the more info page of the certificate dialog. (reasoning is that a signed app can do anything it wants, including creating shortcuts) UI desire is not to prompt user multiple times when starting up (shortcut and association dialogs are also combined).
/Andy