install button instead of finish button
i sure hope this is the last question on nsis...
i had some problems before with the bbcolor of labels..to solve it i did a compromise .. i set the window backgorund color as the one from the labels. and before i could say "yeeey" something very interesting came up. instead of the finish button i had an "install" button that acted as a finish one..cause it terminates the installer as it is supposed to do . but i have no idea how this can happen.
this is my function:
Function SetControlColours
; Give labels a transparent background
ReadINIStr "$0" "$PLUGINSDIR\ioSpecial.ini" "Field 6" "HWND"
;GetDlgItem $0 $HWNDPARENT 1205
SetCtlColors "$0" "000000" "FFFFFF"
ReadINIStr "$0" "$PLUGINSDIR\ioSpecial.ini" "Field 7" "HWND"
;GetDlgItem $0 $HWNDPARENT 1206
SetCtlColors "$0" "000000" "FFFFFF"
ReadINIStr "$0" "$PLUGINSDIR\ioSpecial.ini" "Field 8" "HWND"
;GetDlgItem $0 $HWNDPARENT 1207
SetCtlColors "$0" "000000" "FFFFFF"
ReadINIStr "$0" "$PLUGINSDIR\ioSpecial.ini" "Field 9" "HWND"
;GetDlgItem $0 $HWNDPARENT 1208
SetCtlColors "$0" "000000" "FFFFFF"
; Reload window
!insertmacro MUI_INSTALLOPTIONS_INITDIALOG "ioSpecial.ini"
Pop $0 ;HWND
GetDlgItem $0 $HWNDPARENT 1200
SetCtlColors $0 "FFFFFF" Transparent
ShowWindow $0 ${SW_HIDE}
ShowWindow $0 ${SW_SHOW}
FunctionEnd
the colors for the background for the labels,..of course that it does not work... but i cannot figure it how . from where did the "install" button appeared :O