Inno Setup 隐藏一个日志条目

Inno Setup hide a Log entry

我希望能够隐藏特定条目,使其不显示在 Inno Setup 日志文件中(即,我不希望特定命令在日志文件中可见)。有没有什么方法可以选择性地告诉 [运行] 部分中的特定命令不被记录?

没有。日志记录在 Inno Setup 中被硬编码,此时没有明确的方法来跳过某些条目。您可以 read this here in the source code (notice, there's no condition nor parameter that would be passed to the Log 函数,这样它就可以跳过稍后要记录的条目。