nskris
Posts: 21
Joined: Fri Oct 26, 2018 3:32 pm

Donot show inline script contents in MSI log

Hi,

We have password generating logic written in inline powershell scripts of custom action. When MSI runs, this script is clearly visible in the log. This is not desirable. Can you please let me know if there is a way to not display the content of the script in the log?

regards,
Krishna
Catalin
Posts: 7845
Joined: Wed Jun 13, 2018 7:49 am

Re: Donot show inline script contents in MSI log

Hello Krishna,

I am afraid that is not possible.

As a workaround, you could try to use the "Run PowerShell Script From File" custom action.

Hope this helps.

Kind regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”