B1. Installing Components

Installing components are specified in the components parameter. Available values are:

none—to reset custom settings and restore inheritance from the primary group.

An integer that determines the state of installing components.

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

0—the component cannot be installed

1—the component can be installed,

2—the component must be installed.

Components value calculation method

Constants of installing 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 Office 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 status

Status The component cannot be installed:

Components = DRWEB32W  | FIREWALL  | OUTLOOK

As a result: components = 769

The component can be installed—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—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