In order to simplify the installation of Avira products in a network with several client computers for the system administrator, your Avira product offers a special procedure for initial and change installation.
For automatic installation, the setup program works with the control file setup.inf. The setup program (presetup.exe) is included in the installation package of the program.
The installation is started with a script or a batch file and receives all necessary information from the control file. The commands in the script replace the usual manual entries during installation.
With a login script on the server, Avira products can be conveniently distributed in the network.
- Download the installation file.
- Unzip the installation file.
A predefined setup.inf can be found in the "de-de" directory, which you can customize. (Alternatively, you can find a setup.inf in the appendix of this article, which can be customized).
- Automatically install Avira products in your network.
- Administrator rights are required (also required in batch mode)
- The parameters of the inf file must be configured and saved.
- Start the installation with the /inf parameter or include the parameter in the login script. The installation will run automatically.
Parameters of the setup.inf file
The target path where the program will be installed must be specified in the script. Make sure that the setup automatically includes company and product names.
You can use environment variables for this.
e.g. C:\Programs\Avira\AntiVir Desktop
A program group is created for all users of a computer within the Windows Start menu.
1: Create a program group
0: Do not create a program group
Creates a linked desktop icon for all users.
1: Create a desktop icon
0: Do not create a desktop icon
With this command, the shell extension logs into the registry. The shell extension can be used to scan files or directories for viruses and malware using the right mouse button context menu.
1: Login the shell extension
0: Do not login shell extension
The Guard installs the Avira Real-Time scanner (on-access scanner).
1: Install the Avira real-time scanner
0: Do not install Avira the Avira real-time scanner
The MailScanner installs the Avira Email Protection.
1: Install Avira Email Protection
0: Do not install Avira Email Protection
Example: MailScanner = 1
The KeyFile specifies the path of the license file that will be copied during installation.
For an initial installation: mandatory. The file name must be entered completely (fully qualified).
For a change installation: optional.
This parameter restarts the computer after the installation. This entry has a higher priority than ShowRestartMessage.
1: Restart the computer
0: Do not restart the computer
This displays an information before an automatic restart during setup.
1: Display information
0: Do not display information
It is not required for an initial installation.
The setup program detects whether an initial installation is being performed and determines the type of installation.
If an existing installation already exists, the setup mode must be used to specify whether it is an update, modification (reconfiguration) or uninstallation.
Update: Apply settings and update files (repair installation)
Modify: Install new program features using SETUP.INF, update files. (Change installation)
Remove: Uninstalls your Avira product from the system.
Specifies the destination path to the configuration file that might be copied during installation. The file name must be specified completely (fully qualified).
This option forwards to the setup routine the password that was set for the (modification) installation and uninstallation.
The entry is only checked by the setup routine if a password has been set. If the password parameter is missing or wrong, the setup routine will be aborted.
This will install the Avira Browser Protection.
1: Install Avira Browser Protection
0: Do not install Avira Browser Protection
This parameter installs the Avira Rootkits Protection module. Without Avira Rootkits Protection, the scanner cannot search for rootkits on the system!
1: Install Avira Rootkits Protection
0: Do not install Avira Rootkits Protection
This option enables you to install the Windows Firewall management feature. Starting with Windows Vista, the Windows Firewall is managed by the Avira product.
1: Install the Windows Firewall Management component.
0: Do not install the Windows Firewall management component.
You can set the following parameters in the [DATA] area of the setup.inf control file for the automatic installation of the Avira product. The sequence of the parameters is irrelevant.
If a parameter is missing or incorrectly set, the setup routine aborts with an error message.
A predefined configuration can also be specified during a silent installation. You receive this when you install and configure a system manually.
You will find the files on an already installed system under the following path:
Configuration file: C:\ProgramData\Avira\Antivirus\CONFIG\avwin.ini
License file: C:\Program Files (x86)\Avira\Antiv