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?

[549 byte] By [sinclair2ka] at [2007-11-27 7:04:04]
# 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)

AndrewThompson64a at 2007-7-12 18:55:21 > top of Java-index,Desktop,Deploying...
# 2
I've seen it make the shortcut without prompting with the same JNLP format as you. So "uninstall" doesn't remove everything it remembered I ok-ed the shortcut in an earlier installation.
javaunixsolarisa at 2007-7-12 18:55:21 > top of Java-index,Desktop,Deploying...
# 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

dietz333a at 2007-7-12 18:55:21 > top of Java-index,Desktop,Deploying...
# 4
Thank's for replies!Found the source of my problem. My Application is signed and JNLP contains this:<security><all-permissions/></security>This allows to my application install shortcuts without user confirmation.
sinclair2ka at 2007-7-12 18:55:21 > top of Java-index,Desktop,Deploying...