Archive: simple questions


simple questions
  Hi all,
I have a couple of questions:
a) These are my page settings:

   Page custom BlaBla

!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH
>
When the inst files finished its tasks i'd like to see the details, but it's not done (if the installer sucessfully performs the inst part) and jump directly to the finish page.
Probably i've missed something important (AutoCloseWindow if has relevence is set to false).


b) suppose you have a RadioButton. I want to change its state dinamically. i.e.: i set the notify flag and inside a funtion ...


"pippo.ini" "Settings" "State"

IntCmp $0 0 next
IntCmp$0 3 enableThis
IntCmp$0 2 disableThis
Abort
enableThis:
GetDlgItem $DLGITEM $HWND 1205
EnableWindow $DLGITEM 1
GetDlgItem $DLGITEM $HWND 1203
>.....
What is the code to change the state?

Thanks a lot!

a)

  !define MUI_INSTFILESPAGE_FINISHHEADER_TEXT "text"
!define MUI_INSTFILESPAGE_FINISHHEADER_SUBTEXT "text"
!insertmacro MUI_PAGE_INSTFILES
!define MUI_FINISHPAGE_NOAUTOCLOSE
!insertmacro MUI_PAGE_FINISH
b)
!define BM_SETCHECK 0x00F1

!define BST_UNCHECKED 0x0000
!define BST_CHECKED 0x0001
!define BST_INDETERMINATE 0x0002

SendMessage $DLGITEM ${BM_SETCHECK} ${BST_CHECKED} ""