Command Line Operation of the Prerequisite Checker
You can run the prerequisite check silently by executing
runprereqchecks.exe /s from the \windows\PreReqChecker directory. After running the prerequisite check, an HTML file will be created in the %Temp% directory. The file is named omprereq.htm, and it contains the results of the prerequisite check. The Temp directory is not usually X:\Temp, but X:\Documents and Settings\username\Local Settings\Temp. To find %TEMP%, go to a command line prompt and type echo %TEMP%.
The results of the Prerequisite Checker are written to the registry for the Management Station under the registry key:
When running the Prerequisite Check silently, the return code from runprereqchecks.exe will be the number associated with the highest severity condition for all of the software products. The return code numbers are the same as those used in the registry. Table 10-1 details the codes that are returned.
Table 10-1.
Return Codes While Running the Prerequisite Check Silently
Return Code
Description
0
No condition, or conditions, is associated with the software.
1
An informational condition, or conditions, is associated with the software. It does not prevent a software product from being installed.
2
A warning condition, or conditions, is associated with the software. It is recommended that you resolve the conditions causing the warning before you proceed with the installation of the software.
3
An error condition, or conditions, is associated with the software. It is required that you resolve the conditions causing the error before proceeding with the installation of that software. If you do not resolve the issues, the software will not be installed.
-1
A Microsoft® Windows® Script Host (WSH) error. The Prerequisite Checker will not run.
-2
The operating system is not supported. The Prerequisite Checker will not run.
-3
The user does not have Administrator privileges. The Prerequisite Checker will not run.
-4
Not an implemented return code.
-5
The user failed to change the working directory to %TEMP%. The Prerequisite Checker will not run.
-6
The destination directory does not exist. The Prerequisite Checker will not run.
-7
An internal error has occurred. The Prerequisite Checker will not run.
-8
The software is already running. The Prerequisite Checker will not run.
-9
The Windows Script Host is corrupted, a wrong version, or not
installed. The Prerequisite Checker will not run.
-10
An error has occurred with the scripting environment. The Prerequisite Checker will not run.
Each software product has an associated value set after running the prerequisite check. Table 10-2 and Table 10-3 provide the list of feature IDs for each software feature. The feature ID is a 2- to 5-character designation.
Table 10-2. Feature IDs for the Management Station