C# Class 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; }
Inheritance: ManagedAction
Mostrar archivo Open project: Eun/WixSharp Class Usage Examples

Public Methods

Method Description
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.

Method Details

ElevatedManagedAction() public method

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

ElevatedManagedAction() public method

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.
return System

ElevatedManagedAction() public method

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 .
return System

ElevatedManagedAction() public method

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.
return System

ElevatedManagedAction() public method

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.
return System

ElevatedManagedAction() public method

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 .
return System

ElevatedManagedAction() public method

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.
return System

ElevatedManagedAction() public method

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.
return System

ElevatedManagedAction() public method

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 .
return System

ElevatedManagedAction() public method

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.
return System

ElevatedManagedAction() public method

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.
return System

ElevatedManagedAction() public method

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 .
return System

ElevatedManagedAction() public method

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.
return System