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
파일 보기 프로젝트 열기: Eun/WixSharp

공개 프로퍼티들

프로퍼티 타입 설명
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