10. Diagnostics and logging
1. Silent installer log
If the LogFilePath parameter is present in the answer file, the silent installer creates a log file that contains details about the progress of the installation, and possible errors. The installation process will not fail if the silent-mode installer is unable to create, or write to, the log file. The name of the log file is always in the following format:
memoQSilentSetup-YYYY-MM-DD!HH.MM.SS.log,
where YYYY-MM-DD!HH.MM.SS is the date and time when the installation process started. Section 11.4 contains a sample log file.
2. InnoSetup log
The memoQ installer was created using the InnoSetup framework. This framework also creates its own log in the user’s temporary folder (the value of the %TEMP% environment variable). When no user is logged on to Windows, this folder is C:\Windows\Temp. The name of this log file is always in the following format:
Setup Log YYYY-MM-DD #NNN.txt,
where YYYY-MM-DD is the date of the installation, and #NNN is a number that grows from 001 in increments of 1.
3. Failure, partial success and success
The silent-mode installer returns the following codes based on the outcome of the installation process. You can use these return codes if you invoke the silent-mode installer from an operating system script (a batch file or a PowerShell script).
All requested tasks have been completed successfully. memoQ is installed. If it was requested, the serial number has been stored. If it was requested, the licenses have been updated online and at least one license has been received.
Partial success. memoQ has been installed successfully, but the serial number may not have been stored, or the licenses may not have been updated successfully. The reason for the license update failure can be a communication problem, or no licenses returned by the activation server.
Failure. The silent-mode installer failed to install memoQ.
4. Sample installation log file
[Info] Log file started
[Info] Finished reading memoQSetup.ini
[Info] Preparing for silent installation
[Info] Command line: D:\Development\MemoQ45B\_installers_\memoQSetup.4.5.53.exe /sp- /verysilent /suppressmsgboxes /nocancel /norestart /log
[Info] InnoSetup log will be placed at %TEMP%\Setup Log <date> #NNN.txt
[Info] InnoSetup completed with exit code 0
[Info] Finished silent installation
[Info] Storing serial
[Info] Command line: C:\Program Files (x86)\Kilgray\memoQ40\MemoQ.SilentActivationHelper.exe serial "KGXXA-ABCDE-ABCDE-ABCDE-001" "John Smith" "Kilgray"
[Info] Tool completed with exit code 0
[Info] Serial number stored
[Info] Activating online
[Info] Command line: C:\Program Files (x86)\Kilgray\memoQ40\MemoQ.SilentActivationHelper.exe activate
[Info] Tool completed with exit code 0
[Info] Successfully activated online
**********************************************************************************************
[SUMMARY] Silent installation completed successfully
**********************************************************************************************
Comments
0 comments
Please sign in to leave a comment.