Heres the command-line syntax:
Creating a log file with /l
Use the /l switch if you want to log general information about the installation to a log file with the specified path and filename.
You can specify one or more of the following parameters for the /l switch.
|I||Logs status messages|
|w||Logs non fatal warnings|
|e||Logs all error messages|
|a||Logs initiated actions|
|r||Logs action-specific records|
|u||Logs user requests|
|c||Logs initial user-interface parameters|
|m||Logs error messages about out-of-memory warnings or fatal exits|
|o||Logs error messages resulting from insufficient hard disk space|
|p||During installation to a server
Logs terminal properties
|v||Logs very detailed information|
|*||Applies all parameters except v, recording all information in a single log file|
Location and filename of log file
The /l switch can take an additional parameter: the location and filename of the log file. Type /l followed by a space; followed by an opening quotation mark, the path to the log fileclosing quotation mark. Heres the command-line syntax (where log_file is the location and filename of the log file):
\\server\path\Setup.exe /l "log_file "
The following sample command line uses the default parameters of the /l switch to log information in the file C:\install.txt during installation:
\\server\path\Setup.exe /l "C:\install.txt"
Using the /q switch with /l
You can use the /q and /l switches together. The following samplecommand line uses /q to suppress the user interface during installation and record errors in the specified log file:
\\server\path\Setup.exe /q /l "C:\Logs\My_Log.txt"
You can force a reboot after installation by using the /forcerestartswitch in your command line.
You can also suppress a reboot after installation by using the /norestart switch. Heres the command-line syntax:
Using public properties
To customize the installed software, you can use a variety of public properties in your command line.
Public properties are case-sensitive; they must be typed in capital letters, and they cannot contain spaces.
To use a public property in a command line, you must type the name of the public property in capital letters, followed directly by an equals sign ( = ), followed directly by the desired value.
Values are also case-sensitive, but they can contain both uppercase andlowercase letters. A value can be a text string (such as a feature name) or a number. If a value contains spaces, you must enclose it in quotation marks to ensure that it is read as a single unit.
PROPERTY="value containing spaces"