Re: Netbeans installer source for desktop shortcuts?

Peter Hansson <[email protected]> Mon, 28 Aug 2017 21:20:01 +0200
Newsgroups gmane.comp.java.netbeans.devel
Message-ID <CAC55jYMV-WHUyYbGGwYFU1AntgzQA2wOyaHvaqwr-NtAd8J3Ow@mail.gmail.com>
The helper classes for this are in the so called NBI Engine. Have a look in

nbi/engine/src/org/netbeans/installer/utils/SystemUtils.java.

(method createShortcut.java ... and then take it from there)


For usage example, have a look at:

libs.nbi.ant/stub/ext\components\products\helloworld\src\org\mycompany\ConfigurationLogic.java


(despite the name 'helloworld' this is actually the source code which
is used when you generate an Installer for your NB Platform
application)


/Peter

On Mon, Aug 28, 2017 at 5:56 PM, Alex O'Ree <[email protected]> wrote:
> Hi everyone. I were looking for inspiration on how netbeans creates
> desktop/start menu/lanuch icons on the various operating systems,
> where would I look in the source?
>
> Thanks!