SteMMo
27th April 2009, 08:26
Hi all,
i'm trying to add a custom page to enter a verification code.
I added the custom page as:
# Installer pages
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_LICENSE Licenza.txt
Page custom constr_AskCode validate_AskCode "Codice" /ENABLECANCEL
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES
My problems are:
- how can i change the icon on the upper-right corner of each page?
- when my page appairs, the upper side of the page (with the white background) does not change. How can i insert my text there?
- i'm not able to insert and read the inserted text.. i tryed with
ReadIniStr $0 askcode.ini "Field 2" "State"
after the 'InstallOptions::dialog $R0' call but $0 is alwayes empty.
- is it correct to check the typed text after the InstallOptions:dialog call?
- How can i stay in the same dialog if the code is not correct?
Thanks a lot !!
i'm trying to add a custom page to enter a verification code.
I added the custom page as:
# Installer pages
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_LICENSE Licenza.txt
Page custom constr_AskCode validate_AskCode "Codice" /ENABLECANCEL
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES
My problems are:
- how can i change the icon on the upper-right corner of each page?
- when my page appairs, the upper side of the page (with the white background) does not change. How can i insert my text there?
- i'm not able to insert and read the inserted text.. i tryed with
ReadIniStr $0 askcode.ini "Field 2" "State"
after the 'InstallOptions::dialog $R0' call but $0 is alwayes empty.
- is it correct to check the typed text after the InstallOptions:dialog call?
- How can i stay in the same dialog if the code is not correct?
Thanks a lot !!