Old 27th May 2018, 20:42   #1
riverofwind
Junior Member
 
Join Date: Apr 2018
Posts: 4
NSIS Modern UI Uninstaller Welcome Page Text

The title says it all, how do I set the text for the uninstaller welcome page in a modern UI installer/uninstaller? No luck with this:

!define MUI_UNWELCOMEPAGE_TEXT "awef"
!insertmacro MUI_UNPAGE_WELCOME

Thanks!
riverofwind is offline   Reply With Quote
Old 27th May 2018, 21:55   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,867
There is no such thing as MUI_UNWELCOMEPAGE_TEXT, just use MUI_WELCOMEPAGE_TEXT.

From the MUI docs:
Quote:
The same settings can be used for installer and uninstaller pages.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 27th May 2018, 23:58   #3
riverofwind
Junior Member
 
Join Date: Apr 2018
Posts: 4
So I assume I set the setting before the insertmacro for the relevant page, in which case order matters right?
riverofwind is offline   Reply With Quote
Old 28th May 2018, 00:35   #4
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,867
Yes, the order matters, define before insert.

Again, from the docs:

Quote:
Page settings apply to a single page and should be set before inserting a page macro. The same settings can be used for installer and uninstaller pages. You have to repeat the setting if you want it to apply to multiple pages.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 28th May 2018, 19:43   #5
riverofwind
Junior Member
 
Join Date: Apr 2018
Posts: 4
Thanks!
riverofwind is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump