使用NSIS安装软件时如何设置进度条文本?

问题描述 投票:0回答:1

安装软件时,我看到每个dll或可执行文件名称的进度。我怎样才能隐藏它(例如,在下面的屏幕截图中显示Extract res.dll 100%)并显示我自己的进度文本(例如,状态:安装EMR应用程序)

enter image description here

nsis
1个回答
0
投票

SetDetailsPrint控制指令是否显示在标签和/或列表框中。

Section
DetailsPrint "Start"
SetDetailsPrint listonly
DetailsPrint "Hello"
File 1234.txt ; List only
Sleep 3333
SetDetailsPrint none
DetailsPrint "World
File 5678.txt ; "Hidden"
Sleep 3333
SetDetailsPrint both
DetailsPrint "Finished"
SectionEnd
© www.soinside.com 2019 - 2024. All rights reserved.