1
votes

I want to be able to hide a particular entry from displaying in the Inno Setup log file (i.e. I do not want a particular command to be visible in the log file). Is there any way of selectively telling a particular command in the [Run] section not to be logged?

1
Why do you want to do that?Lasse V. Karlsen
Perhaps write a wee utility to [run] postinstallAlex K.
So as not to expose a password being passed to another executable in the [Run] section. I have logging switched off by default, but anyone could easily switch it on again using the /log switch.Robert Wigley
This should improved, IMHO. I can think of another issue about logging password passed through the setup's command line.TLama
Yes, that would also be an issue.Robert Wigley

1 Answers

2
votes

No. Logging is hardcoded in Inno Setup with no explicit way to skip certain entries at this time. You can read this here in the source code (notice, there's no condition nor parameter that would be passed to the Log function so it would be able to skip the entry to be logged later on).