如何修改组件框左侧文本的MUI_UNPAGE_COMPONENTS中的文本?

时间:2016-05-09 14:32:24

标签: installer nsis

我遇到的问题是“安装和卸载组件”页面都显示标题“选择要安装的组件”我希望在卸载时这是“选择要卸载的组件”。不幸的是,我还没有找到如何通过阅读MUI文档或XPUI上的任何内容。我希望这是我忽略的事情,这可以做到。任何帮助将不胜感激。

下面的代码是一个非常接近我用于安装和卸载页面的示例。正在使用XPUI,AFAIK MUI命令在编译时也被转换为XPUI。

示例代码

; Welcome page
!insertmacro MUI_PAGE_WELCOME
; License page
!insertmacro MUI_PAGE_LICENSE "License"

;show the component page
!define MUI_COMPONENTSPAGE_NODESC ;Hide the description box
!insertmacro MUI_PAGE_COMPONENTS

; Instfiles page
!insertmacro MUI_PAGE_INSTFILES

;Confirm uninstall page
!insertmacro MUI_UNPAGE_CONFIRM

;Allow user to select components to uninstall
;This is where I would like to change the text of the page ------------------
!insertmacro MUI_UNPAGE_COMPONENTS

;Uninstall page
!insertmacro MUI_UNPAGE_INSTFILES

0 个答案:

没有答案