Parameters of the Uregdel.sxp Archive File

The following parameters apply to uregdel.sxp:

RFlag

Indicates a restore flag

default: 0x00000000

0x00000010

Reference counters are considered. At installation time, the reference counter for this key or value is decreased. The key/value is only deleted, if the reference counter is 0 or does not exist.
At uninstallation time, the reference counter for this key/value is increased (if it exists).

0x00000020

The value or key is saved on installation and restored on uninstallation.

Important! In case of a key just the key name is saved. Any subkeys or values will not be restored unless they are explicitly listed in the sregdel.sxp.

0x00000040

The value is only restored (using the value saved on installation), if it does not exist during uninstallation. This flag is only valid, if 0x00000020 is also set.

Flag

Indicates a delete flag

Root_key

Indicates the root key assigned by Windows.

The following root keys are permitted:

Key_n

Specifies the key, N or D, as follows:

N

Deletes key and subkeys if the key and the subkeys are empty.

D

Deletes key, all values in the key as well as the subkeys.
The specified key is deleted completely.

-

Key not deleted, it is just used to specify the following values.

Key

Specifies the key name in the form SubKey 1\...\SubKey n

Value_name_n

Specifies the delete action, N or X, as follows.

N

Deletes registry entry referred to by Value Name

X

Deletes the substring given through the Data parameter from the registry entry referred to by Value_name. This flag is only applicable to registry entries of type hex(7) and hex(96) to hex(99).

Value_name

Specifies the name of the value. The assignment of the default value for the key is pre-defined as follows:

@=data
Data

(Only valid if the delete action is specified as X.)

Specifies the type of data. The following types of data can be specified here:

multi string

hex(7): 2 hex characters,2 hex characters,...

multi string prepend

hex(94): The registry value must be expanded by the part specified in sreg.sxp. This part must come first. The source type of this registry value is REG_MULTI_SZ.

multi string append

hex(95): The registry value must be expanded by the part specified in sreg.sxp. This part must be appended. The source type of this registry value is REG_MULTI_SZ.

string append

hex(96): The registry value must be expanded by the part specified in sreg.sxp. This part must be appended. The values must be separated by a separator sign. The source type of this registry value is REG_SZ.

string prepend

hex(97): The registry value must be expanded by the part specified in sreg.sxp. This part must come first. The values must be separated by a separator sign. The source type of this registry value is REG_SZ.

expand string append

hex(98): The registry value must be expanded by the part specified in sreg.sxp. This part must be appended. The values must be separated by a separator sign. The source type of this registry value is REG_EXPAND_SZ.

expand string prepend

hex(99): The registry value must be expanded by the part specified in sreg.sxp. This part must come first. The values must be separated by a separator sign. The source type of this registry value is REG_EXPAND_SZ.

If the value relates to a number of consecutive lines, the previous line is terminated with the following character sequence: ,\

Hex character

Is a character with values 0 - F

Separator

Indicates a separator character for substrings

Createn

Specifies for which operating environment the product entries are valid. If the product is permitted for Windows NT/2000/XP, the following entry is generated as the default:

Create1=A

This entry specifies that the entries are valid for all users.

You can change or extend the Createn entries manually.

More information:

Structure of the Uregdel.sxp File

Example of Uregdel.sxp