B1. Installation of Components

Installable components are specified in the components parameter. Valid values are:

none—to reset personal settings and restore inheritance from the primary group,

An integer that determines the state of installable components.

Components are installed with the use of bit flags. Each component can be in one of three states:

0—the component cannot be installed,

1—the component can be installed,

2—the component must be installed.

Calculation Method for the Components Value

Constants of installable components

Component

Constant

Value

Dr.Web Scanner for Windows

DRWEB32W

0x1

SpIDer Guard for Windows XP

SPIDERNT

0x4

SpIDer Mail for Windows workstations

SPIDERMAILHOME

0x8

SpIDer Guard for Windows servers

SPIDERNTSERVER

0x10

SpIDer Gate for Windows workstations

SPIDERGATE

0x20

Dr.Web Parental Control

DWPROT

0x40

Dr.Web Anti-spam

VADERETRO

0x80

Dr.Web for Microsoft Outlook

OUTLOOK

0x100

Dr.Web Firewall

FIREWALL

0x200

The components parameter value is the result of combining the values of one or multiple constants for the respective components by a bitwise OR.

Examples of setting multiple components with a state

The component cannot be installed state:

Components = DRWEB32W  | FIREWALL  | OUTLOOK

As a result: components = 769

The component can be installed state—shift the default value to the left by 0xA:

Components = ( DRWEB32W << 0xA ) |  ( FIREWALL << 0xA )  | (OUTLOOK << 0xA)

As a result: components = 787456

The component must be installed state—double-shift the default value to the left by 0xA:

Components = (( DRWEB32W << 0xA ) << 0xA ) |  ( ( FIREWALL << 0xA ) <<0xA )  | ((OUTLOOK << 0xA) << 0xA )

As a result: components = 806354944