C# Класс 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.
Наследование: Action
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
AppPath string
Args string

Открытые методы

Метод Описание
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.

Описание методов

QtCmdLineAction() публичный Метод

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() публичный Метод

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() публичный Метод

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() публичный Метод

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() публичный Метод

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() публичный Метод

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.

Описание свойств

AppPath публичное свойство

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
Результат string

Args публичное свойство

The arguments to be passed to the application during the execution.
public string Args
Результат string