Archive: MUI FINISHPAGE with errors


MUI FINISHPAGE with errors
I thought that surely this would be in the FAQ or easy to find via search, but I've had no luck with either.

I have a very simple installer. The program actually runs from the server, so all the installer does is "install" shortcuts. It checks to make sure the server exe is there first, and if it's not, displays an error. But then it proceeds to the standard finish page that says "This program was successfully installed." How do I point it to a different finish page saying that nothing was installed? Do I really have to make a custom page for this? Or is there a way to change the finishpage text after calling the macro?

Thanks.


you can change the various finish page texts (just see the MUI documentation), but making a custom page gives you a lot more flexibility


Yes, I know I can change the text, but you can't do it conditionally, can you? Because the text has to be defined before the page. Right?

I'm noticing now that there's an abort page. How do I call that instead of the finish page?


By calling Abort.

See chapter 4.9.4.1 from the NSIS manual.


Ah... Sorry, I was looking for a finish page, but with an error-type message. But this works just fine.

Thanks for helping the noob.