Preventing a Property Value from Being Written in Windows Installer Log Files

InstallShield 2024

Project: This information applies to the following project types:

Basic MSI
DIM
InstallScript MSI
Merge Module
MSI Database
MSM Database
Transform

By default, Windows Installer writes the final value of every Windows Installer property contained in your installation to a log file generated by launching MsiExec with the /L argument. Starting with Windows Installer version 2.0, you can prevent certain properties (such as those containing passwords) from being written in the log file.

To prevent a property from being written in the log file:

1. In the View List under Behavior and Logic, click Property Manager.
2. In the Name column, find the MsiHiddenProperties property.

If this property is not listed, click the New Property button to create this property, and in the Name column, enter MsiHiddenProperties.

3. In the Value column, enter the name of the property that you want to be hidden. To list more than one property, separate each with a semicolon (;).

For more information about this property, see MsiHiddenProperties in the Windows Installer Help Library.