Archive: Problem with pages


Problem with pages
Hy i've build me an reinstaller and he works very good exept one:


I would that he start when i exec the setup.exe and the uninstall.exe.

;Pages
!insertmacro MUI_PAGE_WELCOME
Page custom PageReinstall PageLeaveReinstall
!insertmacro MUI_PAGE_COMPONENTS
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES
!define MUI_FINISHPAGE_NOAUTOCLOSE
!define MUI_TEXT_FINISH_SHOWREADME "WICHTIG: Informationen zu den Erweiterungen"
!define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\Infos\Counter-Strike 1.6 Erweiterungen.txt"
!insertmacro MUI_PAGE_FINISH

; Uninstaller pages
Page custom PageReinstall PageLeaveReinstall
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES


My problem is, that the reinstaller always start after the mui_page_finish and not while start the uninstall.exe.

What must i make

Use:

Function un.onInit
ExecShell open "$INSTDIR\Infos\Counter-Strike 1.6 Erweiterungen.txt"
FunctionEnd


-Stu

Hy thank you for the answer:

I would show Page custom PageReinstall PageLeaveReinstall

also:

Page custom PageReinstall PageLeaveReinstall
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES

how can I do this?