Install Type with specifi choicxe and hidden selection: How?
Purpose of my Installeur
I'm preparing an installer with the ability to install an application available in 2 versions.
Principles to follow
For each version, I have dedicated files, and dedicated settings (different network card settings for example).
I'd like to offer the user to have 2 choices only:
- Install type Development
- Install type Operation_only
For each choice, I wrote 2 dedicated sections, for which file path, settings and targets are different.
So, I have 4 sections:
- Section Development_File
- Section Development_Settings
- Section Operation_File
- Section Operation_Settings
So, for Install type Development, the user should only see the sections Development_File
& Development_Settings, the 2 others should be hidden. He can select or unselect 0, 1 or both of these 2 components. Based on the same idea, if he chooses Install type Operation_only, the 2 Development related sections will be hidden and he will be able to choose among the 2 Operation sections available only.
I spent quite some time now, reading the NSIS documentations, examples with install type, or using radio butrtons with slection/unselection macros, but I can't fin a way to properly do this. Either I see all 4 sections, or I have no selection options available... I tried also with SectionIn, but I can't figure out how it works...
So, if one of you have some remarks, comments and especially some help to provide me, I would be very happy!
Thanks in advance,