Golden
Posts: 3
Joined: Tue Apr 25, 2017 2:14 pm

Hiding property value in log file

The property value (USER_PASSWORD) added to the "MsiHiddenProperties" and assigned the hide property is writing as plain text in the log file as below.

MSI (s) (10:7C) [15:01:05:803]: PROPERTY CHANGE: Adding MyCustomAction property. Its value is 'Key1=Value1 Key2="Value2" Key3="MyHiddenPropertyValue"'.

The "MyHiddenPropertyValue" should be written as "*********" instead it display the original value.

How to hide the property value in the log file?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Hiding property value in log file

Hello Golden and welcome to our forums,

Please check my reply from "Hidden properties logged in plain text when passed as CustomActionData" thread.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”