Dr.Web Updater Command-Line Parameters

Common options

Parameter

Description

-h [ --help ]

Show a short help message on how to use the program.

-v [ --verbosity ] arg

Log level. Can be one of following: error (standard), info (extended), debug.

-d [ --data-dir ] arg

Folder where repository and settings are located.

--log-dir arg

Folder for storing the log file.

--log-file arg (=dwupdater.log)

Log file name.

-r [ --repo-dir ] arg

Repository folder (<data_dir>/repo by default).

-t [ --trace ]

Enable tracing.

-c [ --command ] arg (=update)

Command to execute: getversions, getcomponents, init, update, uninstall, exec, keyupdate, and download.

-z [ --zone ] arg

Zones that are to be used instead of those specified in the configuration file.

init command parameters

Parameter

Description

-s [ --version ] arg

Version number.

-p [ --product ] arg

Product name.

-a [ --path ] arg

Product directory path. This folder will be used as the default directory for all components included in the product. Dr.Web Updater will search for a key file in this directory.

-n [ --component ] arg

Component name and installation folder. <name>, <install path>.

-u [ --user ] arg

Username for proxy server.

-k [ --password ] arg

Password for proxy server.

-g [ --proxy ] arg

Proxy server for updating. <Address>:<port>.

-e [ --exclude ] arg

Component name that will be excluded from the product during installation.

update command parameters

Parameter

Description

-p [ --product ] arg

Product name. If specified, only this product will be updated. If neither a product nor certain components are specified, all products will be updated. If certain components are specified, only they will be updated.

-n [ --component ] arg

Components that are to be updated to the specified version.
<Name>, <target revision>.

-x [ --selfrestart ] arg (=yes)

Reboot after an update of Dr.Web Updater. Default value is yes. If the value is set to no, notification that reboot is required will appear.

--geo-update

Get the list of IP addresses from update.drweb.com before updating.

--type arg (=normal)

Can be one of the following:

Reset-all—forced update of all components

Reset-failed—reset revision for damaged components

Normal-failed—try to update all components including damaged from the current revision to the newest or specified

Update-revision—try to update all components of the current revision to the newest if exists

Normal—update all components

-g [ --proxy ] arg

Proxy server for updating. <Address>:<port>.

-u [ --user ] arg

Username for proxy server.

-k [ --password ] arg

Password for proxy server.

--param arg

Pass additional parameters to the script.
<Name>: <value>.

-l [ --progress-to-console ]

Print information about downloading and script execution to the console.

Getcomponents command parameters

Parameter

Description

-s [ --version ] arg

Version number.

-p [ --product ] arg

Specify the product to get the list of components that are included in this product. If the product is not specified, all components of this version will be listed.

getrevisions command parameters

Parameter

Description

-s [ --version ] arg

Version number.

-n [ --component ] arg

Component name.

uninstall command parameters

Parameter

Description

-n [ --component ] arg

Name of the component that is to be uninstalled.

-l [ --progress-to-console ]

Print information about command execution to the console.

--param arg

Pass additional parameters to the script.
<Name>: <value>.

-e [ --add-to-exclude ]

Components to be deleted. Update of this components will not be performed.

keyupdate command parameters

Parameter

Description

-m [ --md5 ] arg

MD5 hash of the previous key file.

-o [ --output ] arg

Output file name to store new key.

-b [ --backup ]

Backup of an old key file if exists.

-g [ --proxy ] arg

Proxy server for updating. <Address>:<port>.

-u [ --user ] arg

Username for proxy server.

-k [ --password ] arg

Password for proxy server.

-l [ --progress-to-console ]

Print information about downloading of the key file to the console.

download command parameters

Parameter

Description

--zones arg

Zone description file.

--key-dir arg

Folder where the key file is located.

-l [ --progress-to-console ]

Print information about command execution to the console.

-g [ --proxy ] arg

Proxy server for updating. <Address>:<port>.

-u [ --user ] arg

Username for proxy server.

-k [ --password ] arg

Password for proxy server.

-s [ --version ] arg

Version name.

-p [ --product ] arg

Name of the product to download.