Create an installation log file using the command line

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To create an installation log file using the command line

  1. Open Command Prompt.

  2. Type:

    msiexec /i package**/L** [i][w][e][a][r][u][c][m][p][v][+][!][*] LogFile**.txt**

    Value Description


    Installs a product.


    Specifies the name of the Windows Installer package.


    Indicates to log information.


    Logs status messages.


    Logs nonfatal warnings.


    Logs all error messages.


    Logs start up of actions.


    Logs action-specific records.


    Logs user requests.


    Logs initial user interface parameters.




    Logs Terminal properties.


    Specifies verbose output.


    Appends log to the existing file.


    Flushes each line to the log.


    Wildcard. Logs all information except for the v command-line option.


    Specifies the name and path of the text log file.


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

  • Windows Installer command-line options are not case-sensitive. For more information about msiexec command-line options, see Related Topics.

  • 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.

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also


Msiexec (command-line options)
Advertise a package using the command line