Skip to main content

Java Webstart, multiple shortcuts per JNLP file

1 reply [Last post]
cowwoc
Offline
Joined: 2003-08-24
Points: 0

Hi,

I'd like to create a JNLP descriptor for my application such that upon installation two shortcuts will be added:

1) Shortcut to "my_application" on the desktop

2) Shortcut to "my_application -silent" in the OS startup folder.

Currently, there is no way to add two shortcuts per JNLP with different command-lines. I filed a RFE with Sun but was told there are no plans to add support for this in the future because you could simulate it by having two separate JNLP files.

I am looking for a Sun engineer to please suggest a workaround for this problem.

- I want to install both shortcuts using a single-click installation. The user should not have to run two separate installers per application.

- I need different command-lines for the desktop shortcut and startup shortcut because on bootup I want the application to start up silently (no popups) whereas if the application is run manually by the user, I pop up a window into the foreground.

How can I make this work?

Thank you,
Gili

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
cowwoc
Offline
Joined: 2003-08-24
Points: 0