C# Class WixSharp.RegValue

Defines registry value to be installed.
Inheritance: WixEntity
Show file Open project: Eun/WixSharp Class Usage Examples

Public Properties

Property Type Description
Condition Condition
Feature Feature
ForceCreateOnInstall bool
ForceDeleteOnUninstall bool
Key string
RegistryKeyAction RegistryKeyAction
Root RegistryHive
Value object
Win64 bool

Private Properties

Property Type Description

Public Methods

Method Description
RegValue ( ) : System

Initializes a new instance of the RegValue class.

RegValue ( Feature feature, RegistryHive root, string key, string name, object value ) : System

Initializes a new instance of the RegValue class with properties initialized with specified parameters.

RegValue ( Id id, Feature feature, RegistryHive root, string key, string name, object value ) : System

Initializes a new instance of the RegValue class with properties initialized with specified parameters.

RegValue ( Id id, RegistryHive root, string key, string name, object value ) : System

Initializes a new instance of the RegValue class with properties initialized with specified parameters.

RegValue ( Id id, string key, string name, object value ) : System

Initializes a new instance of the RegValue class with properties initialized with specified parameters.

RegValue ( RegistryHive root, string key, string name, object value ) : System

Initializes a new instance of the RegValue class with properties initialized with specified parameters.

RegValue ( string key, string name, object value ) : System

Initializes a new instance of the RegValue class with properties initialized with specified parameters.

Method Details

RegValue() public method

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

RegValue() public method

Initializes a new instance of the RegValue class with properties initialized with specified parameters.
public RegValue ( Feature feature, RegistryHive root, string key, string name, object value ) : System
feature Feature the registry value should be included in.
root RegistryHive The registry hive name.
key string The registry key name.
name string The registry entry name.
value object The registry entry value.
return System

RegValue() public method

Initializes a new instance of the RegValue class with properties initialized with specified parameters.
public RegValue ( Id id, Feature feature, RegistryHive root, string key, string name, object value ) : System
id Id The explicit to be associated with instance.
feature Feature the registry value should be included in.
root RegistryHive The registry hive name.
key string The registry key name.
name string The registry entry name.
value object The registry entry value.
return System

RegValue() public method

Initializes a new instance of the RegValue class with properties initialized with specified parameters.
public RegValue ( Id id, RegistryHive root, string key, string name, object value ) : System
id Id The explicit to be associated with instance.
root RegistryHive The registry hive name.
key string The registry key name.
name string The registry entry name.
value object The registry entry value.
return System

RegValue() public method

Initializes a new instance of the RegValue class with properties initialized with specified parameters.
public RegValue ( Id id, string key, string name, object value ) : System
id Id The explicit to be associated with instance.
key string The registry key name.
name string The registry entry name.
value object The registry entry value.
return System

RegValue() public method

Initializes a new instance of the RegValue class with properties initialized with specified parameters.
public RegValue ( RegistryHive root, string key, string name, object value ) : System
root RegistryHive The registry hive name.
key string The registry key name.
name string The registry entry name.
value object The registry entry value.
return System

RegValue() public method

Initializes a new instance of the RegValue class with properties initialized with specified parameters.
public RegValue ( string key, string name, object value ) : System
key string The registry key name.
name string The registry entry name.
value object The registry entry value.
return System

Property Details

Condition public property

Defines the installation Condition, which is to be checked during the installation to determine if the registry value should be created on the target system.
public Condition Condition
return Condition

Feature public property

the registry value belongs to.
public Feature,WixSharp Feature
return Feature

ForceCreateOnInstall public property

Set this to create an empty key, if absent, when the parent component is installed.
public bool ForceCreateOnInstall
return bool

ForceDeleteOnUninstall public property

Set this to remove the key with all its values and subkeys when the parent component is uninstalled.
public bool ForceDeleteOnUninstall
return bool

Key public property

The registry key name.

Default value is String.Empty

public string Key
return string

RegistryKeyAction public property

Set this to create an empty key, if absent, when the parent component is installed.
public RegistryKeyAction RegistryKeyAction
return RegistryKeyAction

Root public property

The registry hive name.

Default value is RegistryHive.CurrentUser

public RegistryHive Root
return RegistryHive

Value public property

The registry entry value.
public object Value
return object

Win64 public property

Facilitates the installation of packages that include both 32-bit and 64-bit components. Set this attribute to 'yes' to mark the corresponding RegValue as a 64-bit component.
public bool Win64
return bool