Install Desktop Shortcut
Previous Topic  Next Topic 

This action installs a shortcut on the desktop of the target system depending on the system and desktop environments found.  On UNIX systems, this action looks for the existence of both KDE and Gnome and will install the shortcut on either or both desktops if available.


Note

If the user is root when they run the install, the shortcut will be added for all users on the system.  If they are not root, the shortcuts will only be added for the user doing the installation.


Technical Detail

UNIX shortcuts are installed using the xdg-icon-desktop utility from the xdg-utils package that is part of the portland project by freedesktop.org.



Supported Platforms

All



Standard Properties 

See Standard Action Properties.



Advanced Properties


Additional Arguments

This property contains any of a number of lines to be added to the UNIX desktop file after the standard properties that are setup by InstallJammer.  Each line will be substituted for virtual text and then appended to the desktop file without any further modification.


Command Line Arguments

This property specifies arguments to be passed to the target filename on the Windows platform.


Icon Path

This property specifies the file to use for the icon for this shortcut.  On Windows, this can be a .ico, .exe or any other file containing icon information.  On UNIX platforms, this usually points to a .png file to display.


Icon Path Index

The index into the file that Windows uses when looking for an icon.


Install for All Users

On Windows, if this option is true, the desktop shortcut will be installed for all users and not just the current user.


Shortcut Name

The name to display for the shortcut.


Shortcut Type

On UNIX, this specifies what type of shortcut this is.  It can be a shortcut to a URL Link, or a shortcut to an Application.


Target File Name

The name of the file this shortcut points to.  On a UNIX shortcut that has a type of Link, this is the URL to point to.


Working Directory

On Windows, this specifies the working directory that the target of this shortcut will start in.


Vendor ID

The Vendor ID is used to group all of the shortcuts and program folders together on UNIX platforms.  By default, everything is grouped by the Application ID of the current installer, but setting this to a common value would allow for all of the installers in your company to share program folders, for example.