【发布时间】:2020-03-27 15:02:35
【问题描述】:
我想在安装时隐藏某些文件名(不是全部) (FilenameLabel)。
我看到了这个Hide the file names from the Inno Setup progress page。这可能吗?
【问题讨论】:
标签: inno-setup
我想在安装时隐藏某些文件名(不是全部) (FilenameLabel)。
我看到了这个Hide the file names from the Inno Setup progress page。这可能吗?
【问题讨论】:
标签: inno-setup
你有一些选择:
唯一确定的解决方案是避免安装您不想显示的文件,使用[Files] 部分。而是使用代码安装它们。使用ExtractTemporaryFile 和FileCopy 函数。
实现示例见:
或者隐藏您不想显示的文件,来自FilenameLabel 中的CurInstallProgressChanged。虽然这仍然可能会短暂地显示名称。
或者隐藏实际标签并创建一个自定义标签,如Hide the file names from the Inno Setup progress page 所示。在CurInstallProgressChanged 中,复制文件名,要显示从隐藏到自定义标签。
见Inno Setup - How to create a personalized FilenameLabel with the names I want?
【讨论】: