I would like to instruct Inno Setup to install a certain external file only if does exist.
Like so:
Source: \"d:\\sources\\SomeDLL.dll\"; DestDir: {a
Use the 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.
external