简体   繁体   English

如何在nsis中的标题中添加文本?

[英]How to add text to header in nsis?

I want to add header title in my welcome page page of my nsis installer like the image i had attached. 我想在我的nsis安装程序的欢迎页面中添加标题标题,就像我附加的图像一样。 I have already tried this below line but it is adding some line to title instead of header 我已经在下面的行中尝试过了,但是它在标题而非标题中添加了一些行

MUI_WELCOMEPAGE_TITLE '${WELCOME_TITLE}'

So is there any way to achieve this. 那么有什么方法可以实现这一目标。 在此处输入图片说明

For a normal Modern UI page you would do: 对于普通的Modern UI页面,您可以执行以下操作:

!define MUI_PAGE_HEADER_TEXT foo
!define MUI_PAGE_HEADER_SUBTEXT bar
!insertmacro MUI_PAGE_COMPONENTS

It looks like you are not using the MUI that ships with NSIS but some 3rd party add-on, check their documentation if the code above does not work... 看来您未使用NSIS随附的MUI,但使用了某些第三方插件,如果上面的代码不起作用,请查看其文档...

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

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