6. Activating memoQ automatically using the answer file
There are several settings in the answer file that control how the silent-mode installer should automatically activate memoQ after the program files are installed. First and foremost, the [InstallationOptions] section of the answer file must contain the following parameter:
You need to include this option to automatically activate memoQ. If AutoActivate is set to yes, the answer file must contain either a single serial number (if only one computer needs to be activated), or a list of serial numbers (if you are activating multiple computers). The following sections describe how.
1. Automatic activation on a single computer
To activate memoQ on a single computer, you need to specify one serial number, a licensee name, and an organization name in the [InstallationOptions] section of the answer file:
This is the serial number to use. You must include the extension to the serial number; otherwise, the silent-mode installer will not be able to activate memoQ automatically.
If you are activating memoQ on a single computer, and you use the SerialNumber parameter to specify the serial number for activation, you need to fill in these keys as well.
2. Automatic activation on multiple computers
To activate memoQ on multiple computers using the silent-mode installer, you need a serial number for each computer. In addition, you also need an identifier for each computer, so that the silent-mode installer can determine which computer it is running on, and select the correct serial number according to that.
The most obvious identifier is the name of the computer, which must be unique within the same local-area network (LAN), but, through the answer file, you can use any Windows environment variable.
First, tell the silent-mode installer how it should identify the computer. Include the following option in the [InstallationOptions] section of the answer file:
You can use any other environment variable that identifies the computer (if there is one). However, it is highly recommended to use the computer name (the %COMPUTERNAME% environment variable) in this parameter.
Second, you need to include the serial number for each computer in the [SerialNumbers] section of the answer file, in the following form:
Note: You do not have to use the same serial number with different extensions. You can use completely different serial numbers as well.
If the current computer name is not listed in the [SerialNumbers] section, the silent-mode installer checks if the SerialNumber parameter is there in the [InstallationOptions] section. If it is, the silent-mode installer will attempt to activate memoQ using that serial number.