C# Class WixSharp.QtCmdLineAction

Defines WiX QtExecCmdLineAction CustomAction.

QtCmdLineAction executes specified application with optional arguments. You do not have to specify full path to the application to be executed as long as its directory is well-known (e.g. listed in system environment variable PATH) on the target system.

QtCmdLineAction often needs to be executed with the elevated privileges. Thus after instantiation it will have Action.Impersonate set to false and Action.Execute set to Execute.deferred to allow elevating.
Inheritance: Action
ファイルを表示 Open project: Eun/WixSharp

Public Properties

Property Type Description
AppPath string
Args string

Public Methods

Method Description
QtCmdLineAction ( Id id, string appPath, string args )

Executes a new instance of the QtCmdLineAction class with properties/fields initialized with specified parameters.

QtCmdLineAction ( Id id, string appPath, string args, Return returnType, When when, Step step, Condition condition )

Executes a new instance of the QtCmdLineAction class with properties/fields initialized with specified parameters.

QtCmdLineAction ( Id id, string appPath, string args, Return returnType, When when, Step step, Condition condition, WixSharp.Sequence sequence )

Executes a new instance of the QtCmdLineAction class with properties/fields initialized with specified parameters.

QtCmdLineAction ( string appPath, string args )

Executes a new instance of the QtCmdLineAction class with properties/fields initialized with specified parameters.

QtCmdLineAction ( string appPath, string args, Return returnType, When when, Step step, Condition condition )

Executes a new instance of the QtCmdLineAction class with properties/fields initialized with specified parameters.

QtCmdLineAction ( string appPath, string args, Return returnType, When when, Step step, Condition condition, WixSharp.Sequence sequence )

Executes a new instance of the QtCmdLineAction class with properties/fields initialized with specified parameters.

Method Details

QtCmdLineAction() public method

Executes a new instance of the QtCmdLineAction class with properties/fields initialized with specified parameters.
public QtCmdLineAction ( Id id, string appPath, string args )
id Id The explicit to be associated with instance.
appPath string Path to the application to be executed. This can be a file name only if the location of the application is well-known.
args string The arguments to be passed to the application during the execution.

QtCmdLineAction() public method

Executes a new instance of the QtCmdLineAction class with properties/fields initialized with specified parameters.
public QtCmdLineAction ( Id id, string appPath, string args, Return returnType, When when, Step step, Condition condition )
id Id The explicit to be associated with instance.
appPath string Path to the application to be executed. This can be a file name only if the location of the application is well-known.
args string The arguments to be passed to the application during the execution.
returnType Return The return type of the action.
when When the action should be executed with respect to the parameter.
step Step the action should be executed before/after during the installation.
condition Condition The launch condition for the .

QtCmdLineAction() public method

Executes a new instance of the QtCmdLineAction class with properties/fields initialized with specified parameters.
public QtCmdLineAction ( Id id, string appPath, string args, Return returnType, When when, Step step, Condition condition, WixSharp.Sequence sequence )
id Id The explicit to be associated with instance.
appPath string Path to the application to be executed. This can be a file name only if the location of the application is well-known.
args string The arguments to be passed to the application during the execution.
returnType Return The return type of the action.
when When the action should be executed with respect to the parameter.
step Step the action should be executed before/after during the installation.
condition Condition The launch condition for the .
sequence WixSharp.Sequence The MSI sequence the action belongs to.

QtCmdLineAction() public method

Executes a new instance of the QtCmdLineAction class with properties/fields initialized with specified parameters.
public QtCmdLineAction ( string appPath, string args )
appPath string Path to the application to be executed. This can be a file name only if the location of the application is well-known.
args string The arguments to be passed to the application during the execution.

QtCmdLineAction() public method

Executes a new instance of the QtCmdLineAction class with properties/fields initialized with specified parameters.
public QtCmdLineAction ( string appPath, string args, Return returnType, When when, Step step, Condition condition )
appPath string Path to the application to be executed. This can be a file name only if the location of the application is well-known.
args string The arguments to be passed to the application during the execution.
returnType Return The return type of the action.
when When the action should be executed with respect to the parameter.
step Step the action should be executed before/after during the installation.
condition Condition The launch condition for the .

QtCmdLineAction() public method

Executes a new instance of the QtCmdLineAction class with properties/fields initialized with specified parameters.
public QtCmdLineAction ( string appPath, string args, Return returnType, When when, Step step, Condition condition, WixSharp.Sequence sequence )
appPath string Path to the application to be executed. This can be a file name only if the location of the application is well-known.
args string The arguments to be passed to the application during the execution.
returnType Return The return type of the action.
when When the action should be executed with respect to the parameter.
step Step the action should be executed before/after during the installation.
condition Condition The launch condition for the .
sequence WixSharp.Sequence The MSI sequence the action belongs to.

Property Details

AppPath public_oe property

Path to the application to be executed. This can be a file name only if the location of the application is well-known.
public string AppPath
return string

Args public_oe property

The arguments to be passed to the application during the execution.
public string Args
return string