We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

geca
Posts: 1
Joined: Fri Apr 10, 2015 1:26 pm

MSI logging - override Debug policy?

I'd like to prevent passwords getting logged in my installer. I've set the properties to hidden, however they still get logged since the machine's Debug policy is set to 7. Is there maybe a way I can somehow override this setting by providing an additional commandline switch or something similar? Thanks.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: MSI logging - override Debug policy?

Hello and welcome to Advanced Installer forums,

I've tested your scenario when the system policy is set to "7". The password is not displayed in the log, as you can see below:

Code: Select all

MSI (c) (E0:FC) : Machine policy value 'Debug' is 7
[...]
Action 1:15:05: NewDialog. Dialog created
MSI (c) (E0:68) [01:15:08:110]: PROPERTY CHANGE: Adding EDIT_1_PROP property. Its value is '**********'.
As it states in the Debug article, when the Debug policy value is set to 7, this does not display properties associated with an Edit Control having the Password Control Attribute.

Please let me know if that helped, otherwise give us more details about your specific scenario.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”