简体   繁体   English

在nsis中自定义进度栏

[英]Customize the progress bar in nsis

I am new to NSIS scripting and I am trying to get around the scripting tool. 我是NSIS脚本的新手,并且正设法避开脚本工具。

I created a sample installer, using MUI2. 我使用MUI2创建了一个示例安装程序。

I have used MUI_INSTFILES_PROGRESSBAR smooth Command. 我使用了MUI_INSTFILES_PROGRESSBAR smooth命令。 But that doesn't have any effect. 但这没有任何效果。 Can any one help me out? 谁能帮我吗? Below snippet is the code I created. 片段下方是我创建的代码。

!define MUI_INSTALLCOLORS "C0BCEB C0BCEB"
!define MUI_INSTFILESPAGE_PROGRESSBAR smooth
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_COMPONENTS
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_LANGUAGE "English"

The custom progressbar style and colors only work on <= Win2000 and maybe when Visual Styles are disabled on later systems. 自定义的进度条样式和颜色仅在<= Win2000上有效,并且可能在以后的系统上禁用了“视觉样式”时也是如此。 Google PBS_SMOOTH for more information... Google PBS_SMOOTH了解更多信息...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM