Skip to content
⌘ NSIS Forum Archive

Switch between different Installations in Components Page

5 posts

regger#

Switch between different Installations in Components Page

I want the user to select between two possibilities (for example 'Server Version', 'Client Version') but only to allow one Selection. (maybe Radiobuttons)

After that i want to install different files depending on the user's choice. Whats the easiest way to make that. Maybe there is another possibility than to do this in ComponentsPage.
deena.w#
Replace the installation type selection combo-box with radio buttons

Hi Stu,
I am insterested in the method to replace the installation type selection combo-box with radio buttons like "full" and "custom". I have found the sections.nsh file but I still don't know how to modify the code. Can you give more details? Many thanks inadvance!
Animaether#
I'm not stu, but...

The RadioButtons in Sections.nsh that Afrow is referring to does not actually place radiobuttons on the components selection page. Instead, it demonstrates how you might let component selections act as radiobuttons (for example, if you have 3 component Sections, only allow 1 to be selected.. automatically de-selecting the other 2).

If you want actual visible Radio Buttons, you'd have to create a separate page (which can then be used to change the InstType, or to modify Section selections/behavior directly).