Skip to content

Windows Silent Install

DBeaverDevOps edited this page Jun 19, 2024 · 9 revisions

Table of contents

Overview

It is possible to install/uninstall DBeaver in silent mode using the Windows Installer command line parameters.
This might be beneficial for mass install automation (SSCM and other similar systems).

Parameters

Command line parameters supported by DBeaver installer/uninstaller:

Parameter Description
/S Enables silent mode. Requires either /allusers or /currentuser. Case-sensitive.
/D=path Sets the installation directory. This parameter must be the last one used and is case-sensitive. No quotes needed.
/allusers Installs or uninstalls the software for all users. Case-insensitive.
/currentuser Installs or uninstalls the software for the current user only. Case-insensitive.

For install

To install DBeaver, navigate to the directory where the installer is located and append the desired parameters to the command:

For instance:

C:\Program Files\DBeaver> [parameters]

Note: To install with the /allusers parameter the current user must have the administrator's permission.

For uninstall

To uninstall DBeaver, use the Uninstaller.exe from the DBeaver directory with the required parameters:

For instance:

C:\Program Files\DBeaver>Uninstaller.exe [parameters]

Installer return codes

Code Meaning
0 normal execution (no error)
1 (un)installation aborted by user (Cancel button)
2 (un)installation aborted by script
666660 invalid command-line parameters
666661 elevation is not allowed by defines
666662 uninstaller detected there is no installed version
666663 executing uninstaller from the installer failed
666666 cannot start elevated instance
other Windows error code when trying to start elevated instance"

Installer was improved in DBeaver 5.3.3, special thanks to the NsisMultiUser team.

DBeaver Desktop Documentation

General User Guide

Database Management

DBeaver PRO

Databases support

Customizing DBeaver

Troubleshooting

Admin Guide

License management

Tutorials

Development

Clone this wiki locally