仅在存在外部文件时安装 [英] Install only if external file exists
本文介绍了仅在存在外部文件时安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想指示Inno Setup仅在存在某个外部文件时安装该文件.
I would like to instruct Inno Setup to install a certain external file only if does exist.
像这样:
Source: "d:\sources\SomeDLL.dll"; DestDir: {app}; \
Flags: external regserver uninsneveruninstall ignoreversion
但是,我没有找到一个标志,如果d:\sources\SomeDLL.dll
不存在,该标志会指示Inno Setup跳过此行/文件.
However, I did not find a flag that would instruct Inno Setup to skip this line / file if d:\sources\SomeDLL.dll
does not exist.
这可能吗?
谢谢!
推荐答案
查看全文