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

时间:2019-02-25 16:17:32

标签: nsis

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

enter image description here

1 个答案:

答案 0 :(得分: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