Specifying Whether Windows Installer Installations Should Be Logged

InstallShield 2012 Spring

InstallShield enables you to specify on a project-wide basis whether Windows Installer 4.0 or later should log your installation. You can also customize the types of messages that are logged.

To specify project-wide logging information for Windows Installer 4.0 or later:

1. In the View List under Installation Information, click General Information.
2. Click the Create MSI Logs setting, and then click the ellipsis button (...). The Logging Options for Windows Installer 4.0 and Later dialog box opens.
3. Select the appropriate option. If you select the custom option, enter the MsiLogging value.

For a list of valid parameters for the MsiLogging value, see MsiLogging Property in the Windows Installer Help Library.

4. Click OK.

The results vary, depending on which option you select in the Logging Options for Windows Installer 4.0 and Later dialog box:

If you select No, installations are not logged. This is the default value.
If you select Yes, InstallShield populates the MsiLogging property with the default value of voicewarmupx. If the installation is run on a target system that has Windows Installer 4.0, the following occurs:
The installer creates a log file according to the default logging mode of voicewarmupx.
The installer populates the MsiLogFileLocation property with the log file's path.
A Show the Windows Installer log check box is added to the SetupCompleteSuccess, SetupCompleteError, and SetupInterrupted dialogs. If the end user selects that check box and then clicks Finish, the log file is opened in a text file viewer or editor.
If you select Custom, InstallShield populates the MsiLogging property with the value that you specify in the box. If the installation is run on a target system that has Windows Installer 4.0, the following occurs:
The installer creates a log file according to the custom value that you specified in the box.
The installer populates the MsiLogFileLocation property with the log file's path.
A Show the Windows Installer log check box is added to the SetupCompleteSuccess, SetupCompleteError, and SetupInterrupted dialogs. If the end user selects that check box and then clicks Finish, the log file is opened in a text file viewer or editor.

Earlier versions of Windows Installer ignore the MsiLogging setting. The Show the Windows Installer log check box is not visible in run-time dialogs that are displayed on systems running earlier versions of Windows Installer.

Important: The MsiLogFileLocation property is read-only; it cannot be used to set or change the log file location.

See Also