This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Knowledge Base
- :
- Properties Contained in MsiHiddenProperties have Their Value Written to the Log When Installation In...
Subscribe
- Mark as New
- Mark as Read
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
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 PrerequisiteSymptoms
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
- Create a prerequisite which takes a formatted property as a command line argument:
"PROPERTYFROMPARENT=[PSWDTEST]"
- Create a new BMSI project.
- General Information > Enable Windows Installer Logging.
- Add a Feature, Component, and a file to the project.
- Application Data > Redistributables > Select the prerequisite created in step 1 to be included.
- Associate the prerequisite with the Feature added in step 4.
- Behavior and Logic > Property Manager > Add the following properties:
PSWDTEST = DefaultPassword1
PSWDTEST2 = DefaultPassword2
MsiHiddenProperties = PSWDTEST;PSWDTEST2 - Add the following to the end of the value of SecureCustomProperties:
;PSWDTEST;PSWDTEST2
- Build the installer.
- Install product and prerequisite.
- 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.
No ratings