Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NSIS: How to press "Next" button automatically when MUI_PAGE_INSTFILES is complete

I'm making an installer with NSIS and have the following pages:

!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH

On each page must press the "Next" button.

How to press "Next" button automatically when installation is complete in MUI_PAGE_INSTFILES?

like image 554
Leonardo Gregianin Avatar asked Oct 21 '25 05:10

Leonardo Gregianin


1 Answers

Have you defined MUI_FINISHPAGE_NOAUTOCLOSE in your script?

From the manual:

MUI_FINISHPAGE_NOAUTOCLOSE

Do not automatically jump to the finish page, to allow the user to check the install log.

like image 131
idleberg Avatar answered Oct 24 '25 00:10

idleberg



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!