Archive: Adding installation option

Adding installation option
In my NSIS installer i want to add a option to install sql server.Installing it is a user choice.So i want to provide a checkbox or something which is appropriate.If he selects it then setup will continue with sql install followed by my other files. If not then only my s/w files will be instlled.How can i do it? Example will be helpful to me.

Put your regular stuff in one section, and the SQL Server stuff in another section, and then add a COMPONENTS page to your installer.

You can find an example in your NSIS\Examples\example2.nsi