我在 Inno Setup 的 [Files] 部分需要类似 "skipifdoesntexist" 的东西

I need something like "skipifdoesntexist" within [Files] section in Inno Setup

我在 [Files] 部分需要类似 "skipifdoesntexist" 的东西,这样如果(外部)文件根本不存在 - 跳过它而不显示错误消息。

怎么做?谢谢!

有一个 skipifsourcedoesntexist flag:

This flag instructs the compiler -- or Setup, if the external flag is also used -- to silently skip over the entry if the source file does not exist, instead of displaying an error message.