C# Class WixSharp.Shortcut

Defines shortcut to be installed. Shortcut is not supposed to be instantiated directly. Derivative class constructors should be used instead (e.g. FileShortcut, ExeFileShortcut).
Inheritance: WixEntity
Show file Open project: Eun/WixSharp Class Usage Examples

Public Properties

Property Type Description
Advertise bool
Arguments string
Condition Condition
Feature Feature
IconFile string
IconIndex int
Location string
Target string
WorkingDirectory string

Protected Methods

Method Description
Shortcut ( ) : System.Xml.Linq

Initializes a new instance of the Shortcut class.

Method Details

Shortcut() protected method

Initializes a new instance of the Shortcut class.
protected Shortcut ( ) : System.Xml.Linq
return System.Xml.Linq

Property Details

Advertise public property

Whether this shortcut is to be advertised. The default is false.
public bool Advertise
return bool

Arguments public property

The shortcut arguments.
public string Arguments
return string

Condition public property

Defines the launch Condition which is to be checked during the installation to determine if the shortcut should be installed.
public Condition,WixSharp Condition
return Condition

Feature public property

the shortcut belongs to.
public Feature,WixSharp Feature
return Feature

IconFile public property

Defines icon file for the shortcut. Relative or absolute path to the source file containing icons (exe, dll or ico).
public string IconFile
return string

IconIndex public property

The zero-based index of the icon associated with this ProgId. The default value is 0.
public int IconIndex
return int

Location public property

The directory where the shortcut should be installed.

This value is a processed only for shortcuts which belong to the File element.

public string Location
return string

Target public property

The path to the executable the shortcut is associated with.

This value is a processed only for shortcuts which belong to the Dir element.

public string Target
return string

WorkingDirectory public property

"Working Directory" for the shortcut to be installed. If WorkingDirectory is not specified it will be set in the installed shortcut to the location of the file the shortcut points to.
public string WorkingDirectory
return string