Archive: Forcing to finish page during installation


Forcing to finish page during installation
Hi

My installation have following sequence of pages

1. !insertmacro MUI_PAGE_WELCOME
2. !insertmacro MUI_PAGE_LICENSE "${xyz}\License.rtf"
3. Page custom DirectoryFunction
4. !insertmacro MUI_PAGE_INSTFILES
5. !insertmacro MUI_PAGE_FINISH

Now after installation is completed I need to press next to move to page number 5. Is there any way to move to the finish page automatically when installation is complete.

My uninstaller have following sequence of pages

!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES
!insertmacro MUI_UNPAGE_FINISH

After uninstallation is completed then uninstaller automatically moves to finish page.

Any help


Use this command right were you have the "Name" and "OutFile" commands:

AutoCloseWindow True

That should do the trick. With the MUI sometimes you need this, and sometimes you don't, I have not figured out the deal yet, but its easy to add if your not getting to the finish page automatically.