Skip to content
⌘ NSIS Forum Archive

messagebox::show strangenes

7 posts

grahama#

messagebox::show strangenes

the second string in MSIBanner seems to be lodging itself into an extra [and unwanted button] in the messageBox::show plugin 🙁
if I use:
MSIBANNER::Show /NOUNLOAD "Howdy" "BOY"
grahama#
the messageBox plugin will put 'Boy' as the last button in the list
if I put "" in the MSIBanner string, I get the button 'No'
MSIBANNER:😁estroy does not fix the problem🙁
anyone found a workaround?
DrO#
you need to make sure the stack is clear otherwise it'll munch whatever params it can find. i really should try and update that plugin one day (if i can find the source for it :/ ) or just remake it

-daz
scully13#
I've asked this question before in another thread and never got an answer so how do you clear the stack? I never figured it out and ended up going back to the v0.95 beta 1 version of the messagebox plugin. It let's you tell it how many buttons to show so that problem went away.
grahama#
wow, that was easy
just added a POP $R1 before the messagebox::show statement and the problem vanished.....