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

Properties Contained in MsiHiddenProperties have Their Value Written to the Log When Installation Includes a Feature Prerequisite

Properties Contained in MsiHiddenProperties have Their Value Written to the Log When Installation Includes a Feature Prerequisite

Summary

Properties contained in MsiHiddenProperties have their value written to the log when installation includes a Feature Prerequisite

Symptoms

When including a feature prerequisite that contains a password, the value gets written to the install log even if the property is included in MsiHiddenProperties.
The expected behavior is that the property value should not be written to the log file.

Cause

This is an issue that has been submitted to Engineering. It is expected InstallShield prohibits the value of properties contained in MsiHiddenProperties from being written to the log, including situations where the:
? Properties are used as arguments for a .NET installer class.
? Installation contains a feature prerequisite.

Steps To Reproduce

  1. Create a prerequisite which takes a formatted property as a command line argument:

    "PROPERTYFROMPARENT=[PSWDTEST]"

  2. Create a new BMSI project.
  3. General Information > Enable Windows Installer Logging.
  4. Add a Feature, Component, and a file to the project.
  5. Application Data > Redistributables > Select the prerequisite created in step 1 to be included.
  6. Associate the prerequisite with the Feature added in step 4.
  7. Behavior and Logic > Property Manager > Add the following properties:

    PSWDTEST = DefaultPassword1
    PSWDTEST2 = DefaultPassword2
    MsiHiddenProperties = PSWDTEST;PSWDTEST2

  8. Add the following to the end of the value of SecureCustomProperties:

    ;PSWDTEST;PSWDTEST2

  9. Build the installer.
  10. Install product and prerequisite.
  11. Open the log file and search for the value of PSWDTEST and PSWDTEST2 "DefaultPassword"

Resolution

The issue, IOJ-1754678, was reported to Engineering as a bug and was resolved in the InstallShield 2016 release.

Workaround

Add the prerequisite as a setup prerequisite rather than a feature prerequisite.

Additional Information

MSDN article on MsiHiddenProperties.
Was this article helpful? Yes No
No ratings
Version history
Revision #:
1 of 1
Last update:
‎Jul 18, 2018 07:51 PM
Updated by: