C# Class WixSharp.ExeFileShortcut

Defines ExeFileShortcut to be installed.

ExeFileShortcut is a specialized version of the Shortcut designed for using Shortcut as a Dir nested element

There are different ways of defining shortcuts of the Wix# project:

- It can be specified as a nested element of the File. In this case after the installation the shortcut will point to the file it belongs to.

- Alternatively the Shortcut can be specified as a Dir nested element. In this case after the installation the shortcut will point to the file it belongs to.

Inheritance: Shortcut
ファイルを表示 Open project: Eun/WixSharp

Public Methods

Method Description
ExeFileShortcut ( )

Initializes a new instance of the ExeFileShortcut class.

ExeFileShortcut ( Feature feature, string name, string target, string arguments )

Initializes a new instance of the ExeFileShortcut class with properties/fields initialized with specified parameters.

This constructor should be used to instantiate shortcuts which belong to the Dir element.

The shortcut will be installed in the directory defined by the parent Dir element.

ExeFileShortcut ( Id id, Feature feature, string name, string target, string arguments )

Initializes a new instance of the ExeFileShortcut class with properties/fields initialized with specified parameters.

This constructor should be used to instantiate shortcuts which belong to the Dir element.

The shortcut will be installed in the directory defined by the parent Dir element

ExeFileShortcut ( Id id, string name, string target, string arguments )

Initializes a new instance of the ExeFileShortcut class with properties/fields initialized with specified parameters.

This constructor should be used to instantiate shortcuts which belong to the Dir element.

The shortcut will be installed in the directory defined by the parent Dir element.

ExeFileShortcut ( string name, string target, string arguments )

Initializes a new instance of the ExeFileShortcut class with properties/fields initialized with specified parameters.

This constructor should be used to instantiate shortcuts which belong to the Dir element.

The shortcut will be installed in the directory defined by the parent Dir element.

Method Details

ExeFileShortcut() public method

Initializes a new instance of the ExeFileShortcut class.
public ExeFileShortcut ( )

ExeFileShortcut() public method

Initializes a new instance of the ExeFileShortcut class with properties/fields initialized with specified parameters.

This constructor should be used to instantiate shortcuts which belong to the Dir element.

The shortcut will be installed in the directory defined by the parent Dir element.

public ExeFileShortcut ( Feature feature, string name, string target, string arguments )
feature Feature the shortcut should be included in.
name string The name of the shortcut to be installed.
target string The path to the executable the shortcut is associated with.
arguments string The shortcut arguments.

ExeFileShortcut() public method

Initializes a new instance of the ExeFileShortcut class with properties/fields initialized with specified parameters.

This constructor should be used to instantiate shortcuts which belong to the Dir element.

The shortcut will be installed in the directory defined by the parent Dir element

public ExeFileShortcut ( Id id, Feature feature, string name, string target, string arguments )
id Id The explicit to be associated with instance.
feature Feature the shortcut should be included in.
name string The name of the shortcut to be installed.
target string The path to the executable the shortcut is associated with.
arguments string The shortcut arguments.

ExeFileShortcut() public method

Initializes a new instance of the ExeFileShortcut class with properties/fields initialized with specified parameters.

This constructor should be used to instantiate shortcuts which belong to the Dir element.

The shortcut will be installed in the directory defined by the parent Dir element.

public ExeFileShortcut ( Id id, string name, string target, string arguments )
id Id The explicit to be associated with instance.
name string The name of the shortcut to be installed.
target string The path to the executable the shortcut is associated with.
arguments string The shortcut arguments.

ExeFileShortcut() public method

Initializes a new instance of the ExeFileShortcut class with properties/fields initialized with specified parameters.

This constructor should be used to instantiate shortcuts which belong to the Dir element.

The shortcut will be installed in the directory defined by the parent Dir element.

public ExeFileShortcut ( string name, string target, string arguments )
name string The name of the shortcut to be installed.
target string The path to the executable the shortcut is associated with.
arguments string The shortcut arguments.