Installing Veeam Agent for Microsoft Windows in Unattended Mode
You can install Veeam Agent for Microsoft Windows in the unattended mode using the command line interface. The unattended installation mode does not require user interaction — the installation runs automatically in the background, and you do not have to respond to the installation wizard prompts. You can use the unattended installation mode to automate the Veeam Agent installation process in large-scale environments.
Prerequisite Software
During the product installation, Veeam Agent for Microsoft Windows automatically sets up the following required prerequisite components:
- SQLite database engine
Veeam Agent for Microsoft Windows 6.2 uses SQLite database instead of Microsoft SQL Server 2012 Express LocalDB. If you install Veeam Agent 6.2 on a computer with an existing SQL Server database, migration to the new database will be performed during the upgrade of Veeam Agent. If necessary, you can skip migration to the new database. To learn more, see Installation Without Database Migration.
- Windows Universal C Runtime Library
Veeam Agent for Microsoft Windows also sets up Microsoft .NET Framework 4.5.2 if it does not detect this component on the computer during the product installation.
In some cases, installation of prerequisite software requires computer reboot. This can happen, for example, if you have an earlier version of a prerequisite component installed on the computer and during the installation process this component is used by third-party software.
In this situation, unattended setup will install Veeam Agent for Microsoft Windows but will not start the Veeam Agent for Microsoft Windows service. After you reboot the computer, the Veeam Agent for Microsoft Windows service will be started and Veeam Agent for Microsoft Windows will be fully functioning.
Installation
To install Veeam Agent for Microsoft Windows version 6.2, use a command with the following syntax:
<path_to_exe> /silent /accepteula /acceptthirdpartylicenses /acceptlicensingpolicy /acceptrequiredsoftware |
where <path_to_exe> — path to the Veeam Agent for Microsoft Windows installation file.
Veeam Agent for Microsoft Windows uses the following codes to report about the installation results:
- 1000 — Veeam Agent for Microsoft Windows has been successfully installed.
- 1001 — prerequisite components required for Veeam Agent for Microsoft Windows have been installed on the machine. Veeam Agent for Microsoft Windows has not been installed. The machine needs to be rebooted.
- 1002 — Veeam Agent for Microsoft Windows installation has failed.
- 1004 — migration to SQLite database has failed.
- 1101 — Veeam Agent for Microsoft Windows has been installed. The machine needs to be rebooted.
Installation Without Database Migration
If you do not want to migrate the existing SQL database during the installation of Veeam Agent, you can skip migration to the new database. In this case, you will need to create backup jobs from scratch.
To install Veeam Agent for Microsoft Windows version 6.2 and skip migration, use a command with the following syntax:
<path_to_exe> /silent /accepteula /acceptthirdpartylicenses /acceptlicensingpolicy /acceptrequiredsoftware /skipmigration |
To learn more about database migration, see Upgrading Veeam Agent for Microsoft Windows.