Export (0) Print
Expand All
Dos
Mem
Msg
Expand Minimize

To create an installation log file using the command line

  1. Open Command Prompt

  2. From the command window, type msiexec /i package [/L][i][w][e][a][r][u][c][m][p][v][+][!] log_file.txt, and then press ENTER.

    Where:

    package is the name of the Windows Installer package

    /L indicates to log information. The following flags specify which information to log:

    i - Status messages

    warning Warning

    e - All error messages

    a - Start up of actions

    r - Action-specific records

    u - User requests

    c - Initial user interface parameters

    m - Out-of-memory

    p - Terminal properties

    v - Verbose output

    + - Append to existing file

    ! - Flush each line to the log

    * - Wildcard: log all information except for the v option.

    log_file .txt - the name and path of the text log file.

Note

  • To open command prompt, click Start, point to All Programs, point to Accessories, and then click Command Prompt..

  • Windows Installer command-line switches are not case-sensitive.

  • To include the v option in a log file using the wildcard flag, type /L*v at the command prompt.

  • The Windows Installer log file options can also be used with the uninstall and repair processes.

  • For more information on the command-line options, see Related Topics.

Related Topics

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft