View Single Post
Old 30th August 2006, 13:51   #84
lilisbbc
Junior Member
 
Join Date: Jun 2006
Posts: 6
Hi,

I have just tested the messagebox plugin v.098 beta 3 and I found another small bug inside.
I am using Modern UI, and just after the Welcome page, and before the License page agreement shows, I insert a function to display a simple messagebox with a specific title and only a "OK" button (with the plugin).
When clicking, on "Next" (in the Welcome page), then this pops up the messagebox correctly. Then, when I click back (to return to the welcome page), and then "Next" again, this pops up the same messagebox with my "OK" button but also an additional "1" button !!!
Repeating the process another time, will display the messagebox with "2" if I have clicked on "1", etc...

Below is the essential part of the code:

!insertmacro MUI_PAGE_WELCOME
!define MUI_PAGE_CUSTOMFUNCTION_SHOW ShowLicenseInfo
!insertmacro MUI_PAGE_LICENSE "myLicense.txt"
.
.
.
Function ShowLicenseInfo
messagebox::show MB_TOPMOST "my specific title" \
"" "\
PLEASE NOTE: this is some additional information" \
IDOK
FunctionEnd

Is there something I have done wrong ? Or is it a problem from the plugin ?
Attached Images
File Type: jpg bugmsgbox.jpg (19.6 KB, 437 views)
lilisbbc is offline