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
Показать файл Открыть проект Примеры использования класса

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

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