C# 클래스 WixSharp.ElevatedManagedAction

Defines WiX Managed CustomAction, which is to be run with elevated privileges (UAC).

Any CustomAction, which needs elevation must be run with Action.Impersonate set to false and Action.Execute set to Execute.deferred. Thus ElevatedManagedAction is a full equivalent of T:WixSharp.ManagedAction with appropriately adjusted Action.Execute and Action.Impersonate during the instantiation:

public ElevatedManagedAction() : base() { Impersonate = false; Execute = Execute.deferred; }
상속: ManagedAction
파일 보기 프로젝트 열기: Eun/WixSharp 1 사용 예제들

공개 메소드들

메소드 설명
ElevatedManagedAction ( ) : System

Initializes a new instance of the ElevatedManagedAction class.

ElevatedManagedAction ( Id id, string name ) : System

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

ElevatedManagedAction ( Id id, string name, Return returnType, When when, Step step, Condition condition ) : System

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

ElevatedManagedAction ( Id id, string name, Return returnType, When when, Step step, Condition condition, WixSharp.Sequence sequence ) : System

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

ElevatedManagedAction ( Id id, string name, string actionAssembly ) : System

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

ElevatedManagedAction ( Id id, string name, string actionAssembly, Return returnType, When when, Step step, Condition condition ) : System

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

ElevatedManagedAction ( Id id, string name, string actionAssembly, Return returnType, When when, Step step, Condition condition, WixSharp.Sequence sequence ) : System

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

ElevatedManagedAction ( string name ) : System

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

ElevatedManagedAction ( string name, Return returnType, When when, Step step, Condition condition ) : System

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

ElevatedManagedAction ( string name, Return returnType, When when, Step step, Condition condition, WixSharp.Sequence sequence ) : System

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

ElevatedManagedAction ( string name, string actionAssembly ) : System

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

ElevatedManagedAction ( string name, string actionAssembly, Return returnType, When when, Step step, Condition condition ) : System

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

ElevatedManagedAction ( string name, string actionAssembly, Return returnType, When when, Step step, Condition condition, WixSharp.Sequence sequence ) : System

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

메소드 상세

ElevatedManagedAction() 공개 메소드

Initializes a new instance of the ElevatedManagedAction class.
public ElevatedManagedAction ( ) : System
리턴 System

ElevatedManagedAction() 공개 메소드

Initializes a new instance of the ElevatedManagedAction class with properties/fields initialized with specified parameters.
public ElevatedManagedAction ( Id id, string name ) : System
id Id The explicit to be associated with instance.
name string Name of the CustomAction. The name should match the method implementing the custom action functionality.
리턴 System

ElevatedManagedAction() 공개 메소드

Initializes a new instance of the ElevatedManagedAction class with properties/fields initialized with specified parameters.
public ElevatedManagedAction ( Id id, string name, Return returnType, When when, Step step, Condition condition ) : System
id Id The explicit to be associated with instance.
name string Name of the CustomAction. The name should match the method implementing the custom action functionality.
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 .
리턴 System

ElevatedManagedAction() 공개 메소드

Initializes a new instance of the ElevatedManagedAction class with properties/fields initialized with specified parameters.
public ElevatedManagedAction ( Id id, string name, Return returnType, When when, Step step, Condition condition, WixSharp.Sequence sequence ) : System
id Id The explicit to be associated with instance.
name string Name of the CustomAction. The name should match the method implementing the custom action functionality.
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.
리턴 System

ElevatedManagedAction() 공개 메소드

Initializes a new instance of the ElevatedManagedAction class with properties/fields initialized with specified parameters.
public ElevatedManagedAction ( Id id, string name, string actionAssembly ) : System
id Id The explicit to be associated with instance.
name string Name of the CustomAction. The name should match the method implementing the custom action functionality.
actionAssembly string Path to the assembly containing the CustomAction implementation. Specify "%this%" if the assembly /// is in the Wix# script.
리턴 System

ElevatedManagedAction() 공개 메소드

Initializes a new instance of the ElevatedManagedAction class with properties/fields initialized with specified parameters.
public ElevatedManagedAction ( Id id, string name, string actionAssembly, Return returnType, When when, Step step, Condition condition ) : System
id Id The explicit to be associated with instance.
name string Name of the CustomAction. The name should match the method implementing the custom action functionality.
actionAssembly string Path to the assembly containing the CustomAction implementation. Specify "%this%" if the assembly /// is in the Wix# script.
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 .
리턴 System

ElevatedManagedAction() 공개 메소드

Initializes a new instance of the ElevatedManagedAction class with properties/fields initialized with specified parameters.
public ElevatedManagedAction ( Id id, string name, string actionAssembly, Return returnType, When when, Step step, Condition condition, WixSharp.Sequence sequence ) : System
id Id The explicit to be associated with instance.
name string Name of the CustomAction. The name should match the method implementing the custom action functionality.
actionAssembly string Path to the assembly containing the CustomAction implementation. Specify "%this%" if the assembly /// is in the Wix# script.
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.
리턴 System

ElevatedManagedAction() 공개 메소드

Initializes a new instance of the ElevatedManagedAction class with properties/fields initialized with specified parameters.
public ElevatedManagedAction ( string name ) : System
name string Name of the CustomAction. The name should match the method implementing the custom action functionality.
리턴 System

ElevatedManagedAction() 공개 메소드

Initializes a new instance of the ElevatedManagedAction class with properties/fields initialized with specified parameters.
public ElevatedManagedAction ( string name, Return returnType, When when, Step step, Condition condition ) : System
name string Name of the CustomAction. The name should match the method implementing the custom action functionality.
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 .
리턴 System

ElevatedManagedAction() 공개 메소드

Initializes a new instance of the ElevatedManagedAction class with properties/fields initialized with specified parameters.
public ElevatedManagedAction ( string name, Return returnType, When when, Step step, Condition condition, WixSharp.Sequence sequence ) : System
name string Name of the CustomAction. The name should match the method implementing the custom action functionality.
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.
리턴 System

ElevatedManagedAction() 공개 메소드

Initializes a new instance of the ElevatedManagedAction class with properties/fields initialized with specified parameters.
public ElevatedManagedAction ( string name, string actionAssembly ) : System
name string Name of the CustomAction. The name should match the method implementing the custom action functionality.
actionAssembly string Path to the assembly containing the CustomAction implementation. Specify "%this%" if the assembly /// is in the Wix# script.
리턴 System

ElevatedManagedAction() 공개 메소드

Initializes a new instance of the ElevatedManagedAction class with properties/fields initialized with specified parameters.
public ElevatedManagedAction ( string name, string actionAssembly, Return returnType, When when, Step step, Condition condition ) : System
name string Name of the CustomAction. The name should match the method implementing the custom action functionality.
actionAssembly string Path to the assembly containing the CustomAction implementation. Specify "%this%" if the assembly /// is in the Wix# script.
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 .
리턴 System

ElevatedManagedAction() 공개 메소드

Initializes a new instance of the ElevatedManagedAction class with properties/fields initialized with specified parameters.
public ElevatedManagedAction ( string name, string actionAssembly, Return returnType, When when, Step step, Condition condition, WixSharp.Sequence sequence ) : System
name string Name of the CustomAction. The name should match the method implementing the custom action functionality.
actionAssembly string Path to the assembly containing the CustomAction implementation. Specify "%this%" if the assembly /// is in the Wix# script.
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.
리턴 System