cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Logging An InstallScript MSI Project

Logging An InstallScript MSI Project

Summary

This article discusses how to log an InstallScript MSI project

Synopsis

To generate a log file that records the execution of an installation package generated with an InstallScript MSI project, execute the setup.exe at the command line using the /Verbose switch. The log file can be used to diagnose the cause of failure or unexpected behavior in an installation.


Discussion

An installation package created with an InstallScript MSI project can be logged using the following command line:
Setup.exe /Verbose"C:\place for logs\package.log"
Note: the entire directory path of the log file name specified in the command line must preexist before the command is executed, as the directories will not be created automatically by the logging mechanism.

Related Documents

Setup.exe and Update.exe Command-Line Parameters


Related KB Articles

Logging an MSI Installation

Additional Information

For more information on logging, see these Microsoft articles:

  • 314852 How to Enable Windows Installer Logging in Windows XP
  • 223300 How to Enable Windows Installer Logging
Labels (1)
No ratings
Version history
Last update:
‎Nov 28, 2007 07:55 PM
Updated by: