Archive: Hide the default NEXT-button


Hide the default NEXT-button
Is it possible? I want to create an installer which presents to options after the welcome page:

1) New install
2) Update

So I need a page with two big buttons in the middle: "New Install" and "Update". And the default Next-button is useless for me. So, I want to get rid of it.

One more question: is it possible to write an installer which would present different sequences of pages dependent on whether "New Install" or "Update" button was clicked at the beginning. That is my goal.

I am a total novice to NSIS, so I would appreciate any help!:)

Best regards
Ewgenij


To disable the 'next' button (or back or cancel) see this thread

For the new install vs. update option, use a custom page. (Documentation included with NSIS.)

To get a different order of pages, there are probably several options, depending on what you need. I would start by looking at the docs for MUI or MUI2. You can use the MUI_PAGE_CUSTOMFUNCTION_PRE function page macro to skip over certain pages you don't want by calling ABORT in your pre function.

You should be able to find all you need by reading the NSIS docs, browsing the dev center, or searching this forum.