RoundOutTooSoon
RoundOutTooSoon

Reputation: 9891

JNLP file: not to create desktop shortcut

In our webstart JNLP file, I have removed the shortcut and desktop tag, but when installing the webstart app, it still prompts me if I want to create a desktop shortcut.

So in the information tag it looks like this:

<information>
    <title>Dynamic Tree Demo</title>
    <vendor>Dynamic Team</vendor>
    <icon href="sometree-icon.jpg"/>
</information>

Is there any way to do this?

Upvotes: 1

Views: 1498

Answers (1)

Andrew Thompson
Andrew Thompson

Reputation: 168825

Your best bet is to add query params to the href e.g. if the current value is the.jnlp, make it the.jnlp?a=b. The JWS client will presume it is generated dynamically and will generally not create a desktop shortcut.

I say 'generally' since it is really up to the JWS client & how it is configured.

Upvotes: 1

Related Questions