Archive: custom pages


custom pages
Hi,

I did an install with 2 custom pages. One for selecting the installation mode (local or server) and if the server mode is selected I show a second custom page in which you should enter IP address of a MySQL server with credentials info. All worked fine until I decided to change my first custom page adding a third mode in it to open a third custom page. Now when I select an install mode the setup "crash" without any information, no more access to the custom page 2 and 3.
What's wrong.

I attach the nsi file.

Thanks
Max


You may want to recheck controls' actions/notifications.


rechecking
What do you mean exactly?
It is about to check the controls in my custom pages?
Is it possible to set as many as we want custom pages?


checked
I checked my app but when I select one radio button to show one of my two custom pages I can see the header text and after that the setup close. I can not see the textbox I created in my ini file.
What can cause this?


You can't do what you are doing. You're trying to show an InstallOptions dialog in the leave function of your first custom page. You can only show InstallOptions dialogs in the show functions of custom pages:
Page Custom ShowFunc LeaveFunc.

What you want to do is read the value of your first INI file in the show function of your second custom page and call Abort if necessary to skip it.

Stu


GREAAAAAAAAAT
:up:
Wonderfull, just few words and the "world" rules better.
How great you are Stuart.
I solve my problem with your tremendous help.
Perhaps I missed to read indeep the help but it could be good to add this information on nsis website. When my installer will be smart enough I will put it on the nsis website. don't you?

My very best regards to you, Max