Archive: installer final page issue


installer final page issue
Hi all,

Heres the thing i am trying with my installer. Say i want to remove the finish page (not show it to the user) after the extraction of files and just after extraction, display the readme.txt. How do i do that?
I tried something like this (commenting/uncommenting lines at random) but no luck:


; Finish page

!define MUI_FINISHPAGE_RUN "$INSTDIR\README.txt"

;!define MUI_FINISHPAGE_SHOWREADME_CHECKED
;!insertmacro MUI_PAGE_FINISH

What do i need to do?
In case its not possible, how about keeping the finish page but making "show readme" checked and read-only?

TIA :)

There is a function called .onInstSuccess". You could call

Exec "notepad $instdir\readme.txt"

in this function