Skip to content
⌘ NSIS Forum Archive

Checkboxes on finish page hided

2 posts

Gamega#

Checkboxes on finish page hided

Good morning,

i have a problem with the customization of my finish page. There should be two checkboxes: "Register as Service" and "Start Service". So i defined a customfunction:

!define MUI_PAGE_CUSTOMFUNCTION_SHOW ShowCheckboxes
!define MUI_PAGE_CUSTOMFUNCTION_LEAVE FinishPageLeave
!insertmacro MUI_PAGE_FINISH

Function ShowCheckboxes

${NSD_CreateCheckbox} 120u 110u 100% 10u "Register as Service"
Pop $RegisterCheckbox
SetCtlColors $RegisterCheckbox "" "ffffff"

${NSD_CreateCheckbox} 120u 130u 100% 10u "Start Service"
Pop $StartCheckbox
SetCtlColors $StartCheckbox "" "ffffff"

FunctionEnd
My problem is, that both checkboxes are there, but they are only in the background behind a white space. When the finish page appears, i cannot see them. But as soon as i move the mouse on the right side of the finish page in the line of the checkbox, the checkbox appears. To check/uncheck the checkbox is also only possible near the right boarder of the line, not with clicking directly on it.

It seems that there is something in front of my checkboxes with a higher priority. How can i fix this? Thank you for helping!
Anders#
There are already some controls there, you can use them or hide/resize the top label box.

!define MUI_FINISHPAGE_RUN ""
!define MUI_FINISHPAGE_RUN_FUNCTION whatever
!define MUI_FINISHPAGE_RUN_TEXT "Register as Service"
!define MUI_FINISHPAGE_SHOWREADME ""
!define MUI_FINISHPAGE_SHOWREADME_TEXT "Start Service"
!define MUI_FINISHPAGE_SHOWREADME_FUNCTION whatever2
!insertmacro MUI_PAGE_FINISH