Skip to content
⌘ NSIS Forum Archive

Is there a way to show the finish page in a silent install?

9 posts

Comm@nder21#
don't know of any.

maybe:
!include WinMessages.nsh
ShowWindow $HWNDPARENT ${SW_SHOW} 

in the _SHOW customfunction of the finish page?
goldy1064#
jackkoho,

If this is still in relation to your wrapped installer, why not just do an ExecWait on the wrapped installer, while hiding the wrapper and then, after the wrapped installer finishes, show the wrapper installer again that will now go to the finish page?
jackkoho#
I am playing around with that right now but was hoping I could get the first option to work. I feel it would be more elegant and look better.
theblazingangel#
you could catch silent mode with .OnInit (IfSilent), and change it back to gui mode (SetSilent) while also setting a custom variable to note the fact the user requested silent mode. you can then use a PRE function for each page in your installer, which, if the variable is set to reflect silent mode, runs the abort command to prevent pages from displaying, that is until the finish page which doesn't do it!

alternatively you could always just display a message box to inform the user it completed (only when in silent mode - IfSilent).