Determining Whether a Silent Install Was Successful
SummaryWays to check for errors and determine if a silent installation was successful
SynopsisWhen an installation runs in silent mode, there is no user interaction. As a result, no output is displayed to the end user notifying them whether or not an error or warning has occurred during the installation. This article provides a way to help you determine whether a silent installation was successful or not.
If your installer includes an uninstaller, then you should be able to look in the uninstaller's directory for the installvariables.properties file. This clear-text file contains a list of the variables in your installer and their values at end of installation. This list includes the variable INSTALL_SUCCESS.
$INSTALL_SUCCESS$ is a built-in InstallAnywhere variable with four possible values:
If you do not include an uninstaller with your installation, you can add an action that outputs $INSTALL_SUCCESS$ to a text file, registry, etc. at the end of the Post-Install phase. Please keep in mind that if an error happened to occur after this action, the outputted value of $INSTALL_SUCCESS$ will not be updated to reflect the error status.
Standard Installation Log
To determine the exact error or warning, as well as further debugging information, the installation log with verbose debug output would need to be generated. The steps to turn on logging with verbose debug output are outlined in the following article: Generating InstallAnywhere Log for Install, Uninstall, and Build in InstallAnywhere 2011 And Later
You can also find a list of installer exit codes in the following HelpNet article: Installer Exit Codes
Additional InformationFor additional information on Silent installers, refer to the following Knowledge Base articles:
Running an Installer Silently
Silent Installation Behavior
How to Create Response File to Be Used as Silent Install