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
ファイルを表示 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_oe property

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

Arguments public_oe property

The shortcut arguments.
public string Arguments
return string

Condition public_oe 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_oe property

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

IconFile public_oe 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_oe property

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

Location public_oe 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_oe 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_oe 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