This section is used for creating profiles and defining default values.

Table 5–4Directives applicable in the "Customer Area" / [CustomerReg]

Directive

Comment

 

 

reg-root

Identifies the root of the registry tree for other values supplied in this entry. The value can be one of the

 

following:

 

 

HKCR

Abbreviation for HKEY_CLASSES_ROOT

 

 

HKCU

Abbreviation for HKEY_CURRENT_USER

 

 

HKLM

Abbreviation for HKEY_LOCAL_MACHINE

 

 

HKU

Abbreviation for HKEY_USERS

 

 

subkey

This optional value, formed either as a %strkey% token defined in a Strings section of the INF or as a

 

registry path under the given reg-root (key1\key2\key3…), specifies one of the following:

 

A new subkey to be added to the registry at the end of the given registry path.

 

An existing subkey in which the additional values specified in this entry will be written (possibly replacing

 

the value of an existing named value entry of the given subkey).

 

Both a new subkey to be added to the registry together with its initial value entry.

 

 

value-entry-name

This optional value either names an existing value entry in the given (existing) subkey or creates the

 

name of a new value entry to be added in the specified subkey, whether it already exists or is a new key

 

to be added to the registry. This value can be expressed either as "quoted string" or as a %strkey% token

 

that is defined in the INFs Strings section.

 

(If this is omitted for a string-type value, the value-entry-name is the default "unnamed" value entry for this

 

key.)

 

The operating system supports some system-defined special value-entry-name keywords. See the end of

 

this Comments section for more information.

 

 

flags

This optional hexadecimal value, expressed as an ORed bitmask of system-defined low word and high

 

word flag values, defines the data type for a value entry and/or controls the add-registry operation.

 

Bitmask values for each of these flags are as follows:

 

 

0x00000001

The given value is "raw" data. (This value is identical to the FLG_ADDREG_TYPE_BINARY.)

(FLG_ADDREG_BINVALUETYPE)

 

 

 

0x00000002

Prevent a given value from replacing the value of an existing value entry.

(FLG_ADDREG_NOCLOBBER)

 

 

 

0x00000004

Delete the given subkey from the registry, or delete the specified value-entry-name from the specified

(FLG_ADDREG_DELVAL)

registry subkey.

 

 

0x00000008

Append a given value to that of an existing named value entry. This flag is valid only if

(FLG_ADDREG_APPEND)

FLG_ADDREG_TYPE_MULTI_SZ is also set. The specified string value is not appended if it already

 

exists.

 

 

0x00000010

Create the given subkey, but ignore any supplied value-entry-name and/or value.

(FLG_ADDREG_KEYONLY)

 

 

 

0x00000020

Reset to the supplied value only if the specified value-entry-name already exists in the given subkey.

(FLG_ADDREG_OVERWRITEONLY)

 

 

 

0x00001000

(Windows XP and later.) Make the specified change in the 64-bit registry. If not specified, the change is

(FLG_ADDREG_64BITKEY)

made to the native registry.

 

 

0x00002000

(Windows XP and later.) This is the same as FLG_ADDREG_KEYONLY but also works in a

(FLG_ADDREG_KEYONLY_COMMON)

del-registry-section (see INF DelReg Directive).

 

 

0x00004000

(Windows XP and later.) Make the specified change in the 32-bit registry. If not specified, the change is

(FLG_ADDREG_32BITKEY)

made to the native registry.

 

 

0x00000000

The given value entry and/or value is of type REG_SZ. Note that this is the default type for a specified

(FLG_ADDREG_TYPE_SZ)

value entry, so the flags value can be omitted from any reg-root= line in an add-registry section that

 

operates on a value entry of this type.

 

 

0x00010000

The given value entry and/or value is of the registry type REG_MULTI_SZ. This specification does not

(FLG_ADDREG_TYPE_MULTI_SZ)

require any NULL terminator for a given string value.

 

 

0x00020000

The given value entry and/or value is of the registry type REG_EXPAND_SZ.

(FLG_ADDREG_TYPE_EXPAND_SZ)

 

 

 

0x00010001

The given value entry and/or value is of the registry type REG_DWORD.

(FLG_ADDREG_TYPE_DWORD)

 

 

 

0x00020001

The given value entry and/or value is of the registry type REG_NONE.

(FLG_ADDREG_TYPE_NONE)

 

 

 

76 Client Installation

Page 78
Image 78
Barracuda Networks VERSION SP4 Reg-root, Subkey, Value-entry-name, Flags, 0x00004000, 0x00000000, 0x00010000, 0x00020000