Archive: Creating a custom components page depending on Installation Methods


Creating a custom components page depending on Installation Methods
Hi,

I'm new for this NSIS development. In my installer I have added a custom page to select Installation Method out of two methods called "Quick Installation" and "Custom Installation". If user selects "Quick" then Components page should be skipped and if he selects "Custom" Components page should come next. Since Pages cannot be called inside a function I tried to create a .ini file and add it. But still I'm confused. Can any one tell me how to achieve this. Can I call a method to create a Page inside IF condition?


In the custom page leave function, store the chosen option in a variable. Then in the components page pre function, call 'abort' if the variable was set to quick install. Calling abort in a pre function will skip the page.


It worked... Thanks a lot pal.