page custom steals header image :(
!define MUI_HEADERIMAGE_BITMAP "header.bmp"
!define MUI_CUSTOMFUNCTION_GUIINIT bgimage
!define MUI_COMPONENTSPAGE_SMALLDESC
;!define MUI_COMPONENTSPAGE
!define MUI_WELCOMEPAGE_TITLE_3LINES
!insertmacro MUI_PAGE_WELCOME
page custom password passcheck
!define MUI_LICENSEPAGE_CHECKBOX
!insertmacro MUI_PAGE_LICENSE Lizenz.txt
Page license "" "showLicense1" "leaveLicense"
page custom shows with IO a password request.
if i comment out my page all is fine.
Function password
; check password for setup
Push $R0
Push $R1
Push $R2
Push $R3
; 1st read out pid from system
; now calculate the serial
Pop $R0
Pop $R1
Pop $R2
Pop $R3
!insertmacro MUI_HEADER_TEXT "bla" "blubb"
!insertmacro MUI_INSTALLOPTIONS_WRITE "menu00.ini" "Field 2" "State" $PID
!insertmacro MUI_INSTALLOPTIONS_INITDIALOG "menu00.ini"
Pop $HWND
!insertmacro MUI_INSTALLOPTIONS_SHOW
FunctionEnd
Function passcheck
; check for valid serial
StrCmp $SERIAL $SERIAL2 passcheck1
MessageBox MB_OK|MB_ICONEXCLAMATION "*** error ***"
Abort
passcheck1: ;serial valid
FunctionEnd
functions are working fine.
any other page custom is only a non visible function (no IO)
where's the fault ?
pic
http://people.freenet.de/brummelchen...ader_image.gif