5. Generic settings in the answer file
The answers file, called memoQSilentSetup.ini, contains parameters in the INI file format to control the silent installation process. The sample file provided in this document contains extensive comments.
The generic installation options are listed in the [InstallationOptions] section of the answer file. In this section, you can specify the following three parameters:
InstallMode=Install | InstallIfNotInstalled | Remove | InstallMultiUser
This parameter specifies what the silent-mode installer should do. The possible values are the following:
Install: Always installs memoQ, even if an installation is detected on the computer
InstallIfNotInstalled: If an installation is detected, quits without any change to the system; otherwise, memoQ will be installed
Remove: Uninstalls memoQ if an installation is detected
InstallMultiUser: Always installs memoQ in multi-user deployment mode, even if an installation is detected on the computer. For more information, see the document ‘Installing memoQ on a terminal server’, available in the Resource Center from the Kilgray website.
If the installation is not performed, the silent-mode installer does not attempt to store a serial number or update licenses. In the InstallIfNotInstalled mode, the core memoQ setup program is not needed (if memoQ is already installed).
For Remove, the core memoQ setup program is not needed either.
If the InstallMode parameter is missing, or has an invalid value, the silent-mode installer proceeds as if Install were specified.
If this is specified, the silent installer will attempt to create a log file in the specified folder. The default is the root folder in the C: drive (C:\). It might be recommended to create the logs in a different folder because write access to C:\ might be restricted. You cannot use environment variables in this folder path. The name of the log file will be "memoQSilentSetup-YYYY-MM-DD!HH.MM.SS.log" where YYYY-MM-DD!HH.MM.SS is a full timestamp, namely, a date and a time from years to seconds.
Note: If you start the silent-mode installer from a command prompt, it will write the contents of the log into the command prompt window as well.
ProgramFolder=<absolute path and name of folder where memoQ program files go>
This is the local folder on the target computer for memoQ’s program files; if not specified, the default is used, which is C:\Program Files (x86)\Kilgray\memoQx.x or C:\Program Files\memoQ\memoQ-x.x. The (x86) folder is preserved for compatibility reasons.
These three options are enough if you are using the silent-mode installer to install the program on a single computer (or even multiple computers), but you do not want to activate memoQ on the computers. If the answer file does not contain more settings, the silent-mode installer will not attempt to activate memoQ after installation. Instead, memoQ will start with the regular activation procedure when the users first start it.