我想在安装(FilenameLabel
)时隐藏某些文件名(不是全部)。
我看到了Hide the file names from the Inno Setup progress page。这可能吗?
答案 0 :(得分:0)
您有一些选择:
唯一可靠的解决方案是使用[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?